
The anion gap: a calculated clue, not a number to track
The anion gap isn't measured directly. It's calculated from a routine blood panel, and clinicians use it to catch acids hiding in the blood.
TL;DR
- The anion gap is calculated, not measured directly: sodium minus chloride and bicarbonate, from a routine metabolic panel.
- A wider-than-normal gap points to unmeasured acids building up in the blood.
- Albumin skews the calculation, so clinicians often correct for it before interpreting the result.
What is an anion gap, really?
The anion gap (in plain English: a calculated number, not a substance in the blood) comes from a routine metabolic panel. It is calculated by subtracting chloride and bicarbonate from sodium: anion gap = sodium – (chloride + bicarbonate) (StatPearls, 2023). A normal result typically falls between 4 and 12 mmol/L, though the range depends on the lab and whether potassium is included (StatPearls, 2023). It is never drawn from a separate tube; it only exists on paper, after the fact.
How it works
Think of the anion gap like a grocery receipt that doesn't ring up every item in the cart. Blood is electrically neutral overall, but routine panels only measure a few charged particles: sodium and potassium on one side, chloride and bicarbonate on the other. Unmeasured particles, mostly albumin, the most abundant blood protein, make up the rest (StatPearls, 2023). When abnormal acids appear, from a cause like diabetic ketoacidosis or kidney failure, they widen the calculated gap (StatPearls, 2025).
Who asks about it
Clinicians reach for the anion gap when a metabolic panel shows low bicarbonate, or when acid-base status is a concern, such as diabetic ketoacidosis, sepsis, or kidney failure. It is not something primary care orders as a standalone test.
What the research says
An anion gap above 18 almost always signals an organic acid problem (StatPearls, 2025). Albumin accounts for most of the unmeasured anions behind a normal gap, so a drop in albumin can hide a true elevated gap. For every 1 gram per deciliter drop in albumin below its normal 4.5 g/dL, the gap falls by about 2.5 mEq/L (StatPearls, 2025). A higher gap also links to higher in-hospital mortality in critically ill patients (StatPearls, 2025).
What to know before considering it
The anion gap is a clinician's diagnostic tool, not a number for a patient to monitor at home. It has no single correct target: a clinician interprets it next to bicarbonate, chloride, symptoms, and the reason the panel was ordered. It also depends on the lab and whether potassium is included.
The Halftime POV
We think the anion gap is a good reminder that not every lab number is meant for a patient to read directly. It is built for a clinician's diagnosis, not a self-tracking dashboard.
Related reading:
- albumin: what the blood marker measures
- fructosamine: the short-window blood sugar test
- reference range vs. optimal range: the trap
FAQ
Q: what is an anion gap blood test A: An anion gap is not a separate blood test. It is a number calculated from results already on a basic or comprehensive metabolic panel: sodium minus the sum of chloride and bicarbonate (StatPearls, 2023). Clinicians use it to check whether unmeasured acids might be present in the blood. A normal result typically falls between about 4 and 12 mmol/L, depending on the lab and whether potassium is included in the formula.
Q: is anion gap measured or calculated A: The anion gap is calculated, not measured directly. A lab measures sodium, chloride, and bicarbonate from a blood sample, and then subtracts chloride and bicarbonate from sodium to get the anion gap (StatPearls, 2023). No separate anion gap test exists. Because it depends entirely on those three measured values, any lab error in one of them changes the calculated gap.
Q: why does albumin affect the anion gap A: Albumin is the main unmeasured negatively charged protein behind a normal anion gap. When albumin drops, as it does in malnutrition, liver disease, or critical illness, the calculated gap falls too, even if unmeasured acids are actually present (StatPearls, 2025). Clinicians correct for this using a formula that adds back roughly 2.5 mEq/L for every 1 gram per deciliter that albumin sits below its normal value.
Disclaimer
This article is educational and is not medical advice. Compounded medications are not FDA-approved. Clinical outcomes depend on individual factors and require physician evaluation. Results vary.
Get started
We share what we learn along the way — the research, the regulations, the real-world trade-offs. Get started with Halftime Health.
Sources
- Biochemistry, Anion Gap — StatPearls, NCBI Bookshelf, NIH, 2023
- Anion Gap and Non-Anion Gap Metabolic Acidosis — StatPearls, NCBI Bookshelf, NIH, 2025
Frequently asked questions
what is an anion gap blood test
An anion gap is not a separate blood test. It is a number calculated from results already on a basic or comprehensive metabolic panel: sodium minus the sum of chloride and bicarbonate (StatPearls, 2023). Clinicians use it to check whether unmeasured acids might be present in the blood. A normal result typically falls between about 4 and 12 mmol/L, depending on the lab and whether potassium is included in the formula.
is anion gap measured or calculated
The anion gap is calculated, not measured directly. A lab measures sodium, chloride, and bicarbonate from a blood sample, and then subtracts chloride and bicarbonate from sodium to get the anion gap (StatPearls, 2023). No separate anion gap test exists. Because it depends entirely on those three measured values, any lab error in one of them changes the calculated gap.
why does albumin affect the anion gap
Albumin is the main unmeasured negatively charged protein behind a normal anion gap. When albumin drops, as it does in malnutrition, liver disease, or critical illness, the calculated gap falls too, even if unmeasured acids are actually present (StatPearls, 2025). Clinicians correct for this using a formula that adds back roughly 2.5 mEq/L for every 1 gram per deciliter that albumin sits below its normal value.
Membership includes a blood panel you collect at home. A licensed physician reviews your labs.
Membership from $39/mo, or $390 for the year, including your onboarding panel. Each protocol is its own monthly subscription.



