Skip to content
CornerTools

Anion Gap Calculator

Work out the anion gap from sodium, chloride and bicarbonate, with potassium, albumin adjustment and the delta ratio.

mEq/L is the same number as mmol/L for each of these.

Total CO₂ can be entered in its place

Adjusts the gap for a low albumin

Enter sodium, chloride and bicarbonate to see the result.

Labs using ion-selective electrodes read lower, averaging 6 ± 3: use your lab's.

Ranges are lab-specific: normal gaps run from 3–11 to 8–16 mmol/L depending on the analyser. The tool compares with the normal gap entered. Normal bicarbonate is taken as 24 mmol/L and normal albumin as 4.0 g/dL.

For clinicians and students.

Enter sodium, chloride and bicarbonate to see the serum anion gap, with potassium and albumin if you have them. The tool adjusts the gap for a low albumin and works out the delta ratio, all against the normal gap of your own laboratory, which you can set. It is for clinicians and students; everything is worked out in your browser.

Understanding the result

The anion gap is the difference between the cations and anions a lab routinely measures. Unmeasured anions fill it, albumin above all, so a gap above normal points to an acid whose anion is not chloride, such as lactate or ketones. A gap is only high or normal against the range of the lab that measured it, which is why the tool asks for your lab's normal gap and starts at 12 mmol/L.

Albumin carries much of the normal gap, so a low albumin lowers the gap and can hide a raised one. With albumin entered, the tool shows the adjusted gap and reads the delta ratio from it.

The delta ratio compares the rise in the gap with the fall in bicarbonate. Rastegar 2007: in a high-gap acidosis alone the gap usually rises at least as much as bicarbonate falls, so the ratio is about 1 or more. Well below 1 suggests a normal-gap acidosis (or a respiratory alkalosis) as well; well above that, a metabolic alkalosis (or an earlier respiratory acidosis) as well. He advises reading it as one piece of evidence among many. The tool gives no verdict: it gives no ratio when bicarbonate is not below 24 mmol/L or the gap is not above the normal gap entered, since one of the two differences is then zero or negative.

How it works

All values are in mmol/L, the same number as mEq/L for these ions. The gap is usually worked without potassium; with it, the gap is larger by the potassium, and ranges for it run higher. The albumin adjustment is Figge's (1998): 2.5 mmol/L for each g/dL of albumin below 4.0 g/dL, or 0.25 per g/L. The delta ratio takes normal bicarbonate as 24 mmol/L, Kraut and Madias's mean normal value.

The difference of the two deltas, ΔAG − ΔHCO₃ (the "delta gap" or "delta-delta"), makes the same comparison as a difference rather than a ratio: zero where the ratio is 1. Gaps show to 1 decimal and the ratio to 2.

The tool takes sodium from 100 to 200, chloride 60 to 150, bicarbonate 2 to 60, potassium 1 to 10 and a normal gap of 1 to 20 mmol/L. A negative gap is shown, with a note to check the results.

Anion gap = Na − (Cl + HCO₃)
With potassium = (Na + K) − (Cl + HCO₃)
Albumin-adjusted gap = gap + 2.5 × (4.0 − albumin g/dL)
Delta ratio = (gap − normal gap) ÷ (24 − HCO₃)

Examples

Sodium 140, chloride 104, bicarbonate 24

The gap is 140 − (104 + 24) = 12.0 mmol/L, equal to the default normal gap of 12. Bicarbonate is not low, so there is no delta ratio.

A raised gap hidden by low albumin

Sodium 138, chloride 106, bicarbonate 18 and albumin 2.0 g/dL. The gap is 14.0 mmol/L, only 2.0 above the default normal of 12, but adjusted for albumin it is 19.0 mmol/L. The delta ratio, from the adjusted gap, is 1.17.

A delta ratio well below 1

Sodium 138, chloride 108 and bicarbonate 10 give a gap of 20.0 mmol/L. It has risen by 8.0 while bicarbonate has fallen by 14, a delta ratio of 0.57, the pattern that suggests a normal-gap acidosis alongside the high-gap one.

Rules and sources

Figge et al. (1998), in 152 critically ill patients and nine normal subjects, found that each g/L fall in albumin made the observed gap underestimate the unmeasured anions by 0.25 mEq/L, and gave the adjustment as 0.25 per g/L, or 2.5 per g/dL, from a normal albumin.

Kraut and Madias (2007) report that labs using ion-selective electrodes for sodium and chloride read a lower gap than older methods, averaging 6 ± 3 mEq/L, and that the clinician must know the normal range of their own lab. They call the split of acidoses into high-gap and normal-gap "a marked oversimplification".

Rastegar (2007) gives normal ranges from 3–11 to 8–16 mEq/L depending on the instrument, advises correcting the gap for albumin and comparing it with the patient's own baseline, and cautions against diagnosing a mixed disorder from the ratio alone.

Sources

Reviewed

Frequently asked questions

It depends on the lab. Older methods gave averages around 11 to 15 mEq/L; labs measuring sodium and chloride with ion-selective electrodes average about 6 ± 3 (Kraut and Madias). Rastegar gives ranges from 3–11 to 8–16 depending on the instrument. Enter your lab's normal gap; the tool starts at 12.
Usually not: potassium is small beside sodium, chloride and bicarbonate, and many clinicians leave it out, as Kraut and Madias note. The gap with potassium is shown as its own row; compare it only with a range your lab gives for it.
Rastegar cites Paulson, who applied them to normal controls and people with a simple metabolic acidosis and found 56% wrongly classed as mixed disorders. Rastegar advises using the ratio as one piece of evidence among many, so the tool gives the ratio and what it suggests, not a verdict.
An acid whose anion is not chloride: lactate in lactic acidosis, β-hydroxybutyrate and acetoacetate in ketoacidosis, and the acids of kidney failure; the glycolic and formic acids of ethylene glycol and methanol poisoning also do. Kraut and Madias warn that some of these can also give a normal-gap pattern.

See also