Biology, Genetics & Clinical Lab Clinical Chemistry & Lab Values Serum anion gap with Figge albumin correction

Anion Gap Calculator (with Albumin Correction and Delta Ratio)

Enter a basic metabolic panel and this calculator returns the serum anion gap, the albumin-corrected gap, the delta gap, the delta ratio and the corrected bicarbonate — the five numbers that separate a high anion gap acidosis from a hyperchloraemic one, and reveal a second acid-base disturbance hiding behind the first. It also applies Winter's formula to predict the respiratory compensation you should see on the blood gas. Every step of the arithmetic is shown, so you can reproduce it on paper at the bedside.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Sodium (Na⁺)The serum sodium from the same draw as the chloride and bicarbonate.137 mmol/L
Chloride (Cl⁻)Serum chloride. A halide interference (bromide, iodide) falsely raises it and shrinks the gap.100 mmol/L
Bicarbonate (HCO₃⁻)The total CO₂ from the chemistry panel, or the calculated bicarbonate from the blood gas.12 mmol/L
Serum albuminEnter the measured albumin; 4.0 g/dL (40 g/L) is the reference point the correction is built around.3 g/dL
Include potassium in the gapTick only if your institution uses the four-electrolyte form; it raises the expected gap by roughly the potassium.No
Potassium (K⁺)Used only when the four-electrolyte form is selected above.4.5 mmol/L
Reference anion gapThe midpoint your laboratory quotes: 12 is traditional, 8–10 on many modern ion-selective analysers, ~16 if potassium is included.12 mmol/L

