Anion Gap Calculator
Enter Na, Cl, and HCO₃ (optional K). See the gap from the classic bedside equations.
Equations
| Form | Equation |
|---|---|
| Without K | AG = Na − (Cl + HCO₃) |
| With K | AG = (Na + K) − (Cl + HCO₃) |
| Units | mmol/L (mEq/L for these monovalent ions) |
When to use it
On a basic metabolic panel, to detect a high-anion-gap acidosis or to follow a known one.
When not to use it
Without remembering the things that shift the gap — potassium, bromide, a paraprotein — and without correcting for albumin when it is abnormal.
Common questions
What is the anion gap?
It is the difference between routinely measured cations and anions. Emmett and Narins (Medicine 1977) reviewed its clinical use. The common form is AG = Na − (Cl + HCO₃).
With or without potassium?
Many labs omit K because it is small and relatively stable. Some texts use (Na + K) − (Cl + HCO₃). This page offers both; pick the form that matches the reference range you are using.
What is a normal anion gap?
Numerical “normal” depends on the analyzer (especially chloride and total CO₂ methods). This page does not invent a universal cut-off.
Is a high gap a diagnosis?
No. It is an arithmetic aid beside the clinical picture and full electrolyte panel.
How it's computed
Compute AG from the selected form. Do not apply a universal normal range — match your lab. Not medical advice.
Sources
- Emmett M, Narins RG. Clinical use of the anion gap. Medicine (Baltimore). 1977;56(1):38-54. PMID 401925 — bedside anion gap AG = Na − (Cl + HCO₃); some forms include K. pubmed.ncbi.nlm.nih.gov
serum osmolality · Winter's formula · corrected sodium · electrolyte calculator
Part of Kidney, electrolytes & acid-base — 14 tools on this topic.