How To Calculate Anion Gap

Anion Gap Calculator

Calculate the anion gap to assess metabolic acidosis and identify potential causes. Enter sodium, chloride, and bicarbonate levels below.

mEq/L
mEq/L
mEq/L
g/dL
Albumin correction adjusts for hypoalbuminemia (normal gap = 4 ± 2 mEq/L per 1 g/dL albumin decrease)

Your Results

12
mEq/L
Your calculated anion gap is 12 mEq/L, which falls within the normal reference range (8-16 mEq/L). This suggests your acid-base balance is likely normal, though clinical correlation is always required.

Corrected Anion Gap (if albumin provided):

12
mEq/L

Comprehensive Guide: How to Calculate and Interpret the Anion Gap

The anion gap is a calculated value derived from routine electrolyte measurements that helps clinicians evaluate metabolic acidosis and identify its underlying cause. This guide explains the physiological basis, calculation methods, clinical interpretation, and common pitfalls in anion gap analysis.

What Is the Anion Gap?

The anion gap represents the difference between the measured cations (positively charged ions) and measured anions (negatively charged ions) in the blood. It primarily reflects:

  • Unmeasured anions (e.g., proteins like albumin, phosphate, sulfate, organic acids)
  • Unmeasured cations (e.g., calcium, magnesium, potassium)

Clinical Note:

The anion gap is not a direct measurement but a calculated value that helps narrow the differential diagnosis of metabolic acidosis. Always correlate with clinical context and additional tests (e.g., lactate, ketones, renal function).

Anion Gap Formula

The standard formula for calculating the anion gap is:

Anion Gap = [Na⁺] − ([Cl⁻] + [HCO₃⁻])

Where:

  • Na⁺: Sodium concentration (normal: 135–145 mEq/L)
  • Cl⁻: Chloride concentration (normal: 98–106 mEq/L)
  • HCO₃⁻: Bicarbonate concentration (normal: 22–26 mEq/L)

Albumin-Corrected Anion Gap

Albumin is the major unmeasured anion in plasma. In hypoalbuminemia (common in critical illness), the anion gap appears falsely low. The corrected anion gap accounts for this:

Corrected Anion Gap = Measured Anion Gap + [2.5 × (4.4 − Albumin)]

Where 4.4 g/dL is the reference albumin level. For every 1 g/dL decrease in albumin, the anion gap decreases by ~2.5 mEq/L.

Normal Anion Gap Values

The reference range varies slightly by laboratory but is typically:

Parameter Normal Range Notes
Standard Anion Gap 8–16 mEq/L May vary by lab (some use 6–12 mEq/L)
Albumin-Corrected Gap 10–18 mEq/L Adjusts for hypoalbuminemia
High-Anion-Gap Acidosis >16 mEq/L Suggests unmeasured anions (e.g., lactate, ketones)
Normal-Anion-Gap Acidosis 8–16 mEq/L Often due to bicarbonate loss (e.g., diarrhea)

Causes of High Anion Gap Metabolic Acidosis (HAGMA)

A elevated anion gap (>16 mEq/L) indicates accumulation of unmeasured anions. Common causes include:

  • Lactic acidosis (e.g., shock, sepsis, hypoxia)
  • Ketoacidosis (diabetic, alcoholic, starvation)
  • Renal failure (uremia, sulfate/phosphate retention)
  • Toxins (salicylates, methanol, ethylene glycol)
  • Pyroglutamic acidosis (acetaminophen overdose)
  • D-lactic acidosis (short bowel syndrome)
  • 5-oxoprolinemia (genetic or drug-induced)
  • Rhabdomyolysis (late stage)

The mnemonic “MUDPILES” helps remember key causes:

Methanol
Uremia (renal failure)
Diabetic ketoacidosis
Paraldehyde
Isoniazid, Iron
Lactic acidosis
Ethylene glycol
Salicylates

Causes of Normal Anion Gap Metabolic Acidosis (NAGMA)

