Renal & Electrolytes

Anion Gap Calculator

Sodium minus chloride and bicarbonate: sorts a metabolic acidosis into high-gap (lactate, ketones, toxins, renal failure) or normal-gap.

Reviewed by Alex G, BSN, RN, CEN, CCRN, CMC, NREMT-P · Updated November 2026 · From the Reference tab of the app

Turn on JavaScript to use this calculator, or open it in the web app.

Formula

Anion Gap = Na - (Cl + HCO₃)

Formula source: Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine. Clin J Am Soc Nephrol. 2007;2(1):162-174.

How it is used

Same formula as the app. Open it in the web app.

Related study sheets

Open the web app1,750+ practice questions. Every answer choice explained. No ads. Also on Google Play.

Sources

  1. Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine. Clin J Am Soc Nephrol. 2007;2(1):162-174.

For education and exam preparation only. Verify results independently and follow your institution’s protocols. Not a substitute for clinical judgment.