Clinical Medicine • Acid-Base Disorders

Anion Gap Explained

The anion gap is one of the most useful calculations in clinical medicine. It helps identify hidden acids in the blood and plays a central role in evaluating metabolic acidosis. Understanding the anion gap allows clinicians to distinguish between acid accumulation and bicarbonate loss, identify dangerous conditions such as ketoacidosis and lactic acidosis, and interpret arterial blood gases more accurately.

Dr. Seneth Gajasinghe, MBBS, MD Published: 18 June 2026 Updated: 31 July 2026 25 min read Reviewed Content

Most students memorise the anion gap formula before they understand what the gap actually represents. The anion gap is not a mysterious extra test. It is a way of estimating the unmeasured negatively charged particles in blood using routinely measured electrolytes.

This article builds directly on Metabolic Acidosis Explained and Acid-Base Disorders Explained. It focuses on what the anion gap means, how to calculate it, why albumin matters, and how to use it clinically.

Learning Objectives

  • Define the anion gap and explain why it exists
  • Use the anion gap formula correctly
  • Explain measured and unmeasured ions
  • Identify what a normal or high anion gap means
  • Explain why albumin changes the anion gap
  • Calculate an albumin-corrected anion gap
  • Apply the anion gap in metabolic acidosis interpretation

What Is the Anion Gap?

The anion gap is the difference between measured cations and measured anions. In the common clinical formula, sodium is the main measured cation, while chloride and bicarbonate are the measured anions.

The anion gap is therefore a calculated estimate of the anions that are present in blood but not included in the routine electrolyte formula. These are called unmeasured anions.

Key Definition

The anion gap is the difference between measured positive ions and measured negative ions. It estimates unmeasured anions, especially albumin under normal conditions and pathological acid anions during high anion gap metabolic acidosis.

The body as a whole is electrically neutral:

Total positive chargesequalTotal negative charges

However, routine laboratory panels measure only some of those charges. The gap between measured and unmeasured ions is what makes the anion gap clinically useful.

Anion gap concept showing measured cations measured anions and unmeasured anions
Figure 1. The anion gap represents unmeasured anions that are not included in routine electrolyte measurements.

Why Does the Anion Gap Exist?

The anion gap exists because laboratories do not routinely measure every charged molecule in blood. We commonly measure sodium, chloride and bicarbonate. We do not routinely include albumin, phosphate, sulphate, lactate, ketones and many organic acids in the standard formula.

Routine anion gap calculation uses:

  • Na+: the main measured cation
  • Cl-: the major measured anion
  • HCO3-: the second major measured anion

Important unmeasured anions include:

  • Albumin
  • Phosphate
  • Sulphate
  • Lactate
  • Ketones
  • Organic acids
Total negative chargesSome measuredSome unmeasuredAnion gap
Unmeasured anions contributing to the anion gap including albumin phosphate sulphate lactate ketones and organic acids
Figure 2. Unmeasured anions include albumin, phosphate, sulphate, lactate, ketones and organic acids.

The Anion Gap Formula

The classic anion gap formula is:

Anion Gap = Na+ - (Cl- + HCO3-)
Use values from the same sample whenever possible.
Anion gap formula explained using sodium chloride bicarbonate and remaining unmeasured anions
Figure 3. The anion gap formula subtracts measured anions from the main measured cation.

Why Does the Formula Work?

Sodium is the major measured positive ion in extracellular fluid. Chloride and bicarbonate are the major measured negative ions used in routine electrolyte interpretation. The difference between sodium and the measured anions estimates the amount of negative charge carried by unmeasured anions.

Na+ = measured positive chargeCl- + HCO3- = measured negative chargeDifference = unmeasured anionsThis difference is the anion gap

When acids such as lactate, ketones or toxic alcohol metabolites accumulate, their negative anions increase. This increases the anion gap.

Why Is Potassium Usually Excluded?

Some older formulas include potassium:

AG = (Na+ + K+) - (Cl- + HCO3-)
This version includes potassium as an additional measured cation.

However, potassium concentration is much lower than sodium concentration and usually contributes little to the final result. For simplicity, most modern clinical teaching and many laboratories use the formula without potassium:

AG = Na+ - (Cl- + HCO3-)

Formula Breakdown

