Skip to content

Anion Gap CalculatorNew

Na, Cl, HCO₃ anion gap with optional potassium.

Runs in your browser · free · no sign-up

Not medical advice. For education and reference only. Confirm doses and results with a licensed professional and your local protocols before acting.

Anion gap
12.0

Typical reference without K⁺ is roughly 8–12 mmol/L depending on the analyser — use your lab’s range.

About the Anion Gap Calculator

Check metabolic acidosis teaching examples against the classic gap formula.

The serum anion gap helps classify metabolic acidosis in teaching and clinical discussion. The classic calculation without potassium is Na⁺ − (Cl⁻ + HCO₃⁻). Some centres include potassium: (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻). This page supports both, with all values in mmol/L.

Typical reference intervals without potassium are often quoted around 8–12 mmol/L, but analysers and normal ranges differ. Albumin, lithium and some laboratory methods change the gap. A “normal” or “high” label on this page is only a teaching hint.

Not medical advice. Acid–base interpretation needs blood gas context, clinical history and local reference ranges.

When practising cases, write the full set of electrolytes and the gas beside the gap so you remember that the number never stands alone. If your course teaches albumin-corrected gaps, apply that rule after you compute the raw gap here.

How to use the Anion Gap Calculator

  1. 1Choose with or without K⁺.
  2. 2Enter electrolytes in mmol/L.
  3. 3Read the gap and compare with your lab’s reference.

How the conversion works

AG = Na − (Cl + HCO₃); or AG = (Na + K) − (Cl + HCO₃).

Key features

  • With or without K⁺.
  • Inputs in mmol/L.
  • Gap result highlighted.
  • Note to use lab-specific references.

Practical uses

  • ABG tutorial sessions.
  • Checking arithmetic on a ward round teaching case (de-identified).
  • Comparing with/without potassium conventions.

Example

Na 140, Cl 104, HCO₃ 24 → gap 12 mmol/L without potassium.

Tips and common mistakes

  • Use the same bicarbonate value your lab reports (often total CO₂).
  • Correct for hypoalbuminaemia using your local rule if required.
  • Never dose treatment from this calculator alone.

Limitations

  • Acid–base teaching aid — not medical advice or a diagnosis.
  • Analyser reference ranges differ; ignore on-page “typical” hints for real care.
  • Needs blood gas and clinical context.

Privacy

Electrolyte values are processed locally and discarded when you close the tab.

Frequently asked questions

Is this medical advice?

No. Every Medical & Lab tool is for education and reference only.

Can I use this for real patients?

Only under supervision and after checking your local protocol and a licensed professional.

Are formulas named?

Yes — each page states the equation it uses.

Is data uploaded?

No. Values stay in your browser.

With or without potassium?

Both modes are offered. Classic teaching without K⁺ is Na − (Cl + HCO₃); some centres include K⁺.

What units are required?

Enter Na⁺, Cl⁻, HCO₃⁻ (and K⁺ if used) in mmol/L.

Related tools

Medicine Dosage by WeightNewCalculate mg/kg doses and liquid volumes with a strong disclaimer.
Dilution Calculator (C1V1)NewSolve C1V1 = C2V2 for lab and pharmacy dilutions.
Lab Value Unit ConverterNewConvert glucose, creatinine, lipids and more between lab units.
eGFR Calculator (CKD-EPI 2021)NewEstimate GFR with the CKD-EPI 2021 creatinine equation.