Anion Gap Calculator
Find the serum anion gap from sodium, chloride, and bicarbonate: AG = Na⁺ − (Cl⁻ + HCO3⁻), with the potassium-inclusive version alongside it.
- Anion gap
- 12 mEq/L
- Anion gap (with potassium)
- 16.5 mEq/L
- Where this falls
- Normal range (classic teaching cutoffs)
Where this falls
12 falls in the "Normal" range.
How it works
The anion gap approximates the unmeasured anions floating around in blood plasma (things like albumin, phosphate, and sulfate that routine labs don't measure directly) by subtracting the two main measured anions from the main measured cation: AG = Na⁺ − (Cl⁻ + HCO3⁻). It's mainly used to help narrow down the cause of a metabolic acidosis — a "high-anion-gap" pattern points toward one set of causes (like lactic acidosis, ketoacidosis, or toxic ingestions), while a "normal-anion-gap" acidosis points toward another (like diarrhea or renal tubular acidosis).
Potassium is also a measured cation, so some labs fold it in for a touch more precision: AG (with K⁺) = (Na⁺ + K⁺) − (Cl⁻ + HCO3⁻). This calculator reports both side by side; the plain, potassium-excluded version is the one most commonly cited against the 8-16 mEq/L classic teaching range used here.
That 8-16 mEq/L range reflects older flame-photometry lab methods. Many labs using newer ion-selective electrode methods report somewhat lower normal ranges (often closer to 3-11 mEq/L) — always check the reference range printed on the actual lab report rather than treating any single cutoff as universal.
FAQ
Why would I include potassium in the calculation?
Potassium is a measured cation just like sodium, so including it gives a slightly more complete picture of the measured-cation side of the gap — it just shifts the "normal" range up by roughly the potassium value itself (commonly cited as about 10-20 mEq/L instead of 8-16 mEq/L). Most everyday clinical use cites the potassium-excluded version, which is why it's the default here.
What does a low anion gap mean?
A low or negative anion gap is less common and is usually a sign of a lab or measurement issue (like an unusually low albumin, which lowers the unmeasured-anion contribution) rather than a distinct acid-base diagnosis on its own — it's generally interpreted alongside albumin and the full electrolyte panel rather than in isolation.
Related calculators
- BMI Calculator
- U.S. Navy Body Fat Calculator
- BMR Calculator (Mifflin-St Jeor)
- Running Pace Calculator
- Ideal Body Weight Calculator (Devine Formula)
- TDEE Calculator (Total Daily Energy Expenditure)
- One-Rep Max Calculator (Epley & Brzycki)
- Waist-to-Hip Ratio Calculator (WHO)
- Waist-to-Height Ratio Calculator (Ashwell)
- Target Heart Rate Calculator (Karvonen Method)
- Wilks Score Calculator (Powerlifting)
- VO2 Max Calculator (Cooper 12-Minute Run Test)
- Body Surface Area Calculator (Mosteller Formula)
- Lean Body Mass Calculator (Boer Formula)
- Macronutrient Split Calculator
- Pregnancy Due Date Calculator (Naegele's Rule)
- Body Adiposity Index (BAI) Calculator
- Katch-McArdle BMR Calculator (from Body Fat %)
- Body Frame Size Calculator (Wrist Method)
- A1C to Average Glucose (eAG) Calculator
- Fat-Free Mass Index (FFMI) Calculator
- Mean Arterial Pressure (MAP) Calculator
- Conicity Index Calculator
- Ponderal Index Calculator
- Race Time Predictor (Riegel's Formula)
- Body Roundness Index (BRI) Calculator
- BMR Calculator (Harris-Benedict)
- QTc Calculator (Corrected QT Interval)
- Corrected Calcium Calculator