When the anion gap is normal (8–16 mEq/L) but metabolic acidosis is present (low HCO₃⁻), consider:

  1. Gastrointestinal bicarbonate loss (diarrhea, pancreatic fistula)
  2. Renal tubular acidosis (Types 1, 2, or 4)
  3. Carbonic anhydrase inhibitors (e.g., acetazolamide)
  4. Early renal failure (before anion accumulation)
  5. Addition of HCl or HCl equivalents (e.g., ammonium chloride, hyperalimentation)

Delta Ratio: Assessing Compensation

The delta ratio compares the change in anion gap (ΔAG) to the change in bicarbonate (ΔHCO₃⁻), helping distinguish pure HAGMA from mixed disorders:

ΔAG / ΔHCO₃⁻ = (Measured AG − 12) / (24 − Measured HCO₃⁻)
Delta Ratio Interpretation Possible Disorders
~1.0 Pure high-anion-gap acidosis Lactic acidosis, ketoacidosis
>2.0 Concurrent metabolic alkalosis Vomiting, diuretic use
<0.4 Concurrent normal-anion-gap acidosis RTA, diarrhea

Clinical Case Examples

Case 1: Diabetic Ketoacidosis (DKA)

  • Na⁺: 132 mEq/L
  • Cl⁻: 95 mEq/L
  • HCO₃⁻: 10 mEq/L
  • Anion Gap: 132 − (95 + 10) = 27 mEq/L (high)
  • Interpretation: Pure HAGMA (ΔAG/ΔHCO₃⁻ ≈ 1.1)

Case 2: Renal Tubular Acidosis (Type 1)

  • Na⁺: 140 mEq/L
  • Cl⁻: 110 mEq/L
  • HCO₃⁻: 16 mEq/L
  • Anion Gap: 140 − (110 + 16) = 14 mEq/L (normal)
  • Interpretation: NAGMA (bicarbonate loss without anion gap elevation)

Limitations and Pitfalls

  • Laboratory errors: Mismeasured Na⁺, Cl⁻, or HCO₃⁻ (e.g., hyperlipidemia causing pseudohyponatremia).
  • Albumin fluctuations: Hypoalbuminemia falsely lowers the gap; hyperalbuminemia raises it.
  • Unmeasured cations: Hypercalcemia, hypermagnesemia, or lithium toxicity may lower the gap.
  • Bromide/iodide toxicity: Falsely elevates Cl⁻ measurement, lowering the gap.
  • Mixed disorders: A normal gap doesn’t exclude mixed HAGMA + NAGMA or HAGMA + metabolic alkalosis.

Advanced Concepts

Strong Ion Difference (SID)

The anion gap is a simplified version of the strong ion difference (SID), which accounts for all charged particles in plasma. The SID is calculated as:

SID = ([Na⁺] + [K⁺] + [Ca²⁺] + [Mg²⁺]) − ([Cl⁻] + [lactate⁻] + other strong anions)

In health, the SID is ~40–44 mEq/L, maintained by bicarbonate and weak acids (e.g., albumin).

Urinary Anion Gap

Used to evaluate renal tubular acidosis (RTA) or gastrointestinal bicarbonate loss. Calculated as:

Urinary Anion Gap = [Na⁺] + [K⁺] − [Cl⁻]
  • Positive (>0): Suggests impaired NH₄⁺ excretion (e.g., RTA Type 1 or 4).
  • Negative (<0): Appropriate NH₄⁺ excretion (e.g., diarrhea).

Authoritative Resources

For further reading, consult these evidence-based sources:

Critical Reminder:

The anion gap is a screening tool, not a diagnosis. Always:

  • Confirm with arterial blood gas (ABG) analysis.
  • Measure lactate, ketones, and renal function.
  • Assess for toxin exposure (e.g., salicylates, methanol).
  • Consider mixed disorders (e.g., HAGMA + metabolic alkalosis).

Leave a Reply

Your email address will not be published. Required fields are marked *