Medical Calculator · Anion Gap · With Albumin Correction · 2025

Anion Gap Calculator — Serum Anion Gap with Albumin Correction

Free anion gap calculator — enter sodium, chloride, and bicarbonate to instantly calculate serum anion gap with and without albumin correction. Includes normal range interpretation, MUDPILES mnemonic for elevated anion gap causes, HARDUPS for normal anion gap acidosis, delta-delta ratio calculation, and a complete clinical interpretation guide.

⚠ Medical Disclaimer

This anion gap calculator is a clinical decision support tool for educational and reference purposes. It does not replace professional medical judgment. Always correlate calculated values with the full clinical picture. Calculations must be re-checked and should not be used alone to guide patient care.

🧬
Anion Gap Calculator
Na⁺ − (Cl⁻ + HCO₃⁻) · With Albumin Correction · Delta-Delta Ratio
Serum Electrolytes (mEq/L)
Albumin (for Corrected AG — optional)

Anion Gap Results
Anion Gap
mEq/L
Corrected AG
albumin-adjusted mEq/L
AG Interpretation
Delta-Delta Ratio

Anion Gap Formula — Explained

The anion gap formula is based on the principle of electroneutrality — in any solution, the total positive charges (cations) must equal the total negative charges (anions). By measuring the major measured cation (sodium) and the major measured anions (chloride and bicarbonate), we can calculate the "gap" that represents all the unmeasured anions.

Standard Anion Gap Formula

Anion Gap (AG) = Na⁺ − (Cl⁻ + HCO₃⁻)
All values in mEq/L

Albumin-Corrected Anion Gap = AG + 2.5 × (4.0 − measured albumin)
Use when serum albumin is below 4.0 g/dL

The normal anion gap accounts for unmeasured anions that are always present in healthy serum: albumin (the largest contributor), phosphate, sulfate, and organic acids. When additional pathological anions appear in the blood — such as lactate, ketoacids, uremic toxins, or ingested acids — the anion gap rises above the normal range.

Normal Anion Gap Range

ClassificationAG Range (mEq/L)Clinical Significance
Normal (traditional)8 – 12 mEq/LNo elevated unmeasured anions — normal acid-base
Normal (modern analyzers)3 – 11 mEq/LMore accurate chloride measurement lowers the range
Borderline elevated12 – 16 mEq/LInvestigate further — mild elevation possible pathology
ElevatedAbove 16 mEq/LElevated anion gap metabolic acidosis — see MUDPILES
Severely elevatedAbove 20 mEq/LSevere acidosis — urgent evaluation required
Low (negative)Below 3 mEq/LConsider hypoalbuminemia, multiple myeloma, lab error

Albumin Correction — Why It Matters

Albumin is the major unmeasured anion in normal serum. It contributes approximately 2.5 mEq/L to the anion gap for every 1 g/dL of albumin. When albumin is low — which is very common in critically ill, malnourished, or chronically ill patients — the measured anion gap is artificially lowered, potentially hiding a true elevated anion gap acidosis.

Critical Point for ICU Patients

A patient with albumin of 2.0 g/dL and a measured anion gap of 10 mEq/L actually has an albumin-corrected anion gap of 10 + 2.5 × (4.0 − 2.0) = 10 + 5 = 15 mEq/L — which is elevated. Always calculate the albumin-corrected anion gap in critically ill patients, who commonly have low albumin.

Albumin (g/dL)AG Correction AddedExample: Measured AG 10 → Corrected
4.0 (normal)+0 mEq/L10 mEq/L (no change)
3.0+2.5 mEq/L10 + 2.5 = 12.5 mEq/L
2.5+3.75 mEq/L10 + 3.75 = 13.75 mEq/L
2.0+5.0 mEq/L10 + 5 = 15 mEq/L ← elevated
1.5+6.25 mEq/L10 + 6.25 = 16.25 mEq/L ← clearly elevated
1.0+7.5 mEq/L10 + 7.5 = 17.5 mEq/L ← significantly elevated

MUDPILES — Causes of Elevated Anion Gap Metabolic Acidosis

The MUDPILES mnemonic is the standard memory tool for causes of elevated anion gap metabolic acidosis. Every cause produces an unmeasured acid that raises the anion gap.