Sodium is the main measured cation. Chloride is the major measured anion. Bicarbonate is the other major measured anion used in the formula. The remaining difference estimates unmeasured anions.

Worked Example

VariableValueRole
Na+140 mmol/LMain measured cation
Cl-102 mmol/LMeasured anion
HCO3-24 mmol/LMeasured anion
AG = 140 - (102 + 24) = 14
Anion gap = 14 mmol/L.

For calculation support, use the Anion Gap Calculator.

Whether 14 is normal or mildly elevated depends on the laboratory reference range and albumin concentration. This is why interpretation matters more than the raw calculation alone.

Unmeasured Anions

The most important unmeasured anion under normal conditions is albumin. Albumin carries negative charge, so it contributes a large part of the normal anion gap. This is why hypoalbuminaemia can make the observed anion gap look deceptively low.

Other unmeasured anions become clinically important when they accumulate. Lactate rises in lactic acidosis. Ketones rise in diabetic, alcoholic or starvation ketoacidosis. Sulphate and phosphate can accumulate in renal failure. Toxic alcohols produce acidic metabolites such as formate, glycolate and oxalate.

Clinical Pearl

Albumin contributes most of the normal anion gap. Always think about albumin before declaring a gap normal.

Albumin and other unmeasured anions contributing to the anion gap
Figure 4. Albumin is the most important unmeasured anion in the normal anion gap.

Normal Values

A commonly used normal anion gap range is 8-12 mmol/L. Some laboratories use 6-12 mmol/L or another locally validated range. Always interpret the result using the local laboratory reference range when available.

Anion gapTypical interpretationImportant caution
NormalNo obvious increase in unmeasured anionsMay be falsely reassuring if albumin is low
HighUnmeasured anions have increasedUsually suggests acid accumulation in metabolic acidosis

A normal anion gap usually means there is no major accumulation of unmeasured acids, but it does not exclude serious illness. A patient can be critically unwell with normal anion gap metabolic acidosis, especially from severe diarrhoea or renal tubular acidosis.

Normal versus high anion gap comparison showing normal unmeasured anions and increased unmeasured acid anions
Figure 5. A normal gap does not exclude illness; a high gap suggests increased unmeasured anions.
Why Reference Ranges Differ

Modern ion-selective electrode analysers often produce lower reference ranges than older laboratory methods, so a value considered elevated by one laboratory may be normal on another instrument. For patients with previous stable electrolyte results, comparing against their own usual baseline can also add useful context — for example, a rise from a baseline AG of 5 mmol/L to 11 mmol/L may be meaningful even though 11 lies within a traditional reference range. This should never replace direct measurement of suspected substances such as lactate or ketones.

High Anion Gap

A high anion gap means unmeasured anions have increased. In metabolic acidosis, this usually means acids have accumulated. The hydrogen ions are buffered by bicarbonate, lowering HCO3-, while the remaining anions increase the gap.

Common Causes

CauseUnmeasured anionClinical clue
DKAKetonesDiabetes, hyperglycaemia, ketones, dehydration
SepsisLactateShock, infection, poor perfusion
Renal failureSulphate, phosphateRaised creatinine, uraemia, reduced acid excretion
MethanolFormateVisual symptoms, severe acidosis, toxic alcohol history
Ethylene glycolGlycolate, oxalateRenal injury, calcium oxalate crystals, toxic alcohol history

Remember GOLDMARK

GOLDMARK is a modern mnemonic for common causes of high anion gap metabolic acidosis.

Letter Cause
GGlycols
OOxoproline
LL-lactate
DD-lactate
MMethanol
AAspirin / salicylates
RRenal failure
KKetoacidosis

For a detailed explanation of GOLDMARK causes, link to Metabolic Acidosis Explained.

Important

A high anion gap metabolic acidosis can signal life-threatening conditions such as lactic acidosis, ketoacidosis, renal failure or toxic alcohol ingestion.

Normal Anion Gap Metabolic Acidosis

Normal anion gap metabolic acidosis is also called hyperchloraemic metabolic acidosis. It usually occurs when bicarbonate is lost and chloride rises to maintain electrical neutrality, so the anion gap remains unchanged.

HCO3- lostCl- risesGap unchangedHyperchloraemic metabolic acidosis

