Anion Gap Calculator
Anion Gap Calculator
Enter serum values to calculate the Anion Gap.
AG = Na⁺ – (Cl⁻ + HCO₃⁻)
Anion Gap Calculator – A Complete Guide for Clinicians & Students
The Anion Gap (AG) is a core tool to identify and classify metabolic acidosis. Calculated from routine electrolytes, it reveals unmeasured ions that hint at critical underlying processes. Our calculator above provides fast results with optional potassium inclusion, albumin correction, and instant interpretation with next steps.
What is the Anion Gap?
The Anion Gap represents the difference between measured cations and measured anions in serum, helping detect unmeasured ions associated with acidosis.
Standard (without potassium): AG = Na⁺ − (Cl⁻ + HCO₃⁻)
With potassium included: AG = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻)
Normal Reference Ranges
| Method | Normal Range (mmol/L) |
|---|---|
| Without Potassium | 8 – 12 |
| With Potassium | 12 – 16 |
Always check your laboratory’s reference interval before interpretation.
Why Calculate the Anion Gap?
- Differentiate anion gap metabolic acidosis (AGMA) from non–anion gap metabolic acidosis (NAGMA).
- Identify or exclude urgent causes (DKA, lactic acidosis, renal failure, toxins).
- Guide targeted diagnostics and management.
Key Features of Our Anion Gap Calculator
- Dual Modes: with or without K⁺.
- Albumin Correction:
Corrected AG = AG + 2.5 × (4.0 − albumin[g/dL]). - Color-coded Interpretation: Low, Normal, or High.
- Actionable Tips: “What to do next” for each category.
- Mobile-friendly UX and quick input flow.
How to Use the Calculator
- Enter Sodium (Na⁺), Chloride (Cl⁻), and Bicarbonate (HCO₃⁻) in mmol/L.
- (Optional) Include Potassium (K⁺).
- (Optional) Add Albumin to apply correction.
- Click Calculate to get AG, corrected AG (if applicable), and interpretation.
Step 1 — Enter values
Type your Na⁺, Cl⁻, and HCO₃⁻. Optionally include K⁺ and albumin for correction.
Tip: Typical example — Na 140, Cl 104, HCO₃ 24.
Step 2 — Calculate AG
AG = measured cations minus measured anions.
Step 3 — Read the result
Example: AG 14 mmol/L — Normal
Ref: 8–12 (no K⁺) · 12–16 (with K⁺). High AG → consider DKA, lactic acidosis, renal failure, toxins.
Interpreting Results
Low Low Anion Gap (rare): consider lab error, hypoalbuminemia, paraproteinemia. Action: repeat labs; check albumin and protein.
Normal Normal Anion Gap: often hyperchloremic (non-anion gap) metabolic acidosis. Action: assess for diarrhea, renal tubular acidosis, saline overload.
High High Anion Gap: suggests metabolic acidosis. Action: evaluate for life-threatening etiologies promptly (see mnemonic below).
Common Causes of High AG (MUDPILES)
- Methanol
- Uremia
- Diabetic ketoacidosis
- Propylene glycol
- Iron/Isoniazid
- Lactic acidosis
- Ethylene glycol
- Salicylates
FAQs (Quick Answers)
- Should I include potassium in AG calculation?
- Optional. Many labs report AG without K⁺. Including K⁺ slightly raises the normal range—be consistent with local convention.
- Why correct for albumin?
- Low albumin lowers the AG and can mask acidosis. Correcting AG improves diagnostic accuracy.
- Is this calculator suitable for pediatrics?
- Yes, but neonates/infants may have different reference ranges. Interpret with age-appropriate norms.
- Does this tool replace clinical judgment?
- No. Use alongside clinical evaluation and local protocols; repeat labs if results are discordant with the presentation.
References
- Kraut JA, Madias NE. Serum anion gap: Its uses and limitations in clinical medicine. Clin J Am Soc Nephrol. 2007;2(1):162–174. doi: 10.2215/CJN.03020906
- Emmett M, Narins RG. Clinical use of the anion gap. Medicine (Baltimore). 1977;56(1):38–54.
- Story DA. The meaning of the anion gap. Anaesth Intensive Care. 2004;32(5):575–578.
Educational use only. Not a substitute for professional medical advice.
