Anion Gap Calculator

Enter serum sodium, chloride, and bicarbonate to instantly calculate the anion gap and interpret acid-base status.

Serum Electrolyte Values

All values in mEq/L (mmol/L)

Results

Enter values and click Calculate

Anion Gap Reference

AG Range Classification Common Causes
< 8 mEq/L Low (rare) Hypoalbuminemia, hypermagnesemia, lithium toxicity
8 – 12 mEq/L Normal Normal acid-base balance; non-AG acidosis if HCO3 is low
12 – 20 mEq/L Mildly elevated Early DKA, mild lactic acidosis, early uremia
> 20 mEq/L High — significant Severe DKA, lactic acidosis, toxic ingestion (methanol, ethylene glycol), uremia

This tool is for educational and reference purposes only. Always consult a qualified clinician for medical decisions.

Summary

Enter serum sodium, chloride, and bicarbonate to instantly calculate the anion gap and interpret acid-base status.

How it works

  1. Enter serum sodium (Na+) in mEq/L.
  2. Enter serum chloride (Cl−) in mEq/L.
  3. Enter serum bicarbonate (HCO3−) in mEq/L.
  4. Optionally enter serum albumin for an albumin-corrected anion gap.
  5. The calculator applies AG = Na − (Cl + HCO3) and displays the result with clinical interpretation.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu