Contact, if you are interested in this website/domain name/Sponsorship/Advertisement/Partnership

Looking for a medicine? Try the drug lookup. A condition or ICD-10 code? Use Conditions.

Kidney, labs & diabetes

Anion Gap Calculator

Calculate the serum anion gap from sodium, chloride and bicarbonate, with optional potassium and albumin correction.

mmol/L
mmol/L
mmol/L
mmol/L
g/dL

What the anion gap shows

Blood is electrically neutral. Routine tests measure the main positive ion (sodium) and the main negative ions (chloride and bicarbonate). The “gap” between them represents unmeasured negative ions, mostly albumin. When an acid such as lactate or ketones builds up, bicarbonate falls and the gap widens.

Formulas

  • AG = Na - (Cl + HCO3)
  • With potassium: AG = Na + K - (Cl + HCO3)
  • Albumin-corrected: AG + 2.5 × (4.0 - albumin in g/dL)

Modern analyzers give a usual range of roughly 4 to 12 mmol/L without potassium, but ranges differ between laboratories.

Interpreting a high gap

Common causes of a high anion gap metabolic acidosis include lactic acidosis, diabetic or alcoholic ketoacidosis, kidney failure and toxic ingestions (methanol, ethylene glycol, salicylates). A normal gap with acidosis points instead to bicarbonate loss, such as diarrhea or renal tubular acidosis.

Why correct for albumin?

Low albumin shrinks the gap and can hide a real acidosis. Correcting for albumin is especially important in critically ill patients.

Sources

  1. NCBI Bookshelf: search StatPearls on the anion gap
  2. PubMed: Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine

Formula checked against the sources above on November 11, 2026. Results are estimates for education and do not replace a clinician's judgement. Read our editorial policy or report a correction.