It returns

  • Anion gap — The measured gap, before any albumin adjustment.
  • Albumin-corrected anion gap — The gap you should interpret whenever albumin is not 4.0 g/dL.
  • Delta gap (corrected AG − reference)
  • Delta ratio (ΔAG ÷ ΔHCO₃) — Undefined when bicarbonate is 24 mmol/L or higher, because the denominator vanishes.
  • Corrected bicarbonate — The bicarbonate you would expect if the high-gap acid were removed.
  • Expected PaCO₂ (Winter's formula) — Shown only when bicarbonate is below 22 mmol/L, the range in which Winter's formula applies.

The formula

AG=[Na+]([Cl]+[HCO3])
delta ratio=AGcorr1224[HCO3]
PaCO2=1.5[HCO3]+8

In plain text: AG = Na⁺ − (Cl⁻ + HCO₃⁻); corrected AG = AG + 2.5 × (4.0 − albumin g/dL)

  • AGAnion gap — the apparent excess of measured cations over measured anions (mmol/L)
  • Na⁺Serum sodium (mmol/L)
  • Cl⁻Serum chloride (mmol/L)
  • HCO₃⁻Serum bicarbonate (total CO₂) (mmol/L)
  • ΔAGDelta gap: corrected AG minus the reference gap (mmol/L)
  • ΔHCO₃Fall in bicarbonate from 24 mmol/L (mmol/L)

The albumin correction of 2.5 mmol/L of gap per 1 g/dL of albumin below 4.0 g/dL follows Figge and colleagues. The four-electrolyte form adds potassium to both the gap and its reference.

Updated Category Clinical Chemistry & Lab Values Verified against published test cases Reading time 12 min

What the anion gap actually measures

Plasma is electrically neutral, so the total charge carried by cations equals the total charge carried by anions. A chemistry panel measures only one cation seriously — sodium — and two anions, chloride and bicarbonate. Subtract the two measured anions from the measured cation and you are left with a positive number: not a real gap in the charge balance, but the amount of anionic charge the panel never sees. That is the anion gap.

The unmeasured anions in a healthy person are dominated by albumin, which at physiological pH carries a large net negative charge, along with phosphate, sulphate and organic acids. Set against them are unmeasured cations — potassium, calcium, magnesium, and immunoglobulins — which are smaller in aggregate. The residue is the 8 to 12 mmol/L most laboratories quote.

The gap earns its keep in one situation: a patient with a low bicarbonate. Bicarbonate can fall for exactly two reasons. Either an acid has been added to the blood and bicarbonate has been consumed buffering it, in which case the acid's conjugate base stays behind as an unmeasured anion and the gap rises; or bicarbonate has been lost directly through the gut or the kidney, in which case chloride is retained to preserve neutrality and the gap does not move. High-gap acidosis and normal-gap acidosis have almost entirely different causes and different treatments, and the gap is the single number that tells them apart.

The formula, and why albumin has to be corrected for

The gap is AG = [Na⁺] − ([Cl⁻] + [HCO₃⁻]). Some centres use the four-electrolyte form, [Na⁺] + [K⁺] − [Cl⁻] − [HCO₃⁻]. Neither is more correct; they simply reference different intervals, because adding potassium adds its entire serum concentration to the answer. If you include potassium you must raise the reference by roughly 4 mmol/L, which is why the traditional threshold of 12 becomes about 16. Mixing the two is a common source of a spuriously high gap.

Albumin is where most bedside errors come from. It is the largest single unmeasured anion, and critically ill patients are frequently hypoalbuminaemic. Figge and colleagues showed that each 1 g/dL fall in albumin below 4.0 g/dL removes about 2.5 mmol/L of anionic charge from the plasma, and therefore shrinks the measured gap by the same amount. The correction restores it:

AGcorrected = AG + 2.5 × (4.0 − albumin in g/dL). In SI units, add 0.25 × (40 − albumin in g/L).

An ICU patient with an albumin of 2.0 g/dL has a gap that reads 5 mmol/L low. A measured gap of 12 in that patient is really 17 — a clearly raised gap that an uncorrected reading calls normal. This is not a rare edge case; it is the usual state of affairs in a critical care unit, and it is why the corrected figure is the one to act on.

Two further numbers finish the assessment. The delta gap is how far the corrected gap has risen above its reference. The delta ratio compares that rise with the fall in bicarbonate from 24 mmol/L. In a pure high-gap acidosis each unmeasured anion added should consume roughly one bicarbonate, so the ratio sits near 1. A ratio well below 1 means bicarbonate fell further than the gap rose, so something else is also consuming bicarbonate. A ratio well above 2 means the gap rose further than bicarbonate fell, so something else is propping bicarbonate up.

Worked example: a 24-year-old in diabetic ketoacidosis

The panel reads sodium 137, chloride 100, bicarbonate 12 mmol/L, albumin 3.0 g/dL. Work it through on paper.

  1. Measured gap. 137 − (100 + 12) = 137 − 112 = 25 mmol/L.
  2. Albumin correction. Albumin is 1.0 g/dL below 4.0, so add 2.5 × 1.0 = 2.5 mmol/L.
  3. Corrected gap. 25 + 2.5 = 27.5 mmol/L, unmistakably raised against a reference of 12.
  4. Delta gap. 27.5 − 12 = 15.5 mmol/L of unmeasured anion — here, β-hydroxybutyrate and acetoacetate.
  5. Fall in bicarbonate. 24 − 12 = 12 mmol/L.
  6. Delta ratio. 15.5 ÷ 12 = 1.29, inside the 1 to 2 band, so this behaves as a single, pure high-gap acidosis.
  7. Corrected bicarbonate. 12 + 15.5 = 27.5 mmol/L. Above 26, which is the same message the ratio gave: once you mentally remove the ketoacids, bicarbonate is at the top of normal rather than in the middle, consistent with the vomiting that so often accompanies ketoacidosis.
  8. Expected PaCO₂. Winter's formula gives 1.5 × 12 + 8 = 26 mmHg, ± 2. If the measured PaCO₂ came back at 40, the patient is not compensating and has a superimposed respiratory acidosis — a genuine emergency in this setting.

Notice how much the last three steps added. The gap alone said “ketoacidosis”. The delta ratio, corrected bicarbonate and Winter's prediction said “ketoacidosis, plus a chloride-losing process, and check the ventilation”.

How to read the number you get

Start with the corrected gap against the reference your laboratory quotes. Older flame-photometry analysers gave a normal gap of 8 to 16 mmol/L with a midpoint of 12; ion-selective electrodes read chloride slightly higher and have pulled many modern reference intervals down to 3 to 11 mmol/L. Using 12 as your threshold on a modern analyser will make you miss modest elevations, so change the reference field to whatever your own laboratory reports.

A raised corrected gap sends you looking for the anion. The classic memory aid is GOLDMARK — glycols (ethylene and propylene), oxoproline (from chronic paracetamol), L-lactate, D-lactate, methanol, aspirin, renal failure, and ketoacidosis. In practice lactate, ketones and uraemia account for the overwhelming majority; measure a lactate and ketones before reaching for anything exotic. If those are unrevealing and the gap is large, calculate the osmolar gap as well, because a toxic alcohol produces a raised osmolar gap early and a raised anion gap only later, once it has been metabolised.

A normal corrected gap in the presence of a low bicarbonate points to bicarbonate loss: diarrhoea, a proximal or distal renal tubular acidosis, a ureteric diversion, or large-volume saline. A genuinely low corrected gap is uncommon and usually artefactual, but a cationic paraprotein in myeloma, lithium or bromide toxicity, and severe hypercalcaemia can all produce one.

Finally, treat the gap as a screening number, not a diagnosis. It has poor sensitivity for modest lactate elevations: a lactate of 4 mmol/L raises the gap by 4, which can easily disappear inside the reference interval. A normal gap does not exclude a lactic acidosis, and in a shocked patient you measure the lactate directly.

A failure mode that has nothing to do with arithmetic: mismatched draws

The three electrolytes behind the gap are usually drawn together, but they are not always read together. A ward panel and a blood-gas syringe can be minutes to hours apart, and in a patient who is being actively treated that gap in time is not a footnote — it is the difference between measuring the disease and measuring the treatment.

The clearest version of this happens during fluid resuscitation for diabetic ketoacidosis. Large volumes of 0.9% saline carry far more chloride than plasma does, so chloride rises and bicarbonate is diluted between one draw and the next even while the ketoacidosis itself is unchanged. The corrected gap on the second panel can look like it is “closing” toward normal, when what has actually happened is a normal-gap process — iatrogenic hyperchloraemia — being added on top of the original high-gap one. The delta ratio calculated from that second panel will read low, which is the correct arithmetic answer to the wrong question if the two draws are compared as though nothing but the acidosis had changed.

The practical check is simple: read the timestamp before you read the number. If a trending gap has moved because bicarbonate rose while chloride also rose, ask what was infused between the two draws before concluding the acidosis is resolving. A repeat gap once boluses have stopped, or a directly measured ketone level, settles the question that electrolytes alone cannot.

Delta ratio bands and what each one implies

Delta ratio = (corrected anion gap − reference gap) ÷ (24 − bicarbonate). Only meaningful when the corrected gap is raised and bicarbonate is below 24 mmol/L.
Delta ratioCorrected bicarbonateInterpretationTypical setting
< 0.4Well below 22Mostly a normal-gap acidosisDiarrhoea or renal tubular acidosis with a small added anion
0.4 – 0.8Below 22Mixed high-gap and normal-gap acidosisDKA part-treated with large-volume saline
0.8 – 2.022 – 26Pure high anion gap acidosisLactic acidosis, early ketoacidosis
> 2.0Above 26High-gap acidosis plus metabolic alkalosis or chronic respiratory acidosisKetoacidosis with vomiting; lactic acidosis in chronic CO₂ retention

The two columns agree by construction: corrected bicarbonate equals measured bicarbonate plus the delta gap, so a ratio above 2 and a corrected bicarbonate above 26 are two statements of the same arithmetic.

Mistakes that make an anion gap misleading

  • Not correcting for albumin. The single commonest error in critical care. At an albumin of 2.0 g/dL the gap reads 5 mmol/L low, which is enough to hide a lactic acidosis entirely.
  • Mixing conventions. Adding potassium to the gap but comparing against a reference of 12 manufactures a raised gap in a normal patient.
  • Using 12 when your laboratory says 8. Ion-selective electrodes shifted reference intervals downward. Read your own laboratory's interval off the report.
  • Calculating the delta ratio when the gap is normal. The ratio answers the question “does the rise in gap account for the fall in bicarbonate?”, which is meaningless when the gap has not risen.
  • Forgetting that bicarbonate on a chemistry panel is total CO₂. It runs about 1 to 2 mmol/L above the blood-gas calculated bicarbonate, and the two are drawn at different times.
  • Ignoring hyperglycaemia's effect on sodium. A very high glucose pulls water into the plasma and dilutes sodium, which lowers the gap. Check the corrected sodium before concluding a diabetic patient has no gap.
  • Treating a normal gap as reassurance. Modest lactate elevations hide inside the reference interval. Measure lactate when the clinical picture demands it.

Where this sits among the acid-base tools

The anion gap is the bedside shortcut of the bicarbonate-centred (Henderson-Hasselbalch) approach. The Stewart physicochemical approach reaches the same conclusions through the strong ion difference and the strong ion gap, which handle albumin and phosphate explicitly rather than by correction. For routine work the corrected gap and the delta ratio give the same answers with far less arithmetic, and the albumin correction closes most of the distance between the two methods.

Related bedside numbers on this site: serum osmolality and the osmolar gap for suspected toxic alcohol ingestion, fractional excretion of sodium when the acidosis accompanies acute kidney injury, and eGFR when you suspect uraemic acidosis.

Key terms

High anion gap metabolic acidosis (HAGMA)
An acidosis in which an acid has been added to the blood; the conjugate base remains as an unmeasured anion and raises the gap.
Normal anion gap (hyperchloraemic) acidosis
An acidosis caused by bicarbonate loss, with chloride retained to preserve electroneutrality, so the gap is unchanged.
Delta gap
The rise in the corrected anion gap above its reference value — an estimate of the concentration of unmeasured anion present.
Corrected bicarbonate
Measured bicarbonate plus the delta gap: what the bicarbonate would be if the high-gap acid were removed. Below 22 implies a second, normal-gap acidosis; above 26 implies a metabolic alkalosis.
Winter's formula
The expected respiratory compensation for a metabolic acidosis: PaCO₂ = 1.5 × [HCO₃⁻] + 8, accurate to about ± 2 mmHg.
Total CO₂
What a chemistry analyser reports as bicarbonate. It includes dissolved CO₂ and carbamino compounds, so it runs slightly above the blood-gas bicarbonate.

Frequently asked questions

What is a normal anion gap?

On a modern ion-selective-electrode analyser, roughly 3 to 11 mmol/L, with many laboratories quoting a midpoint near 8. The traditional figure of 8 to 16 with a midpoint of 12 comes from older flame photometry and now runs high. Because the interval is analyser-dependent, this calculator lets you set the reference yourself — take the number from your own laboratory's report rather than from a textbook.

Should I include potassium in the anion gap?

Only if you also raise the reference. Adding potassium adds its whole serum concentration to the gap by definition, so a patient with a potassium of 4.0 mmol/L will have a four-electrolyte gap 4.0 higher than the three-electrolyte one. The usual matching reference is about 16 rather than 12. Most North American and British centres omit potassium because serum potassium varies little and adds no information.

Why does low albumin lower the anion gap?

Because albumin is itself the biggest unmeasured anion. At physiological pH each gram per decilitre of albumin contributes roughly 2.5 mmol/L of negative charge. Lose 2 g/dL of albumin and you lose about 5 mmol/L of unmeasured anion, so the calculated gap falls by 5 even though nothing about the patient's acid-base state has changed. Correcting restores the gap to what it would have been at an albumin of 4.0 g/dL.

When is the delta ratio not valid?

Whenever the anion gap is not raised, and whenever bicarbonate is 24 mmol/L or above. The ratio compares a rise in gap with a fall in bicarbonate; if the gap has not risen there is nothing to compare, and if bicarbonate is at or above 24 the denominator is zero or negative and the ratio is meaningless. This calculator returns a dash in that case rather than a number.

Can the anion gap be negative?

Yes, though it nearly always signals a laboratory problem rather than a physiological one. Bromide and iodide are read as chloride by many analysers and can push the calculated chloride high enough to drive the gap below zero. Severe hypernatraemia with a paraproteinaemia, lithium toxicity, and simple transcription errors do the same. A negative gap is a reason to repeat the panel before interpreting it.

What does a raised anion gap with a normal bicarbonate mean?

Usually a mixed disturbance: a high-gap acidosis together with a metabolic alkalosis that has kept bicarbonate up. Check the corrected bicarbonate this calculator returns — if it is well above 26 mmol/L while the gap is raised, that combination is the arithmetic fingerprint of the mixed picture. Vomiting alongside ketoacidosis and diuretic use alongside a lactic acidosis are the common clinical versions.

Does this calculator use the corrected or the uncorrected gap for the delta ratio?

The albumin-corrected gap, because that is the figure that reflects the true unmeasured anion load. When albumin is exactly 4.0 g/dL the two coincide and the choice makes no difference. When albumin is low, using the uncorrected gap understates the delta gap and pushes the ratio down, which can suggest a coexisting normal-gap acidosis that is not there.

How does the anion gap relate to the osmolar gap?

They detect toxic alcohols at different stages. Methanol and ethylene glycol are osmotically active in their parent form, so the osmolar gap rises immediately after ingestion; they only raise the anion gap after being metabolised to formic and glycolic acid, hours later. Early on you may see a large osmolar gap and a normal anion gap; late on, the reverse. Calculate both when the history raises the question.

Is the anion gap useful outside acid-base problems?

Occasionally. A persistently low or negative gap can be the first hint of a monoclonal gammopathy, and a raised gap in a patient with no acidosis is a common reason to review whether an albumin correction or a laboratory interference explains it. But the gap is designed for one job, and outside a low bicarbonate it rarely changes management on its own.

References

  • Figge J, Jabor A, Kazda A, Fencl V. Anion gap and hypoalbuminemia. Critical Care Medicine 1998;26(11):1807-1810 — Society of Critical Care Medicine
  • Albert MS, Dell RB, Winters RW. Quantitative displacement of acid-base equilibrium in metabolic acidosis. Annals of Internal Medicine 1967;66(2):312-322 — American College of Physicians
  • Tietz Textbook of Clinical Chemistry and Molecular Diagnostics, 8th ed. — Elsevier
  • Mehta AN, Emmett JB, Emmett M. GOLD MARK: an anion gap mnemonic for the 21st century. The Lancet 2008;372(9642):892 — Elsevier