Anion Gap Calculator

🧪 Anion Gap Calculator

Anion gap with albumin correction and delta ratio for mixed acid-base disorders.

.

When enabled, the formula becomes (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻) and a higher normal range (~10–20 mEq/L) is used. Do not mix the two formulas.


Anion Gap

mEq/L

Delta Ratio

Show calculation steps

Recent Updates

  • June 2026 — Medical review. Reflects the modern reference range for the anion gap with current ion-selective-electrode analyzers (~6–12 mEq/L, lower than the older 8–16), the importance of albumin correction (+2.5 mEq/L per 1 g/dL below 4.0) so a high-anion-gap acidosis is not missed in hypoalbuminemia, and use of the delta ratio to detect a concomitant metabolic disorder.

Source: Kraut JA, Madias NE. Serum anion gap: its uses and limitations in clinical medicine. Clin J Am Soc Nephrol 2007;2(1):162-174. PMID: 17699401. · Figge J, et al. Anion gap and hypoalbuminemia. Crit Care Med 1998;26(11):1807-1810. PMID: 9824071.

Key Knowledge Points

  • The normal anion gap is laboratory- and method-dependent. Modern ion-selective electrode (ISE) analyzers give a normal range of roughly 6–12 mEq/L, lower than the older 8–16 range — values of 13–15 may already be abnormal.
  • In critically ill or hypoalbuminemic patients, albumin correction is essential. The gap falls by approximately 2.5 mEq/L for every 1 g/dL drop in albumin, which can mask an organic acidosis.
  • The delta ratio is only meaningful once a high anion gap metabolic acidosis (HAGMA) is established. It is used to detect a coexisting second metabolic disorder.
  • The anion gap is a screening tool, not a diagnosis. A normal anion gap does not exclude a toxic ingestion or acidosis.
  • The standard formula excludes potassium. The potassium-inclusive formula has its own separate normal range and the two must never be mixed.

About This Anion Gap Calculator

The Anion Gap Calculator estimates the difference between the primary measured serum cations and anions, a value that reflects the concentration of unmeasured anions in the blood. It is one of the most useful bedside screening tools for evaluating a metabolic acidosis and for narrowing the differential diagnosis. This tool also provides an albumin-corrected anion gap, which is important because albumin is the largest unmeasured anion, and a delta ratio, which helps identify mixed acid-base disorders once a high anion gap metabolic acidosis (HAGMA) has been established.

The Formulas Explained

The standard anion gap (potassium excluded) subtracts the major measured anions from sodium. The albumin correction adds back the anionic charge lost in hypoalbuminemia, and the delta ratio compares the rise in the anion gap with the fall in bicarbonate.

$$ \text{Anion Gap (mEq/L)} = \text{Na}^+ – (\text{Cl}^- + \text{HCO}_3^-) $$
$$ \text{Corrected AG} = \text{AG} + 2.5 \times (4.0 – \text{Albumin g/dL}) $$
$$ \text{Delta Ratio} = \frac{\text{AG} – 12}{24 – \text{HCO}_3^-} $$

When potassium is included (optional toggle), the formula becomes (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻), which runs about 4 mEq/L higher and uses its own normal range of approximately 10–20 mEq/L. The potassium-inclusive and potassium-excluded values must never be mixed. The delta ratio is calculated using the fixed reference values of 12 (normal anion gap) and 24 (normal bicarbonate); when measured bicarbonate equals 24 the denominator is zero and the ratio is reported as undefined.

Clinical Interpretation & Limitations

The anion gap is interpreted against a laboratory-dependent reference range. The bands below are a guide and should be confirmed against your local laboratory’s reported range.

  • Anion gap < 6 mEq/L (low): Consider hypoalbuminemia, laboratory error, lithium or bromide intoxication, a cationic paraprotein (e.g., IgG myeloma), or severe hypercalcemia/hypermagnesemia.
  • Anion gap 6–12 mEq/L (normal): Reference range is laboratory-dependent.
  • Anion gap > 12 mEq/L (elevated): Suggests a high anion gap metabolic acidosis (HAGMA). Common causes are captured by the GOLD MARK mnemonic (glycols, oxoproline, L-lactate, D-lactate, methanol, aspirin, renal failure, ketoacidosis).
  • Masked HAGMA flag: If the albumin-corrected anion gap is > 12 while the uncorrected gap is normal or low, suspect a high anion gap metabolic acidosis hidden by hypoalbuminemia.

The delta ratio is only meaningful in a patient with an established HAGMA and is used to detect a second, coexisting metabolic disorder:

  • < 0.4: Pure non-anion-gap (hyperchloremic) metabolic acidosis.
  • 0.4–0.8: Mixed high anion gap and non-anion-gap metabolic acidosis.
  • 0.8–2.0: Pure high anion gap metabolic acidosis.
  • > 2.0: Coexisting metabolic alkalosis or a pre-existing high bicarbonate (e.g., compensated chronic respiratory acidosis).

Limitations

This calculator provides an estimate and has several important limitations:

  • Hypoalbuminemia: An uncorrected anion gap is unreliable in patients with low albumin. Always apply the albumin correction in these patients.
  • Laboratory dependence: The normal range varies by analyzer and method, so the interpretation bands are only a guide.
  • Delta ratio assumptions: The delta ratio assumes a single primary HAGMA and is sensitive to the fixed normal values (12 and 24) used in the formula.
  • Confounders: Severe hyperlipidemia, paraproteins, bromide, lithium, and laboratory artifact can all distort the gap.
  • Not a standalone diagnosis: The anion gap must be interpreted alongside the arterial blood gas, the expected respiratory compensation, the history, lactate, ketones, the osmolar gap, and renal function.

Frequently Asked Questions (FAQ)

1. Should potassium be included in the anion gap?

The standard anion gap excludes potassium because serum potassium varies little. A potassium-inclusive formula runs about 4 mEq/L higher and therefore has its own separate normal range (approximately 10–20 mEq/L). The two formulas should never be mixed.

2. Why correct the anion gap for albumin?

Albumin is the largest unmeasured anion in serum. In hypoalbuminemia a true high anion gap metabolic acidosis can be masked, so the gap is corrected by adding about 2.5 mEq/L for every 1 g/dL the albumin is below 4.0 g/dL.

3. What is the modern normal anion gap?

With modern ion-selective electrode (ISE) analyzers the normal anion gap is approximately 6–12 mEq/L, lower than the older 8–16 range. The exact reference range is laboratory-dependent and should be confirmed locally.

4. What does the delta ratio tell me?

In a patient with an established high anion gap metabolic acidosis the delta ratio helps detect a second metabolic disorder. A ratio below 0.4 suggests a concurrent non-anion-gap (hyperchloremic) acidosis, 0.8–2.0 suggests a pure high anion gap acidosis, and above 2.0 suggests a coexisting metabolic alkalosis or pre-existing high bicarbonate.

5. What causes a low or negative anion gap?

Causes include hypoalbuminemia, laboratory artifact, cationic paraproteins (such as IgG myeloma), severe hypercalcemia or hypermagnesemia, and lithium or bromide intoxication.

6. Can the anion gap diagnose the cause of an acidosis?

No. The anion gap is a screening tool that narrows the differential. It cannot make a diagnosis on its own, and a normal anion gap does not exclude a toxic ingestion or acidosis. It must be combined with the history, lactate, ketones, the osmolar gap, and renal function.

⚠️ Disclaimer:

This tool is for informational and educational purposes only and is not a substitute for professional clinical judgment. All treatment decisions must be made by a qualified healthcare professional considering the individual patient’s full clinical context.