Anion Gap Calculator
Calculate the serum anion gap and delta-delta ratio for metabolic acidosis workup and acid-base disorder classification.
About this calculator
The anion gap approximates the unmeasured anions in serum -- proteins, sulfates, phosphates, and organic acids -- by subtracting the routinely measured negative ions from the routinely measured positive ion: AG = Na+ - (Cl- + HCO3-). A normal gap is roughly 8-12 mEq/L; values above that suggest an unmeasured acid has accumulated (high anion gap metabolic acidosis, remembered by mnemonics like MUDPILES for methanol, uremia, diabetic ketoacidosis, and similar causes), while a normal-gap acidosis instead points toward bicarbonate loss with compensatory chloride retention. Because albumin is the single largest unmeasured anion, low albumin artificially lowers the gap and can mask a real high-gap acidosis -- the albumin-corrected anion gap adds back about 2.5 mEq/L for every 1 g/dL the albumin sits below its own normal value of 4.0 g/dL, a correction factor Figge and colleagues derived from measurements in critically ill patients and published in Critical Care Medicine in 1998.
The delta-delta ratio compares how far the anion gap has risen above normal to how far bicarbonate has fallen below normal; a ratio near 1 suggests a pure high-gap acidosis, while a ratio well above or below 1 suggests a second, mixed acid-base process is also present. None of these numbers replace a full acid-base workup with arterial blood gas and clinical context -- they narrow the differential, not close it.
Medical Disclaimer
This calculator is for informational and educational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider before making decisions about your health. Never disregard professional medical advice or delay seeking it because of results from this tool.
Inputs
Normal Na⁺: 136–145 mEq/L; hyponatremia: <136; hypernatremia: >145 mEq/L
Normal Cl⁻: 98–106 mEq/L; hyperchloremia >106 mEq/L may indicate normal-AG acidosis
Normal HCO₃⁻: 22–29 mEq/L; metabolic acidosis: <22; metabolic alkalosis: >29 mEq/L
Normal albumin: 3.5–5.0 g/dL; corrected AG = measured AG + 2.5 × (4.0 − albumin)
Results
Anion Gap
12mEq/L
Corrected AG (Albumin)
12mEq/L
Figures current as of 1998. Source: Figge J, Jabor A, Kazda A, Fencl V. Anion gap and hypoalbuminemia. Crit Care Med. 1998;26(11):1807-1810.
How to Use This Calculator
- Enter serum sodium (Na⁺), chloride (Cl⁻), and bicarbonate (HCO₃⁻) in mEq/L.
- Set albumin level (g/dL) for albumin-corrected anion gap calculation.
- Review Anion Gap and corrected anion gap — normal is 8–12 mEq/L (or 3–11 with albumin correction).
- Elevated AG > 12 triggers MUDPILES differential (methanol, uremia, DKA, etc.).
How the result changes with Sodium (Na⁺)
| Sodium (Na⁺) | Anion Gap | Corrected AG (Albumin) |
|---|---|---|
| 100 | -28mEq/L | -28mEq/L |
| 105 | -23mEq/L | -23mEq/L |
| 200 | 72mEq/L | 72mEq/L |
What each input means
- Sodium (Na⁺)
- Serum sodium concentration in mEq/L. AG = Na⁺ − (Cl⁻ + HCO₃⁻). Normal range 136–145 mEq/L.
- Chloride (Cl⁻)
- Serum chloride concentration in mEq/L. Normal range 98–106 mEq/L. Hyperchloremia (>106) can be seen with normal anion gap metabolic acidosis.
- Bicarbonate (HCO₃⁻)
- Serum bicarbonate (CO₂) concentration in mEq/L. Normal range 22–29 mEq/L. Low HCO₃⁻ (<22) indicates metabolic acidosis.
- Albumin
- Serum albumin for corrected anion gap calculation. Hypoalbuminemia reduces the AG by ~2.5 mEq/L per 1 g/dL fall in albumin. Normal range 3.5–5.0 g/dL.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersSodium (Na⁺) = 140, Chloride (Cl⁻) = 104, Bicarbonate (HCO₃⁻) = 24, Albumin = 4 = 4 input(s) provided
- Calculate Anion GapAnion Gap12 = 12
- Calculate Corrected AGCorrected AG12 = 12
- Calculate Delta-Delta RatioDelta-Delta Ratio0 = 0
- Calculate ClassificationClassification1 = 1
Figures and sources
- Albumin-corrected anion gap correction factor (2.5 mEq/L per 1 g/dL albumin) (1998) — Figge J, Jabor A, Kazda A, Fencl V. Anion gap and hypoalbuminemia. Crit Care Med. 1998;26(11):1807-1810.
Engine last updated . Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does sodium move the anion gap more than chloride or bicarbonate do?
All three inputs carry the same weight of 1 in the formula (AG = Na+ - Cl- - HCO3-), but sodium's normal reference value is roughly 30-40% higher than chloride's and several times higher than bicarbonate's, so an equivalent percentage swing in sodium represents a larger absolute mEq/L change and moves the calculated gap the most in practice, even though no single term is mathematically weighted more than another.
Why doesn't albumin change the plain anion gap, only the corrected version?
The plain anion gap formula (Na+ minus chloride plus bicarbonate) has no albumin term at all -- albumin only enters through the separate correction, which adds roughly 2.5 mEq/L for every 1 g/dL the measured albumin sits below the normal reference of 4.0 g/dL. That correction exists because albumin is the largest unmeasured anion in serum, so a low albumin from malnutrition or critical illness can mask a genuinely elevated gap if only the uncorrected number is read.
What does a high anion gap actually suggest is happening?
A gap above the roughly 8-12 mEq/L normal range means some acid has accumulated in the blood that isn't being captured by the routine chloride and bicarbonate measurements -- common causes include diabetic ketoacidosis, lactic acidosis, uremia from kidney failure, and certain toxic ingestions like methanol or ethylene glycol. A normal gap with acidosis instead points toward bicarbonate being lost directly, such as from severe diarrhea or a renal tubular disorder.
What is the delta-delta ratio used for?
It compares the rise in the anion gap above its own normal value to the fall in bicarbonate below its own normal value. A ratio near 1 is consistent with a single, uncomplicated high-gap acidosis, while a ratio noticeably higher or lower than 1 suggests a second, coexisting acid-base disturbance -- such as a concurrent metabolic alkalosis or a mixed high- and normal-gap acidosis -- that the anion gap alone would not reveal.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Corrected Calcium Calculator
Calculate albumin-corrected serum calcium to account for hypoalbuminemia using the standard correction formula.
Clinical MedicineFractional Excretion of Sodium (FENa) Calculator
Calculate the fractional excretion of sodium to differentiate prerenal from intrinsic renal causes of acute kidney injury.
LaboratoryElectrolyte Panel Calculator
Calculate anion gap, BUN/creatinine ratio, and serum osmolality from a basic metabolic panel (BMP) for electrolyte assessment.
EndocrinologyDiabetic Ketoacidosis Calculator (Adult)
Adult DKA management: fluids, insulin, potassium gate, and electrolytes. Not for pediatric patients.
LaboratoryBlood Gas Interpreter Calculator
Interpret arterial blood gas (ABG) results to determine acid-base status, compensation level, and oxygenation adequacy.
More in Medical & Clinical.