Anion Gap Engine
Acid-Base Modeling Suite
Anion Solver
Enter serum electrolytes to resolve anion deviation and delta-delta mixed disorders.
Verified
Last Review: 2026-07-17
| Category | Anion Gap | Common Causes | Mechanism | Diagnostic Approach |
|---|---|---|---|---|
| High Anion Gap Metabolic Acidosis (HAGMA) | >12 mEq/L | Methanol, Uremia, DKA, Paraldehyde, Isoniazid/Iron, Lactic acidosis, Ethylene glycol, Salicylates (MUDPILES mnemonic) | Accumulation of unmeasured organic acids (lactate, ketones, formic acid, oxalic acid, glycolic acid, acetylsalicylate) | Check lactate, ketones (β-hydroxybutyrate), BUN/creatinine, toxic alcohol panel, salicylate level, iron level, osmolal gap |
| Normal Anion Gap Metabolic Acidosis (NAGMA) | 8-12 mEq/L (normal) | Diarrhea (bicarbonate loss), Renal tubular acidosis (RTA types 1-4), Ureteral diversion, Pancreatic fistula, Dilutional acidosis, Hyperalimentation (TPN) without bicarbonate | Bicarbonate loss (GI or renal) or dilution, with intact anion gap | Check urine anion gap (UAG), urine pH, serum potassium (differentiates RTA types), stool studies for diarrhea |
| Low Anion Gap (<6 mEq/L) | <6 mEq/L | Hypoalbuminemia (most common), Hypercalcemia (ionized), Hypermagnesemia, Lithium toxicity, Bromide intoxication (pseudo-elevated chloride), Multiple myeloma (cationic paraproteins), Hyperviscosity | Reduced unmeasured anions (albumin) OR falsely elevated chloride (bromide interference) OR cationic paraproteins neutralising negative charge | Check albumin, total protein, calcium, magnesium, lithium level, serum protein electrophoresis (SPEP) |
| Letter | Cause | Key Diagnostic Features | Specific Tests |
|---|---|---|---|
| M | Methanol | Vision changes (blurred, "snowstorm"), abdominal pain, altered mental status, high osmolal gap early | Serum methanol level, osmolal gap, formic acid (late) |
| U | Uremia | ESRD or advanced CKD (BUN typically >60-80 mg/dL, creatinine >4-6), nausea, fatigue, pericarditis | BUN, creatinine, estimated GFR |
| D | Diabetic Ketoacidosis (DKA) | Hyperglycemia (>250 mg/dL), polyuria, polydipsia, Kussmaul breathing, ketosis | Serum glucose, β-hydroxybutyrate, urine ketones, anion gap, pH |
| P | Paraldehyde (rare) | Characteristic pungent odor (breath, urine), neurotoxicity | Paraldehyde level (rarely measured), clinical history of seizure disorder or alcohol use disorder |
| I | Isoniazid (INH) or Iron | INH: seizures (refractory), lactic acidosis; Iron: vomiting, GI bleeding, hepatic necrosis, shock | INH level, iron level, lactate, anion gap |
| L | Lactic Acidosis | Type A: shock, sepsis, hypoxia; Type B: metformin, linezolid, propofol, NRTIs, liver failure, malignancy | Lactate level, clinical context (presence of tissue hypoperfusion) |
| E | Ethylene Glycol | Ingestion (antifreeze, industrial solvents), inebriation without elevated ethanol, calcium oxalate crystals (urine), acute kidney injury | Serum ethylene glycol level, osmolal gap, urine fluorescence (IV fluorescein in antifreeze), calcium oxalate crystalluria |
| S | Salicylates | Tinnitus, hyperventilation, mixed respiratory alkalosis + HAGMA, fever, altered mental status | Serum salicylate level, ABG (early respiratory alkalosis, late acidosis) |
| Delta Ratio | Interpretation | Example Clinical Scenario | Management Implication |
|---|---|---|---|
| <0.4 | Mixed HAGMA + NAGMA (bicarbonate loss from both sources) | Diarrhea (NAGMA) + DKA (HAGMA); DKA with hyperchloremia due to saline hydration | Replace bicarbonate cautiously (may worsen hyperchloremia); treat underlying causes (insulin for DKA, fluids for diarrhea) |
| 0.4-0.8 | HAGMA + NAGMA (typical in DKA after treatment with normal saline) | DKA patient receiving IV fluids (chloride load causing hyperchloremic acidosis), or renal tubular acidosis with organic acidosis | Monitor response to therapy; delta ratio should normalize as HAGMA resolves; if persistent, evaluate for RTA or ongoing GI loss |
| 0.8-1.2 | Pure HAGMA (no mixed disorder) | Typical DKA, lactic acidosis, uremic acidosis (before dialysis) | Treat underlying cause (insulin, fluids, pressors, dialysis). No additional bicarbonate loss or alkalosis. |
| 1.2-2.0 | HAGMA + Metabolic Alkalosis | DKA with vomiting (loss of gastric acid); lactic acidosis with diuretic use; post-hypercapnia (COPD treated with BiPAP, causing alkalosis post-HAGMA) | Correct alkalosis (anti-emetics, discontinue diuretics); monitor potassium (hypokalemia worsens alkalosis) |
| >2.0 | HAGMA + Metabolic Alkalosis (or high baseline HCO₃) | DKA with severe vomiting; pre-existing chronic respiratory acidosis (COPD) with acute lactic acidosis; post-dialysis alkalosis | Intensive monitoring; may require acetazolamide if severe metabolic alkalosis and unable to correct underlying cause |
| Formula | Equation | When Used | Advantages | Disadvantages |
|---|---|---|---|---|
| Standard AG | Na – (Cl + HCO₃) | Routine clinical use, most widely validated | Simple, widely available, normal range well-defined (8-12) | Requires albumin correction for hypoalbuminemia; influenced by sodium measurement method |
| Albumin-Corrected AG (Figge) | Measured AG + 2.5×(4.0 - Albumin g/dL) | Hypoalbuminemia (cirrhosis, nephrotic syndrome, malnutrition, critical illness) | Accurately reveals HAGMA masked by low albumin; validated in ICU populations | Requires albumin measurement; correction factor may not be linear at extremes (<1.5 g/dL or >5.0 g/dL) |
| Adjusted AG (Kellum) | Na – (Cl + HCO₃) – (0.25 × Albumin in g/dL) | ICU/critical illness, simultaneous adjustment for albumin and phosphate | More accurate in critically ill with multiple unmeasured anions | Complex, less validated, not routinely available |
| Winter's Correction for AG | Expected ΔAG = (24 – HCO₃) × 1.2 ± 2 | Checking if AG elevation matches HCO₃ drop (similar to delta ratio but uses predicted Δ) | Alternate to delta ratio | Less intuitive than delta ratio, same limitations with abnormal baseline HCO₃ |
| Scenario | Laboratory Findings | Anion Gap (Corrected if applicable) | Delta Ratio | Interpretation | Management |
|---|---|---|---|---|---|
| Uncomplicated DKA | Na 135, Cl 95, HCO₃ 12, Glucose 450, Albumin 4.0, β-OHB 8 | AG = 135 - (95+12) = 28 (elevated) | ΔAG = 16, ΔHCO₃ = 12 → Delta = 1.33 (pure HAGMA) | Insulin, IV fluids (balanced crystalloids preferred over normal saline to avoid hyperchloremia), potassium replacement, monitor AG until closure (typically 4-6 hours) | |
| DKA + Vomiting (mixed HAGMA + metabolic alkalosis) | Na 140, Cl 90, HCO₃ 18, Glucose 350, Albumin 4.0 | AG = 140 - (90+18) = 32 (elevated) | ΔAG = 20, ΔHCO₃ = 6 → Delta = 3.3 (>2.0, HAGMA + metabolic alkalosis) | Anti-emetics (ondansetron), IV fluids (caution with normal saline – will worsen alkalosis), monitor potassium (hypokalemia common due to both DKA and vomiting), treat DKA with insulin; alkalosis resolves with vomiting control | |
| DKA + Normal Saline Hydration (mixed HAGMA + NAGMA) | Na 138, Cl 110, HCO₃ 14, Glucose 220, Albumin 3.8 | AG = 138 - (110+14) = 14 (elevated) | Corrected AG = 14 + 2.5×(4-3.8)=14+0.5=14.5 | ΔAG = 2.5, ΔHCO₃ = 10 → Delta = 0.25 (<0.4, HAGMA + NAGMA) | Switch to balanced crystalloids (Ringer's lactate, Plasmalyte) instead of normal saline; monitor for hyperchloremia (will resolve as AG closes, but may require diuresis) | |
| Lactic Acidosis (Septic Shock) | Na 145, Cl 105, HCO₃ 8, Albumin 2.5, Lactate 12 | AG = 145 - (105+8) = 32 | Corrected AG = 32 + 2.5×(4-2.5)=32+3.75=35.75 | ΔAG = 23.75, ΔHCO₃ = 16 → Delta = 1.48 (HAGMA, can be pure or mixed with alkalosis depending on volume status) | Treat underlying sepsis (antibiotics, source control), fluids (balanced crystalloids), vasopressors (norepinephrine), consider bicarbonate infusion if pH <7.15 (controversial). Correct AG should track with lactate clearance. | |
| Methanol Ingestion (Early, before metabolism) | Na 140, Cl 100, HCO₃ 22, Ethanol negative, Albumin 4.0 | AG = 140 - (100+22) = 18 (mild elevation) | Osmolal gap = 45 (normal <10) – elevated AG + elevated osmolal gap = toxic alcohol ingestion | Fomepizole loading dose (15 mg/kg IV) + maintenance (10 mg/kg q12h), hemodialysis if high levels or visual symptoms, check methanol level, monitor for metabolic acidosis development. | |
| Ethylene Glycol Ingestion (Late, after metabolism) | Na 138, Cl 100, HCO₃ 6, Albumin 3.8, Calcium oxalate crystals (urine) | AG = 138 - (100+6) = 32 | Corrected AG = 32 + 2.5×(4-3.8)=32.5 | Osmolal gap may be normal (parent alcohol metabolized), elevated AG confirms HAGMA | Fomepizole + hemodialysis (even late, removes glycolic and oxalic acids), IV fluids, calcium for hypocalcemia (avoid calcium if suspect ethylene glycol without confirmation – calcium oxalate crystallization may worsen? No, calcium is safe and indicated for symptomatic hypocalcemia). | |
| Cirrhosis with Hepatorenal Syndrome (HRS) and Lactic Acidosis | Na 132, Cl 100, HCO₃ 18, Albumin 2.2, Lactate 4.5 | Measured AG = 132 - (100+18) = 14 | Corrected AG = 14 + 2.5×(4-2.2)=14+4.5=18.5 (elevated) | Delta ratio = (18.5-12)/(24-18) = 6.5/6 = 1.08 (pure HAGMA) | HAGMA is present but would be missed without albumin correction (measured AG 14 is borderline). Treat HRS (midodrine+octreotide, terlipressin if available) and underlying hepatic failure. Corrected AG should improve with treatment. | |
| Multiple Myeloma with Low Anion Gap | Na 138, Cl 105, HCO₃ 24, Albumin 3.5, Total protein 11.0 | AG = 138 - (105+24) = 9 (normal but near lower limit) | Corrected AG = 9 + 2.5×(4-3.5)=9+1.25=10.25 (normal) | Low AG despite normal albumin? Check SPEP for M-spike. This patient has IgG kappa myeloma (cationic paraprotein reduces AG). | Workup: serum protein electrophoresis (SPEP) with immunofixation, free light chains, skeletal survey, bone marrow biopsy. Treat myeloma (chemotherapy, stem cell transplant). AG may normalize with response. | |
| Salicylate Overdose | Na 140, Cl 95, HCO₃ 12, Albumin 3.8, Salicylate level 45 mg/dL | AG = 140 - (95+12) = 33 | Corrected AG = 33 + 2.5×(4-3.8)=33+0.5=33.5 | ABG: pH 7.48, pCO₂ 20 (mixed respiratory alkalosis + HAGMA) | Urinary alkalinization (IV sodium bicarbonate to maintain urine pH >7.5), hemodialysis if level >100 mg/dL (acute) or >60 mg/dL (chronic) with acidosis. Monitor glucose (salicylates cause hypoglycemia in children). |
Emmett M et al. • Medicine (Baltimore). 1977;56(3):220-235. doi: 10.1097/00005792-197705000-00006
Figge J et al. • Clinical Chemistry. 1998;44(12):2404-2408. PMID: 9836712
Wrenn K • Annals of Emergency Medicine. 1990;19(11):1310-1313. doi: 10.1016/s0196-0644(05)82292-4
Rastegar A • American Journal of Medicine. 2007;120(11):960-964. doi: 10.1016/j.amjmed.2007.04.017
Kidney Disease: Improving Global Outcomes (KDIGO) Acid-Base Work Group • Kidney International Supplements. 2021;11(1):1-44. doi: 10.1016/j.kisu.2020.12.001
Kraut JA et al. • Clinical Journal of the American Society of Nephrology. 2008;3(1):208-225. doi: 10.2215/CJN.03220707
| Year | Contributor(s) | Institution | Contribution |
|---|---|---|---|
| 1920s-1930s | Gamble JL, Butler AM, et al. | Harvard Medical School, Boston | First description of "unmeasured anions" using electroneutrality principle; noted Na+K > Cl+HCO₃. |
| 1977 | Emmett M, Narins RG | University of Texas Southwestern Medical Center, Dallas | Established anion gap as clinical tool for metabolic acidosis differentiation (HAGMA vs NAGMA). Introduced systematic approach to mixed acid-base disorders. Published in *Medicine*. |
| 1980s | Manufacturers (Radiometer, Beckman, etc.) | Global | Introduction of ion-selective electrodes (ISE) for electrolyte measurement. Reduced normal AG range from 12-16 to 8-12 mEq/L. |
| 1980s-1990s | Medical educators (origin uncertain, likely Mehta A, Emmett M, or Narins RG) | Various | Development of MUDPILES mnemonic for HAGMA causes. Variations exist (MUD PILES, MUDPILERS, GOLDMARK). |
| 1990 | Wrenn K | Vanderbilt University Medical Center, Nashville | Formalization of delta ratio (ΔAG/ΔHCO₃) for identifying mixed disorders in HAGMA. Validated in DKA, lactic acidosis, uremia. |
| 1998 | Figge J, Jabor A, Kazda A, Fencl V | University of Pittsburgh / Charles University, Prague | Derivation and validation of albumin correction formula for anion gap (2.5 per 1.0 g/dL drop). Demonstrated that failure to correct misses 20-40% of HAGMA in hypoalbuminemia. |
| 2007 | Rastegar A | Yale University School of Medicine, New Haven | Comprehensive review of AG utility, pitfalls, and clinical algorithms. Recommended albumin correction and delta ratio in routine practice. |
| 2008 | Kraut JA, Kurtz I | UCLA / Boston University | Integration of osmolal gap with anion gap for toxic alcohol diagnosis. Established clinical algorithm: AG elevation + osmolal gap elevation = toxic alcohol until proven otherwise. |
| 2021 | KDIGO Acid-Base Work Group | International (KDIGO) | Official guideline endorsement of AG, albumin correction, delta ratio, and osmolal gap for acid-base diagnosis (Level 1A evidence). |
Last Comprehensive Review: 2026-07-17
Scanning Medical Journals
No new significant updates or guidelines matching this topic were found today. We will check again soon.
