← All free tools
Clinical calculator

Anion gap calculator

Serum anion gap from sodium, chloride and bicarbonate, with optional potassium and albumin correction.

Inputs (electrolytes in mEq/L)
Anion gap
0
mEq/L
For reference only. An educational aid, not a substitute for clinical judgement. Normal ranges vary by laboratory analyser; compare with your lab’s own range.

Frequently asked questions

How is the anion gap calculated?

Anion gap = sodium − (chloride + bicarbonate), all in mEq/L. Some labs add potassium to the sodium; this calculator shows both.

What is a normal anion gap?

Commonly about 8–12 mEq/L without potassium, but the reference range depends on the analyser your lab uses, so compare with your own lab’s range.

Why correct the anion gap for albumin?

Albumin is the main unmeasured anion. Low albumin lowers the gap and can hide a high-gap acidosis; the corrected gap adds 2.5 mEq/L for every 1 g/dL that albumin is below 4.0.

Run your whole hospital, not just this tool.

Inside OlivHealth, lab results sit on the patient record next to the visit, so the whole team reads the same numbers.