Common causes include:

  • Diarrhoea
  • Renal tubular acidosis
  • Pancreatic losses
  • Ureteric diversion
Normal anion gap metabolic acidosis compared with high anion gap metabolic acidosis
Figure 6. Normal anion gap acidosis usually reflects bicarbonate loss with compensatory chloride rise.

Albumin Correction

Albumin correction is one of the most important clinical concepts in anion gap interpretation. Low albumin lowers the observed anion gap. A patient can have severe high anion gap metabolic acidosis but appear to have a normal or only mildly elevated gap if albumin is low.

Exam Pearl

A patient with severe sepsis and hypoalbuminaemia may have a normal observed anion gap despite significant lactic acidosis. Always consider albumin correction when albumin is low.

This matters in acutely unwell patients because hypoalbuminaemia is common in sepsis, chronic disease, liver disease, malnutrition and critical illness.

Low albumin lowering the observed anion gap and potentially hiding high anion gap metabolic acidosis
Figure 7. Low albumin can hide a clinically important high anion gap metabolic acidosis.

Corrected Anion Gap Formula

Corrected AG = Observed AG + 2.5 x (4 - Albumin)
Albumin is measured in g/dL.
Corrected anion gap formula showing albumin correction
Figure 8. Correcting the anion gap for albumin helps reveal hidden high anion gap acidosis.

Worked Example

VariableValue
Albumin2 g/dL
Observed anion gap10 mmol/L
Corrected AG = 10 + 2.5 x (4 - 2) = 15
The corrected result reveals an elevated gap.

Low Anion Gap

A low anion gap is far less common than a high anion gap, and before searching for an unusual cause, the first step should always be to consider laboratory or sampling error. Repeating the electrolyte measurement is often a reasonable first response to an unexpectedly low result.

CauseMechanism
HypoalbuminaemiaLower albumin means fewer unmeasured negative charges, so the calculated gap falls. Always correct for albumin before concluding no high-gap process exists.
ParaproteinsSome monoclonal proteins, such as in multiple myeloma, carry a positive charge and can lower the gap. A low gap alone is not sufficient to diagnose a plasma-cell disorder.
Increased unmeasured cationsLithium, marked hypermagnesaemia and marked hypercalcaemia are uncommon but recognised causes.
Chloride measurement interferenceCertain substances can interfere with chloride assays, producing an apparently elevated chloride and a lower calculated gap.
Sodium underestimationSevere hyperlipidaemia, hyperproteinaemia or extreme hypernatraemia may affect sodium measurement depending on the analytical method.
Clinical Approach

A low anion gap should prompt confirmation of the result and assessment of albumin before rarer explanations such as paraproteinaemia or lithium toxicity are pursued. Consider the whole clinical picture, including anaemia, renal dysfunction, hypercalcaemia, bone pain and abnormal total protein or globulin levels.

Worked Clinical Examples

Pattern recognition on paper is only useful once it has been applied to realistic clinical scenarios. Each example below follows the same sequence: calculate the anion gap, correct for albumin where relevant, and interpret the result alongside the clinical picture.

Example 1 — Lactic Acidosis in Septic Shock

TestValue
Sodium138 mmol/L
Chloride102 mmol/L
Bicarbonate14 mmol/L
Lactate7 mmol/L
AG = 138 - (102 + 14) = 22 mmol/L

High anion gap metabolic acidosis. The elevated lactate provides a likely explanation. Assess expected respiratory compensation and treat the underlying shock and infection.

Example 2 — Hidden High Gap With Hypoalbuminaemia

TestValue
Sodium136 mmol/L
Chloride104 mmol/L
Bicarbonate21 mmol/L
Albumin1.6 g/dL
Uncorrected AG = 136 - (104 + 21) = 11 mmol/L
Corrected AG = 11 + 2.5 x (4 - 1.6) = 17 mmol/L

The uncorrected result looks unremarkable, but the corrected gap reveals an unmeasured-anion process that direct measurement of lactate and ketones should now investigate.

Example 3 — Diarrhoea (Normal Anion Gap)

TestValue
Sodium139 mmol/L
Chloride113 mmol/L
Bicarbonate16 mmol/L
AG = 139 - (113 + 16) = 10 mmol/L

Normal anion gap metabolic acidosis. The elevated chloride supports a hyperchloraemic pattern consistent with gastrointestinal bicarbonate loss.

