Anion Gap Calculator
Na − (Cl + HCO₃), corrected for albumin, with the delta ratio for mixed disorders.
Try before you buy.
- Free preview: the anion gap in full with what it means, and the first rows of the working table; every other figure is hidden.
- Locked until you unlock it: copy.
- Unlock: Pro pass, ₹179 for 30 days or ₹79 for 1 week, a one-time payment that never renews. Unlock: Pro pass, $5.99 for 30 days or $2.99 for 1 week, a one-time payment that never renews.
Ways to unlock shows how to get the full result.
Printing this result is locked in the free preview.
Your numbers, step by step
| Value and working | Result |
|---|
Reading the delta ratio
| Delta ratio | What it suggests |
|---|
Calculated only for a high anion gap with a bicarbonate below 24 mmol/L.
What the numbers can tell you
Not a diagnosis. The anion gap is one clue in the assessment of an acid–base problem; its normal range depends on the laboratory, and the cause of an abnormal result needs a clinician.
Locked in the free preview. Opens the ways to unlock this result.
Locked in the free preview. Batch runs unlock with a pass.
Locked in the free preview. Query results unlock with a pass.
For general information only, not medical advice. Consult a qualified health professional for advice about your situation.
How this tool is checked
- Based on
- the method set out under ‘The formulas’.
- Sources
-
This guide lists 7 sources under ‘Sources’, among them:
- Kraut JA, Nagami GT. The serum anion gap in the evaluation of acid-base disorders: what are its limitations and can its effectiveness be improved?
- Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine
- Figge J et al. Anion gap and hypoalbuminemia
- Tests
- 18 automated tests check its results.
- Found an error?
- Report a problem or write to support@mysmartcopilot.com, with what you entered and the result you expected.
About the Anion Gap Calculator
The anion gap is the difference between the main measured cation in blood, sodium, and the main measured anions, chloride and bicarbonate: Na⁺ − (Cl⁻ + HCO₃⁻). The negative charges it leaves out — mostly albumin, phosphate and other unmeasured anions — make the normal gap. When an acid such as lactate or a ketone builds up, its anion widens the gap, so a high anion gap points to a high-anion-gap metabolic acidosis.
This calculator gives the anion gap with the working, the gap corrected for albumin (Figge’s formula, because a low albumin hides a high gap), the gap with potassium if you enter it, and for a high gap the delta gap and delta ratio, which hint at a second metabolic disorder. Every reference value — the laboratory’s range, the normal gap for the delta and the normal albumin — can be changed to match your report. Nothing you type leaves your browser.
Without a pass, the free preview shows the anion gap in full with what it means and the first rows of the working table; a Pro pass unlocks the rest of the table, every other figure and Copy result.
How to use it
- Enter sodium, chloride and bicarbonate from the same blood sample (bicarbonate may be printed as total CO₂). All are in mmol/L, which is the same number as mEq/L.
- Optional: add albumin (g/dL or g/L) for the albumin-corrected gap, and potassium for the gap with potassium.
- Open Reference values of your laboratory to enter the anion gap range printed on your report; 8–12 mmol/L is used otherwise.
- Read the anion gap, what it means and the working table. For a high gap, the delta ratio and the table of its bands show whether a second disorder is likely.
- Use Copy result to paste the values and the working into your notes — with a pass, or after unlocking this result.
Examples
Anion gap 137 − (100 + 12) = 25 · corrected 25 + 2.5 × (4.0 − 2.5) = 28.8 · delta ratio (28.8 − 12) ÷ (24 − 12) = 1.40 — fits a high-anion-gap acidosis on its own
Anion gap 10 — within 8–12 mmol/L. With the low bicarbonate, this is the pattern of a normal-anion-gap (hyperchloraemic) acidosis.
Anion gap 28 · delta gap 16 · delta ratio 16 ÷ (24 − 22) = 8.00 — far above 2: a metabolic alkalosis keeps the bicarbonate up.
Anion gap 12 · with potassium 140 + 4.5 − (104 + 24) = 16.5, to compare only with a range that includes potassium.
Common uses
- Working out the anion gap from a chemistry panel that does not print it.
- Correcting the anion gap for a low albumin in hospitalised or critically ill patients.
- Checking a high-anion-gap acidosis for a second metabolic disorder with the delta ratio.
- Teaching and revising how the anion gap is built and why its normal range varies.
The formulas
- Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻), all in mmol/L.
- With potassium = Na⁺ + K⁺ − (Cl⁻ + HCO₃⁻), the original definition; most textbooks now leave potassium out because its changes are small, but including it helps when potassium is far from normal.
- Albumin-corrected anion gap (Figge) = anion gap + 2.5 × (normal albumin − measured albumin) with albumin in g/dL, or + 0.25 × the difference in g/L. The anion gap falls by about 2.3–2.5 mmol/L for every 1 g/dL fall in albumin.
- Delta gap = anion gap − normal anion gap, and delta ratio = delta gap ÷ (24 − HCO₃⁻): how far the gap has risen compared with how far the bicarbonate has fallen. The calculator uses the albumin-corrected gap when you enter albumin.
Why your laboratory’s range matters
The normal anion gap depends on how the laboratory measures the electrolytes. Textbook ranges run from 3–11 mmol/L with ion-selective electrodes up to 8–16 mmol/L in other textbooks, and the normal range in a population can span 8–10 mmol/L. Analysers with ion-selective electrodes report higher chloride, so their anion gaps are lower. A review of the anion gap concludes that the clinician must know the mean and the range of their own laboratory, and that a baseline gap of the same person, corrected for albumin, is the most accurate comparison for spotting a new acidosis. This page uses 8–12 mmol/L only when you do not enter your laboratory’s range.
Reading the delta ratio
If one acid is added, each mmol of anion that widens the gap should use up about one mmol of bicarbonate, a ratio near 1. In practice the ratio is close to 1 in ketoacidosis and averages about 1.5 in lactic acidosis, so a range of values counts as one disorder:
- below 0.4 — the bicarbonate has fallen much more than the gap has risen: a normal-anion-gap (hyperchloraemic) acidosis is likely the main process;
- 0.4 to below 0.8 — a high-anion-gap and a normal-anion-gap acidosis together are likely;
- 0.8 to 2 — fits a high-anion-gap acidosis on its own;
- above 2 — the bicarbonate is higher than the gap explains: a metabolic alkalosis as well, or a high bicarbonate from before, such as a compensated chronic respiratory acidosis.
These cut-offs are rules of thumb and the sources differ — one review uses 0.8 and 1.2 — so treat the delta ratio as a clue to look further, not as a diagnosis.
Sources
- Kraut JA, Nagami GT. The serum anion gap in the evaluation of acid-base disorders: what are its limitations and can its effectiveness be improved? — Clin J Am Soc Nephrol
- Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine — Clin J Am Soc Nephrol
- Figge J et al. Anion gap and hypoalbuminemia — Crit Care Med
- Breathing and balance: clinical insights and management strategies of respiratory acid-base disorders — Nutr Clin Pract: the delta ratio with a normal gap of 12 and bicarbonate of 24
- Analysis of acid-base disorders in an ICU cohort using a computer script — Intensive Care Med Exp: delta ratios below 0.4 and above 2
- Acid-base disorders in patients with chronic obstructive pulmonary disease: a pathophysiological review — J Biomed Biotechnol: a delta ratio of 1–2 in a pure acidosis
- Hyperglycemic crises in adults with diabetes: a consensus report — Diabetes Care: the anion gap in diabetic ketoacidosis
Limitations
- The anion gap is one clue: it cannot tell a metabolic acidosis from the compensation for a respiratory alkalosis without the pH and PaCO₂ — use the ABG / Acid-Base Interpreter for a blood gas.
- Normal ranges depend on the laboratory and analyser; results compared with another laboratory’s range can mislead.
- A normal anion gap does not rule out lactic acidosis or another high-anion-gap acidosis, especially at a low albumin.
- Accepts sodium 100–200, chloride 50–150, bicarbonate 2–60 and potassium 1–10 mmol/L, and albumin 0.5–7 g/dL (5–70 g/L).
Privacy
On this device: nothing is sent
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
What do I get without a pass?
Without a pass, Anion Gap Calculator shows the anion gap in full with what it means, and the first rows of the working table; every other figure is hidden. Until you unlock it, the result can’t be copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.
What is a normal anion gap?
It depends on the laboratory. Textbooks give ranges from 3–11 mmol/L with ion-selective electrodes up to 8–16 mmol/L; a review gives about 10 (8–12) mmol/L. Use the range printed on your report: enter it under Reference values of your laboratory. Without one, this page uses 8–12 mmol/L.
Why correct the anion gap for albumin?
Albumin is a large share of the negative charge the anion gap leaves out. When albumin is low — common in critical illness — the normal gap shrinks by about 2.5 mmol/L for every 1 g/dL fall, so a gap that looks normal can hide an acidosis. Figge’s correction adds 2.5 × (normal albumin − measured albumin in g/dL) back.
Should potassium be included?
The original anion gap included potassium; most textbooks now leave it out because its changes are small. Including it helps when potassium is far from normal: a rise from 3.5 to 6.5 mmol/L shifts the gap by 3. If you include potassium, compare the result only with a reference range that includes it too.
What causes a high anion gap?
Acids whose anions are not measured: ketoacidosis (for example diabetic ketoacidosis), lactic acidosis, kidney failure, and poisonings such as methanol, ethylene glycol or salicylate. The anion gap only points to the pattern; finding the cause needs a clinician and often a lactate, ketone or toxicology test.
What does a low anion gap mean?
Most often a laboratory error or a low albumin. Unmeasured cations such as paraproteins can also lower the gap. A negative anion gap is almost always a measurement problem — check the values against the report.
What is the delta ratio for?
In a high-anion-gap acidosis it compares the rise in the gap with the fall in bicarbonate. A ratio well below 1 suggests a normal-anion-gap acidosis as well; well above 2, a metabolic alkalosis as well. It is a rule of thumb whose cut-offs differ between sources.
Are my results sent anywhere?
No. Everything is calculated in your browser; the numbers you type are not uploaded or stored.