LetterCauseUnmeasured AnionKey Features
MMethanolFormic acidOsmol gap elevated; visual changes; toxic ingestion history
UUremia (renal failure)Sulfate, phosphate, organic acidsElevated creatinine and BUN; chronic or acute kidney disease
DDiabetic Ketoacidosis (DKA)Beta-hydroxybutyrate, acetoacetateHyperglycemia; ketones in urine/blood; diabetes history
PPropylene glycol / ParacetamolLactic acid; pyroglutamic acidIV medications (lorazepam); elevated osmol gap
IIsoniazid / IronLactic acidTB medication; iron overdose; seizures with isoniazid
LLactic acidosisLactateMost common cause in hospitalized patients; shock, sepsis, ischemia
EEthylene glycolGlycolic acid, oxalic acidOsmol gap elevated; calcium oxalate crystals in urine; antifreeze ingestion
SSalicylatesSalicylic acidAspirin toxicity; mixed respiratory alkalosis + AG acidosis; tinnitus

Additional causes to consider: starvation ketoacidosis, alcoholic ketoacidosis, D-lactic acidosis (short bowel syndrome), pyroglutamic acidosis, and medications including metformin (rare), linezolid, and nucleoside reverse transcriptase inhibitors.

HARDUPS — Causes of Normal Anion Gap Metabolic Acidosis

When metabolic acidosis is present but the anion gap is not elevated (8–12 mEq/L normal range), the cause is a normal anion gap metabolic acidosis (also called hyperchloremic metabolic acidosis). The HARDUPS mnemonic covers these causes:

LetterCauseKey Features
HHyperalimentation (TPN)Total parenteral nutrition with excess chloride or amino acids
AAcetazolamide / Addison's diseaseCarbonic anhydrase inhibitor; adrenal insufficiency with low aldosterone
RRenal tubular acidosis (RTA)Type 1, 2, or 4 RTA; failure to excrete or reabsorb acid properly
DDiarrheaLoss of bicarbonate in stool; most common cause in community
UUreteroenteric fistula / ureterosigmoidostomyBowel reabsorbs urinary chloride, loses bicarbonate
PPancreatic fistulaLoss of bicarbonate-rich pancreatic secretions
SSaline infusion (dilutional acidosis)Large-volume normal saline administration dilutes bicarbonate

Delta-Delta Ratio — Detecting Mixed Disorders

The delta-delta ratio (Δ-Δ or delta gap / delta HCO₃) is used when an elevated anion gap acidosis is present to determine whether a concurrent metabolic disorder is also present. It compares the rise in anion gap to the fall in bicarbonate.

Delta-Delta Formula

ΔΔ = (Measured AG − 12) ÷ (24 − Measured HCO₃⁻)

ΔΔ < 0.4: Pure normal anion gap acidosis (no elevated AG)
ΔΔ 0.4–1.0: Mixed elevated AG + normal AG acidosis
ΔΔ 1.0–2.0: Pure elevated anion gap metabolic acidosis
ΔΔ > 2.0: Elevated AG acidosis + concurrent metabolic alkalosis

Delta-Delta ValueInterpretationClinical Example
< 0.4Pure normal AG acidosisSevere diarrhea without concurrent HAGMA
0.4 – 1.0Mixed HAGMA + NAGMADKA with concurrent severe diarrhea
1.0 – 2.0Pure HAGMALactic acidosis, DKA without complication
> 2.0HAGMA + metabolic alkalosisDKA with vomiting; diuretic use with lactic acidosis

Step-by-Step Anion Gap Interpretation Guide

Step 1 — Calculate the standard anion gapAG = Na⁺ − (Cl⁻ + HCO₃⁻). Compare to normal range (8–12 mEq/L traditional, 3–11 mEq/L with modern analyzers). If albumin is below 4.0 g/dL, calculate the albumin-corrected AG before making any conclusions.
Step 2 — Determine if metabolic acidosis is presentCheck arterial blood gas or venous blood gas. Metabolic acidosis = pH <7.35 with HCO₃⁻ <22 mEq/L. Determine if the anion gap is elevated or normal. This divides the differential into HAGMA (MUDPILES) vs NAGMA (HARDUPS).
Step 3 — If HAGMA, apply delta-delta ratioCalculate ΔΔ = (AG − 12) / (24 − HCO₃⁻). Values between 1–2 indicate pure HAGMA. Values <1 suggest concurrent normal AG acidosis. Values >2 suggest concurrent metabolic alkalosis. This guides additional workup.
Step 4 — Identify the underlying causeFor HAGMA: check lactate, glucose, ketones, renal function, osmol gap, toxicology screen, medication list. For NAGMA: check urine anion gap (UAG = urine Na⁺ + K⁺ − Cl⁻) to distinguish renal (positive UAG) from GI/non-renal causes (negative UAG).
Step 5 — Assess compensationWinter's formula for expected respiratory compensation in metabolic acidosis: Expected pCO₂ = (1.5 × HCO₃⁻) + 8 ± 2. If actual pCO₂ is higher than expected = concurrent respiratory acidosis. If lower = concurrent respiratory alkalosis. Always correlate with clinical presentation.

Reference: Normal Serum Electrolyte Ranges

ElectrolyteNormal RangeUnitsClinical Notes
Sodium (Na⁺)135 – 145mEq/LPrimary determinant of serum osmolality
Chloride (Cl⁻)98 – 106mEq/LMajor extracellular anion; inversely related to HCO₃⁻
Bicarbonate (HCO₃⁻)22 – 28mEq/LPrimary buffer system; reflects metabolic component of acid-base
Potassium (K⁺)3.5 – 5.0mEq/LNot in anion gap formula but critical for acid-base interpretation
Albumin3.5 – 5.0g/dLUsed for AG albumin correction; major unmeasured anion
Anion Gap (normal)8 – 12mEq/L3–11 with modern analyzers; correct for albumin in ill patients

Anion Gap Calculator — Frequently Asked Questions

What is the anion gap formula? +
Anion Gap = Na⁺ − (Cl⁻ + HCO₃⁻). All values in mEq/L. Some formulas include potassium: AG = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻) — this gives slightly higher values. The standard formula without potassium is most widely used. Normal range is 8–12 mEq/L (traditional) or 3–11 mEq/L (modern analyzers with improved chloride measurement).
When should I use the albumin-corrected anion gap? +
Always use the albumin-corrected anion gap when serum albumin is below 4.0 g/dL. This is especially important in: ICU patients (frequently hypoalbuminemic), patients with liver disease, malnutrition, nephrotic syndrome, or chronic illness. For every 1 g/dL decrease in albumin below 4.0, add 2.5 mEq/L to the measured anion gap. Missing this correction is a common clinical error that leads to missed HAGMA diagnoses.
What is the most common cause of elevated anion gap? +
Lactic acidosis is the most common cause of elevated anion gap metabolic acidosis in hospitalized patients. It results from tissue hypoperfusion, sepsis, shock, mesenteric ischemia, or mitochondrial dysfunction. DKA is the most common cause in outpatient or emergency department settings among patients with known diabetes. Uremia is common in patients with advanced kidney disease.
What does a low anion gap mean? +
A low anion gap (below 3–6 mEq/L) is uncommon and raises several considerations: (1) Hypoalbuminemia — low albumin reduces unmeasured anions, lowering the AG, (2) Multiple myeloma or paraproteinemia — abnormal positively charged proteins reduce the AG, (3) Hyperkalemia, hypercalcemia, or hypermagnesemia — excess unmeasured cations lower the calculated AG, (4) Laboratory error — particularly incorrect sodium, chloride, or bicarbonate measurement. Hypoalbuminemia is the most common cause of a low anion gap.
What is the MUDPILES mnemonic? +
MUDPILES is the standard mnemonic for causes of elevated anion gap metabolic acidosis: M = Methanol, U = Uremia (renal failure), D = Diabetic ketoacidosis (DKA), P = Propylene glycol / Paracetamol (acetaminophen), I = Isoniazid / Iron toxicity, L = Lactic acidosis, E = Ethylene glycol, S = Salicylates (aspirin overdose). Additional causes include starvation ketoacidosis, alcoholic ketoacidosis, and certain medications.