Example 4 — Diabetic Ketoacidosis

TestValue
Sodium132 mmol/L
Chloride96 mmol/L
Bicarbonate8 mmol/L
AG = 132 - (96 + 8) = 28 mmol/L

High anion gap metabolic acidosis caused by ketoacid accumulation. Assess potassium, glucose, volume status, the precipitating illness and expected respiratory compensation.

Example 5 — Mixed High and Normal Anion Gap Acidosis

A patient with diabetic ketoacidosis also has several days of diarrhoea.

TestValue
Sodium138 mmol/L
Chloride110 mmol/L
Bicarbonate10 mmol/L
AG = 138 - (110 + 10) = 18 mmol/L
Delta ratio = (18 - 12) / (24 - 10) = 6 / 14 = 0.43

The bicarbonate reduction is much greater than the rise in the anion gap, suggesting a high anion gap metabolic acidosis plus a normal anion gap metabolic acidosis — consistent with ketoacidosis combined with diarrhoeal bicarbonate loss. See Delta Ratio Explained for the full method and interpretation ranges.

Example 6 — Respiratory Alkalosis Mimicking Metabolic Acidosis

TestValue
pH7.49
PaCO226 mmHg
Bicarbonate19 mmol/L
Sodium139 mmol/L
Chloride108 mmol/L
AG = 139 - (108 + 19) = 12 mmol/L

Bicarbonate is low, but the pH is alkalemic and PaCO2 is low. This is a primary respiratory alkalosis with reduced bicarbonate as compensation, not a primary normal-gap metabolic acidosis. Never diagnose metabolic acidosis from bicarbonate alone — see ABG Interpretation Explained for the full approach.

Example 7 — Low Anion Gap

TestValue
Sodium138 mmol/L
Chloride108 mmol/L
Bicarbonate27 mmol/L
Albumin1.8 g/dL
AG = 138 - (108 + 27) = 3 mmol/L
Corrected AG = 3 + 2.5 x (4 - 1.8) = 8.5 mmol/L

Hypoalbuminaemia explains most of the low uncorrected gap. The result should still be interpreted against the local laboratory reference range and overall clinical context.

Clinical Uses

The anion gap is most useful in metabolic acidosis, but it also helps clinicians think about hidden acids, toxins, renal failure and albumin effects.

The anion gap helps:

  • Diagnose and classify metabolic acidosis
  • Identify hidden acids
  • Detect possible toxin ingestion
  • Evaluate renal failure
  • Assess diabetic ketoacidosis
  • Assess lactic acidosis

For calculations, use the Anion Gap Calculator. For broader blood gas interpretation, use the Blood Gas Analyser.

Clinical uses of the anion gap including metabolic acidosis toxins renal failure DKA and lactic acidosis
Figure 9. The anion gap helps classify metabolic acidosis and detect hidden acid accumulation.

Interpretation Algorithm

A structured approach makes the anion gap more useful and avoids over-interpreting a single number.

  1. Check bicarbonate. Is HCO3- low, suggesting metabolic acidosis?
  2. Calculate the anion gap. Use Na+ - (Cl- + HCO3-).
  3. Correct for albumin. Low albumin can hide an elevated gap.
  4. Determine normal or high AG. This separates bicarbonate loss from acid accumulation patterns.
  5. Identify the cause. Use clinical context, lactate, ketones, renal function, medications and toxin history.

If the ABG interpretation is difficult, use the Blood Gas Analyser together with clinical judgement.

Anion gap interpretation flowchart checking bicarbonate calculating anion gap correcting albumin and identifying cause
Figure 10. Anion gap interpretation should include bicarbonate, albumin correction and clinical context.
Clinical Pearls
  • A normal AG does not exclude serious illness.
  • Always correct for albumin when albumin is low.
  • Always interpret the AG in clinical context.
  • Use AG together with ABG findings.
  • The AG is most useful in metabolic acidosis.

Common Mistakes

