How to use the anion gap calculator
- Enter sodium, chloride and bicarbonate (total CO₂) from the same sample, in mmol/L.
- Add potassium only if your laboratory's anion gap includes it, and albumin (g/dL or g/L) for the corrected gap.
- Read the gap, the albumin-corrected gap and, when the gap is raised, the delta ratio, then compare them with your laboratory's reference interval.
Worked example
Sodium 140, chloride 100 and bicarbonate 12 mmol/L give an anion gap of 140 − (100 + 12) = 28 mmol/L. With albumin 2.5 g/dL the corrected gap is 28 + 2.5 × (4.0 − 2.5) = 31.8 mmol/L: the low albumin was hiding about 4 mmol/L of the rise. The delta ratio is (31.75 − 12) ÷ (24 − 12) = 1.65.
What the anion gap is used for
Blood is electrically neutral, so the measured cations (sodium, sometimes potassium) and anions (chloride, bicarbonate) differ by the unmeasured anions: mostly albumin, plus phosphate, sulphate and organic acids. In a metabolic acidosis the gap helps separate acidosis from added acids, which raise the gap, from loss of bicarbonate or gain of chloride, which leave it unchanged. The result is one piece of information to read with the history, the blood gas and other tests.
Formulas
- Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻); with potassium, Na⁺ + K⁺ − (Cl⁻ + HCO₃⁻)
- Albumin-corrected gap = AG + 2.5 × (4.0 − albumin g/dL) (Figge J et al., Crit Care Med 1998;26:1807)
- Delta ratio = (AG − 12) ÷ (24 − HCO₃⁻) (Kraut JA, Madias NE, Clin J Am Soc Nephrol 2007;2:162)
For healthcare professionals: a calculation, not a diagnosis. Reference intervals vary by laboratory. Related: the blood gas calculator shows Winters' formula and the expected compensation for each acid–base process.