Anion Gap Calculator

Enter Na, Cl, HCO3 (and optionally albumin) to get the anion gap, albumin-corrected AG, and delta gap for mixed acid-base disorder detection.

Serum Values

Required values in mEq/L (mmol/L)

Results

Enter values and click Calculate

Quick Reference

Anion Gap Ranges
AG (mEq/L) Classification
< 8 Low — hypoalbuminemia, hypermagnesemia
8 – 12 Normal
12 – 20 Mildly elevated — early DKA, lactic acidosis
> 20 High — severe HAGMA (DKA, toxic ingestion)
Delta Gap Ratio
Ratio Interpretation
< 0.4 Pure normal-AG acidosis
0.4 – 1.0 Mixed high-AG + normal-AG acidosis
1.0 – 2.0 Pure high-AG metabolic acidosis
> 2.0 High-AG acidosis + metabolic alkalosis

For educational and reference use only. All clinical decisions require evaluation by a qualified healthcare professional.

Summary

Enter Na, Cl, HCO3 (and optionally albumin) to get the anion gap, albumin-corrected AG, and delta gap for mixed acid-base disorder detection.

How it works

  1. Enter serum sodium (Na+), chloride (Cl−), and bicarbonate (HCO3−) in mEq/L.
  2. Optionally enter serum albumin (g/dL) to get the albumin-corrected anion gap.
  3. The calculator applies AG = Na − (Cl + HCO3) and classifies the result.
  4. If albumin is provided, corrected AG = AG + 2.5 × (4 − albumin).
  5. Delta gap = (AG − 12) / (24 − HCO3) detects mixed acid-base disorders.
  6. Interpretation panels explain the clinical meaning of each result.

Use cases

  • Emergency workup of a patient with metabolic acidosis.
  • Distinguishing high-AG from normal-AG (hyperchloremic) metabolic acidosis.
  • Unmasking a coexisting metabolic alkalosis or normal-AG acidosis with the delta gap.
  • Adjusting for hypoalbuminemia in critically ill or cirrhotic patients.
  • Medical education and acid-base physiology study.
  • Serial monitoring of electrolyte trends in the ICU.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu