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.
Anion gap = Na − (Cl + HCO3).
Use the Anion Gap Calculator
Serum Values
Required values in mEq/L (mmol/L)
Results
Enter values and click Calculate
Quick Reference
| 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) |
| 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.
Quick answer
Anion gap = Na − (Cl + HCO3). With current analyzers the normal range is about 8–12 mEq/L; above 12 points to a high-anion-gap metabolic acidosis. Low albumin hides a high gap, so add 2.5 for each 1 g/dL of albumin below 4.
Examples
| Na | Cl | HCO3 | Albumin | Anion gap |
|---|---|---|---|---|
| 140 | 104 | 24 | 4.0 | 12 (normal) |
| 135 | 98 | 10 | 4.0 | 27 (high), delta ratio 1.07 |
| 138 | 106 | 22 | 2.0 | 10, corrected 15 (high) |
Enter Na, Cl and HCO3.
Summary
The anion gap (AG = Na − Cl − HCO3) quantifies unmeasured serum anions and is the first step in metabolic acidosis workup. Normal AG is 8–12 mEq/L; values above 12 suggest acid accumulation (DKA, lactic acidosis, uremia, toxic ingestion). When albumin is low, the corrected AG adjusts for hypoalbuminemia. The delta gap (delta AG / delta HCO3) detects a superimposed metabolic alkalosis or normal-AG acidosis hiding behind a high-AG picture.
How it works
- Enter serum sodium (Na+), chloride (Cl−), and bicarbonate (HCO3−) in mEq/L.
- Optionally enter serum albumin (g/dL) to get the albumin-corrected anion gap.
- The calculator applies AG = Na − (Cl + HCO3) and classifies the result.
- If albumin is provided, corrected AG = AG + 2.5 × (4 − albumin).
- Delta gap = (AG − 12) / (24 − HCO3) detects mixed acid-base disorders.
- 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.