Anion Gap Calculator

Calculate the serum anion gap from sodium, chloride and bicarbonate — with albumin correction.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

mmol/L
mmol/L
mmol/L
mmol/L
g/dL

Anion gap

-

-

Corrected AG (albumin)

-

With K⁺ included

-

Interpretation

-

Clinical use. The anion gap helps classify metabolic acidosis. High AG acidosis suggests lactic acidosis, ketoacidosis, renal failure or toxins (MUDPILES). Normal AG acidosis suggests GI bicarbonate loss or renal tubular acidosis.

How to use this calculator

Enter your sodium, chloride and bicarbonate values. Optionally include potassium and albumin. The calculator returns uncorrected and albumin-corrected anion gap.

The formula behind this result

Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻). Albumin correction: AG_corrected = AG + 2.5 × (4.0 − albumin g/dL). Normal corrected range is 3–12 mmol/L. High AG metabolic acidosis ('MUDPILES'): methanol, uremia, DKA, propylene glycol, isoniazid, lactic acidosis, ethylene glycol, salicylates.

Frequently asked questions

Why correct for albumin?

Albumin is negatively charged and contributes to the anion gap. Low albumin falsely lowers the gap. Correcting for albumin reveals the true gap.

What's a normal anion gap?

3–12 mmol/L depending on the lab. Some include K+ (range 10–20). Always use your institution's reference range.

Explore more