Home / Calculators / Labs

Anion Gap Calculator

Enter three values from a basic metabolic panel and get the anion gap.

Enter your numbers and press Calculate.

The formula

Anion gap = sodium minus (chloride + bicarbonate). This version leaves out potassium.

Worked example

Sodium 140, chloride 104 and bicarbonate 24 give 140 - (104 + 24) = 12 mEq/L.

Good to know

Questions

Should potassium be included?

Some labs include it. This tool uses the common version without potassium.

Why does the range change?

Lab methods differ, so always compare with the range printed on your report.

Is a normal gap always normal?

Not always. It is one piece of a larger picture.

Keep reading

For learning and checking your own work. Always follow orders, facility policy and your own healthcare team. This tool does not replace clinical judgment.