• Nephrology
  • Acid–base

Anion Gap Calculator

Calculates the serum anion gap, corrects it for a low albumin, and shows whether it is low, usual or high.

Sodium
mmol/L (mEq/L)

Serum sodium, from the same sample as the chloride and bicarbonate.

Chloride
mmol/L (mEq/L)
Bicarbonate
mmol/L (mEq/L)

Serum bicarbonate (total CO2) from the chemistry panel, not the value calculated on a blood gas.

Albumin(optional)

For the corrected gap. Leave empty to skip the correction.

  • Anion gap = sodium − (chloride + bicarbonate). Some laboratories add potassium; this calculator does not, so compare with a range that also leaves it out.
  • With albumin, the gap is also corrected by 2.5 mmol/L for every 1 g/dL below 4.0 g/dL (Figge 1998), and the result range is read from the corrected value.

Result

Enter the sodium, chloride and bicarbonate.

Sources

3 studies

After the result

High anion gap · Usual range with a low bicarbonate · Low anion gap

Avoid common errors

5 common errors to avoid

Formula

Sodium − (chloride + bicarbonate); add 2.5 for every 1 g/dL of albumin below 4.0.

Test cases

3 published cases, each also a test case

FAQ

7 questions and answers

Further reading

7 references with PubMed and DOI links

About this page

Contributed by Dr. Meng Zhao (MD · Former Neurosurgeon · Medical AI Researcher), from the original publications listed here. Last updated November 9, 2026. LinkedIn

The calculator code is tested against every worked example on this page before each release.

This calculator supports, and does not replace, clinical judgment. It is meant for healthcare professionals and is not medical advice for patients. Report an error through the contact page.