Anion Gap Calculator
The anion gap equals sodium minus (chloride + bicarbonate). A normal gap is roughly 8–12 mEq/L (or 12–16 if potassium is included). Corrected AG adds 2.5 mEq/L for every 1 g/dL that albumin is below 4.0.
Inputs
Include if your institution's AG formula uses K.
Enables albumin-corrected AG.
Note: Interpretation depends on the local reference range for your assay. When acidosis is suspected, always pair AG with an arterial or venous blood gas, and evaluate the delta-delta and osmolar gap when clinically indicated.
Formula
AG = Na − (Cl + HCO₃). If potassium is included: AG = (Na + K) − (Cl + HCO₃). Albumin-corrected AG = AG + 2.5 × (4.0 − albumin g/dL).
Worked example
Na 140, Cl 100, HCO₃ 20, albumin 2 g/dL → AG = 140 − (100 + 20) = 20. Corrected AG = 20 + 2.5 × (4.0 − 2.0) = 25 — a truly wide gap that a low albumin masked.
Benchmarks
| Corrected AG (mEq/L) | Interpretation |
|---|---|
| < 3 | Low — consider paraproteinemia, lithium/bromide toxicity, hypercalcemia |
| 3 – 11 (K excluded) | Normal — non-anion-gap metabolic acidosis if HCO₃ low |
| > 12 (K excluded) | High-anion-gap metabolic acidosis — MUDPILES / GOLDMARK differential |
Reference range varies by lab and assay. Newer ion-selective electrodes tend to produce lower reference gaps (3–11) than older assays.
Frequently asked
Do I include potassium in the anion gap?
Most US labs and textbooks exclude potassium (normal gap 8–12). Some institutions include it (normal 12–16). Be consistent within a single patient's trend.
Why correct for albumin?
Albumin is the dominant unmeasured anion. Hypoalbuminemia lowers the calculated gap by ~2.5 mEq/L for every 1 g/dL below 4.0, potentially masking a true high-AG acidosis in critically ill or malnourished patients.
What is the delta-delta?
Δ AG / Δ HCO₃ = (measured AG − 12) / (24 − measured HCO₃). Ratios <1 suggest a mixed high-gap and non-gap acidosis; >2 suggests a coexisting metabolic alkalosis or preexisting elevated HCO₃.
Is the anion gap useful in CKD?
Yes. CKD commonly causes a mildly elevated AG (uremia). New rapid rises suggest superimposed causes such as lactic acidosis, DKA, or toxic ingestion.
References
- 1.Emmett M. Anion-Gap Interpretation: The Old and the New. Nephron 2020;144(12):349–54. https://doi.org/10.1159/000508840
- 2.Figge J, Jabor A, Kazda A, Fencl V. Anion gap and hypoalbuminemia. Crit Care Med 1998;26(11):1807–10.
- 3.Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine. Clin J Am Soc Nephrol 2007;2(1):162–74.
This calculator is for general planning and educational purposes only and is not clinical, legal, billing, or financial advice. Confirm all reimbursement, regulatory, and financial figures with a qualified professional and your organization's current policies before acting on anything here.