The anion gap is simple to calculate, but easy to misinterpret. These are common mistakes in exams and clinical practice.

  • Ignoring albumin: low albumin can make the anion gap falsely low.
  • Assuming normal AG means no serious illness: normal anion gap metabolic acidosis can still be clinically important.
  • Interpreting AG without the ABG: the anion gap should be interpreted with pH, HCO3- and PaCO2.
  • Using values from different samples: sodium, chloride and bicarbonate should ideally come from the same blood sample.
  • Forgetting lactate and ketones: these are common causes of high anion gap metabolic acidosis.
  • Not correcting for albumin in critically ill patients: hypoalbuminaemia is common in sepsis, liver disease, malnutrition and critical illness.
Key Point

The anion gap should never be interpreted as an isolated number. Always combine it with albumin, ABG findings, renal function, lactate, ketones and the clinical picture.

One Minute Revision

  • The anion gap is Na+ - (Cl- + HCO3-).
  • It estimates unmeasured anions.
  • A common normal range is about 8-12 mmol/L.
  • A high AG suggests accumulation of acids such as lactate, ketones, toxic alcohol metabolites, sulphates or phosphates.
  • Albumin is the major contributor to the normal anion gap.
  • Always correct for albumin when interpreting the anion gap.

Frequently Asked Questions

What is the anion gap?
The anion gap is the difference between measured cations and measured anions. In practice it estimates unmeasured anions in the blood and is most useful when evaluating metabolic acidosis.
What is a normal anion gap?
A commonly used normal anion gap is about 8 to 12 mmol/L, but local laboratory reference ranges vary and may differ depending on whether potassium is included.
Why is albumin important?
Albumin is the most important unmeasured anion contributing to the normal anion gap. Low albumin lowers the observed anion gap and can hide a clinically important high anion gap acidosis.
What causes a high anion gap?
A high anion gap is usually caused by accumulation of acids and unmeasured anions, such as lactate, ketones, sulphate, phosphate, formate or glycolate.
What causes a normal anion gap metabolic acidosis?
Normal anion gap metabolic acidosis is commonly caused by bicarbonate loss or impaired renal acid handling, such as diarrhoea, renal tubular acidosis, pancreatic losses and ureteric diversion.
How do you calculate the anion gap?
The common formula is anion gap = Na+ - (Cl- + HCO3-). Use values from the same blood sample whenever possible.
How do you correct the anion gap for albumin?
A common correction is corrected AG = observed AG + 2.5 x (4 - albumin), where albumin is measured in g/dL.
What is the most important unmeasured anion?
Albumin is the most important contributor to the normal anion gap. Lactate, ketones and toxic metabolites become important when pathological acids accumulate.
Why is potassium not included in the anion gap?
Potassium is sometimes included in older formulas, but its concentration is much lower than sodium and usually contributes little to the final value. Most modern teaching uses AG = Na+ - (Cl- + HCO3-).
Can sepsis cause a high anion gap?
Yes. Sepsis can cause lactic acidosis due to tissue hypoperfusion and altered metabolism. Lactate is an unmeasured anion, so the anion gap may rise.
Can renal failure cause a high anion gap?
Yes. Advanced renal failure can cause a high anion gap because acids, sulphate and phosphate accumulate when the kidneys cannot excrete acid effectively.
What is the difference between high and normal anion gap metabolic acidosis?
High anion gap metabolic acidosis usually reflects accumulation of unmeasured acid anions. Normal anion gap metabolic acidosis usually reflects bicarbonate loss with a compensatory rise in chloride.
When should the anion gap be corrected for albumin?
The anion gap should be corrected when albumin is low, especially in critically ill patients, sepsis, liver disease, malnutrition, nephrotic syndrome or chronic illness.
What causes a low anion gap?
A low anion gap should first prompt confirmation of the result, since laboratory or sampling error is common. Recognised causes include hypoalbuminaemia, increased positively charged paraproteins such as in multiple myeloma, increased unmeasured cations such as lithium or severe hypercalcaemia, and analytical interference with chloride or sodium measurement.
When should the delta ratio be calculated?
The delta ratio is used only after a high anion gap metabolic acidosis has been confirmed, to assess whether an additional metabolic disorder such as a normal anion gap acidosis or metabolic alkalosis is also present. See Delta Ratio Explained for the full method.
Medical Education Disclaimer

This article is intended for medical education only. The anion gap is a clinical interpretation tool and must be used with the full clinical picture, local laboratory ranges, albumin concentration, blood gas findings and senior or specialist input when patients are acutely unwell.