Skip to content
Calc.

Anion Gap Calculator

Serum anion gap from sodium, chloride and bicarbonate, with or without potassium, plus the albumin-corrected gap, delta gap and delta ratio used to work up a metabolic acidosis.

Last updated: October 2026

Anion gap

25 mEq/L

This calculator gives an estimate for general information only. It is not medical advice and does not replace a doctor, pharmacist or other qualified health professional. Always check with them before acting on the result, especially for medication doses, children, pregnancy or a medical condition, and follow the guidelines of your local health authority.

Formula below · 3 sources (medlineplus.gov, doi.org, litfl.com) · Updated Oct 2026

Compare with similar

About this calculator

The anion gap (AG) is the difference between the routinely measured cations and anions in serum. Because electroneutrality always holds, the gap stands for the anions the basic panel does not measure: albumin, phosphate, sulfate and organic acids such as lactate and ketoacids.

AG = Na⁺ − (Cl⁻ + HCO₃⁻), all in mEq/L (mmol/L).

Some laboratories, mainly outside the US, add potassium: AG = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻). Potassium is small and nearly constant, so this version runs about 4 mEq/L higher (reference range roughly 10-20 mEq/L) and the two must not be mixed. Choose the formula your lab reports; the tiles always show both.

Normal range. With today's ion-selective-electrode analyzers the normal gap without potassium is about 3-11 mEq/L (mean about 7). The 8-12 and 8-16 mEq/L ranges in older textbooks came from flame photometry and read chloride lower. Use your own laboratory's reference interval when it is printed on the report.

Albumin correction. Albumin is the largest unmeasured anion, so a low albumin hides a raised gap. The Figge correction adds 2.5 mEq/L for every 1 g/dL that albumin falls below 4 g/dL: corrected AG = AG + 2.5 × (4 − albumin in g/dL). In g/L the same rule is 0.25 × (40 − albumin). The bands on this page classify the corrected gap.

Delta gap and delta ratio. In a pure high-gap acidosis every unmeasured acid anion that appears should have consumed one bicarbonate, so the rise in the gap (ΔAG = AG − 12) should match the fall in bicarbonate (ΔHCO₃ = 24 − HCO₃). The delta ratio ΔAG ÷ ΔHCO₃ sorts mixed disorders: below 0.4 suggests a normal-gap (hyperchloremic) acidosis alone; 0.4-0.8 a high-gap acidosis with a coexisting normal-gap acidosis; 0.8-2.0 a pure high-gap acidosis (lactic acidosis often runs 1.6, ketoacidosis nearer 1.0); above 2.0 a high-gap acidosis with a coexisting metabolic alkalosis or a pre-existing high bicarbonate (chronic respiratory acidosis). The ratio is only shown while bicarbonate is below 24 mEq/L, because with a normal bicarbonate there is no acidosis to split. The 12 and 24 are the conventional "normal" anion gap and bicarbonate used by this method; they are not the same as the analyzer reference range above.

This calculator supports, but does not replace, a full acid-base assessment with blood gases, lactate, ketones and an osmolar gap when a toxic alcohol is suspected. It is an aid to interpretation, not medical advice.

How to use

Enter the sodium, chloride and bicarbonate from the same basic metabolic panel. Add potassium only if your lab's reference range includes it, and albumin whenever it is low. Example (the defaults): sodium 140, chloride 100, bicarbonate 15, potassium 4.0, albumin 4.0 g/dL. AG = 140 − (100 + 15) = 25 mEq/L, well above 11, so this is a high-anion-gap metabolic acidosis. With potassium the gap is 29. Albumin is normal, so the corrected gap stays 25. Delta gap = 25 − 12 = 13; ΔHCO₃ = 24 − 15 = 9; delta ratio = 13 ÷ 9 = 1.44, in the 0.8-2.0 window of a pure high-gap acidosis (lactate or ketones would be the next tests). Example with low albumin: sodium 138, chloride 108, bicarbonate 20, albumin 2.0 g/dL. Uncorrected AG = 138 − 128 = 10, which looks normal. Corrected AG = 10 + 2.5 × (4 − 2.0) = 15, a high gap that the low albumin was hiding. Delta ratio = (15 − 12) ÷ (24 − 20) = 0.75, suggesting a high-gap acidosis plus a normal-gap acidosis.

Frequently asked questions

What is a normal anion gap?

About 3-11 mEq/L without potassium on modern ion-selective-electrode analyzers (mean near 7); about 10-20 mEq/L when potassium is included. Older ranges of 8-12 or 8-16 mEq/L came from flame-photometry instruments. Your laboratory's printed reference interval overrides any general figure.

Should I include potassium?

Only if your laboratory does. Potassium is small (about 4 mEq/L) and nearly constant, so including it adds roughly 4 to the result and shifts the normal range up by the same amount without adding diagnostic information. The US convention and most reference ranges leave it out.

Why correct the anion gap for albumin?

Albumin carries most of the unmeasured negative charge. A patient with albumin of 2 g/dL has about 5 mEq/L less unmeasured anion than normal, so an acidosis that should produce a gap of 16 shows as 11 and reads as normal. Adding 2.5 mEq/L for each 1 g/dL below 4 g/dL (Figge) restores the expected gap; the correction matters most in critically ill, malnourished and cirrhotic patients.

What does the delta ratio tell me?

Whether a second acid-base disorder sits behind a high-gap acidosis. A ratio of 0.8-2.0 means the rise in the gap matches the fall in bicarbonate (a pure high-gap acidosis). Below 0.8 the bicarbonate has fallen more than the gap rose, so a normal-gap acidosis is also present. Above 2.0 bicarbonate is higher than the gap predicts, so a metabolic alkalosis or a chronically raised bicarbonate coexists.

What causes a high anion gap?

An acid whose anion the panel does not measure. The MUDPILES mnemonic lists the common ones: methanol, uremia, diabetic (and alcoholic or starvation) ketoacidosis, propylene glycol, isoniazid or iron, lactic acidosis, ethylene glycol and salicylates. Lactic acidosis and ketoacidosis are by far the most frequent; a high gap with a normal lactate and no ketones should prompt an osmolar gap for toxic alcohols.

Can the anion gap be used in mmol/L?

Yes. For these monovalent ions mEq/L and mmol/L are the same number, so sodium, chloride and bicarbonate in mmol/L give the gap in mmol/L. Albumin must be entered in g/dL: divide a g/L value by 10 first (35 g/L is 3.5 g/dL).

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.