Anion Gap Calculator

Enter Na, Cl, HCO3 (and optionally albumin) to get the anion gap, albumin-corrected AG, and delta gap for mixed acid-base disorder detection.

Anion gap = Na − (Cl + HCO3).

Use the Anion Gap Calculator

Serum Values

Required values in mEq/L (mmol/L)

Results

Enter values and click Calculate

Quick Reference

Anion Gap Ranges
AG (mEq/L) Classification
< 8 Low — hypoalbuminemia, hypermagnesemia
8 – 12 Normal
12 – 20 Mildly elevated — early DKA, lactic acidosis
> 20 High — severe HAGMA (DKA, toxic ingestion)
Delta Gap Ratio
Ratio Interpretation
< 0.4 Pure normal-AG acidosis
0.4 – 1.0 Mixed high-AG + normal-AG acidosis
1.0 – 2.0 Pure high-AG metabolic acidosis
> 2.0 High-AG acidosis + metabolic alkalosis

For educational and reference use only. All clinical decisions require evaluation by a qualified healthcare professional.

Quick answer

Anion gap = Na − (Cl + HCO3). With current analyzers the normal range is about 8–12 mEq/L; above 12 points to a high-anion-gap metabolic acidosis. Low albumin hides a high gap, so add 2.5 for each 1 g/dL of albumin below 4.

Examples

NaClHCO3AlbuminAnion gap
140104244.012 (normal)
13598104.027 (high), delta ratio 1.07
138106222.010, corrected 15 (high)

Enter Na, Cl and HCO3.

Summary

The anion gap (AG = Na − Cl − HCO3) quantifies unmeasured serum anions and is the first step in metabolic acidosis workup. Normal AG is 8–12 mEq/L; values above 12 suggest acid accumulation (DKA, lactic acidosis, uremia, toxic ingestion). When albumin is low, the corrected AG adjusts for hypoalbuminemia. The delta gap (delta AG / delta HCO3) detects a superimposed metabolic alkalosis or normal-AG acidosis hiding behind a high-AG picture.

How it works

  1. Enter serum sodium (Na+), chloride (Cl−), and bicarbonate (HCO3−) in mEq/L.
  2. Optionally enter serum albumin (g/dL) to get the albumin-corrected anion gap.
  3. The calculator applies AG = Na − (Cl + HCO3) and classifies the result.
  4. If albumin is provided, corrected AG = AG + 2.5 × (4 − albumin).
  5. Delta gap = (AG − 12) / (24 − HCO3) detects mixed acid-base disorders.
  6. Interpretation panels explain the clinical meaning of each result.

Use cases

  • Emergency workup of a patient with metabolic acidosis.
  • Distinguishing high-AG from normal-AG (hyperchloremic) metabolic acidosis.
  • Unmasking a coexisting metabolic alkalosis or normal-AG acidosis with the delta gap.
  • Adjusting for hypoalbuminemia in critically ill or cirrhotic patients.
  • Medical education and acid-base physiology study.
  • Serial monitoring of electrolyte trends in the ICU.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu