Anion Gap Calculator
Calculate your serum anion gap from sodium, chloride, and bicarbonate, with an optional potassium term and an albumin correction. The anion gap is a routine electrolyte calculation used to help characterise acid-base disturbances. This is an informational reference using published formulas, not a diagnostic test.
The reference range depends on whether potassium is included and on your lab's method (modern analysers often run a little lower). A low albumin lowers the measured anion gap, which is why the albumin-corrected value is shown when albumin is entered. Discuss your electrolyte results with a healthcare provider.
What the Anion Gap Measures
The anion gap is a calculated number that estimates the difference between the positively charged electrolytes (cations) and negatively charged ones (anions) routinely measured in blood. Blood is electrically neutral overall, so the "gap" simply reflects the anions that a standard panel does not measure directly (such as albumin, phosphate, sulphate, and organic acids). Clinicians use it mainly to help sort out the cause of a metabolic acidosis: a raised gap points toward added acids, while a normal gap points elsewhere.
Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻)With potassium:
Anion gap = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻)Albumin correction:
Corrected AG = AG + 2.5 × (4.0 − albumin g/dL)All electrolytes in mmol/L (equivalent to mEq/L for these monovalent ions).
Published Reference Ranges
Reference ranges depend on the formula and the laboratory method. The bands below are commonly cited published ranges, not a diagnosis. Modern analysers measure chloride differently than older ones, so many labs now use a lower normal range.
| Anion gap variant | Commonly cited reference range |
|---|---|
Without potassium Na − (Cl + HCO₃) | Approximately 8 – 12 mmol/L (some modern methods 3 – 11) |
With potassium (Na + K) − (Cl + HCO₃) | Approximately 12 – 16 mmol/L |
| Albumin-corrected | Add ~2.5 per 1 g/dL that albumin is below 4.0 |
Important Caveats
- Low albumin masks a high gap. Albumin is the main unmeasured anion, so a low albumin lowers the apparent gap. Correcting for albumin can reveal a high gap that the raw number hides.
- Method dependence. The "normal" range is not universal; always read your gap against your own laboratory's reference interval.
- Context is everything. The anion gap is one piece of an acid-base assessment, never a diagnosis on its own.