Anion Gap Calculator
Calculate the anion gap from blood test results. Enter Na⁺, K⁺, Cl⁻, and HCO₃⁻ values to get AGAP, corrected AGAP, and classification. Results help identify metabolic acid-base disorders. Informational only—consult a doctor for interpretation. Explore more tools on free calculators on CalculatorBolt.
Calculator
Calculate what bicarbonate (HCO₃⁻) level is needed to achieve a target anion gap given your other electrolyte values.
How it works
Anion Gap (AG) = (Na⁺ + K⁺) - (Cl⁻ + HCO₃⁻)
Corrected AG = AG + 2.5 × (4 - Albumin in g/dL)
We calculate the anion gap and classify it as Normal (8-16 mEq/L), High (>16 mEq/L), or Low (<8 mEq/L). The corrected AG accounts for low albumin levels which can falsely lower the calculated anion gap.
Inputs explained
- Sodium (Na⁺): Primary cation in extracellular fluid. Normal range: 135-145 mEq/L.
- Potassium (K⁺): Primary intracellular cation. Normal range: 3.5-5.0 mEq/L.
- Chloride (Cl⁻): Primary anion in extracellular fluid. Normal range: 96-106 mEq/L.
- Bicarbonate (HCO₃⁻): Buffer for acid-base balance. Normal range: 22-28 mEq/L.
- Albumin (optional): Protein that contributes to anion gap. Normal: 3.5-5.5 g/dL. Used for correction formula.
Example
A patient has the following lab results:
- Na⁺ = 140 mEq/L
- K⁺ = 4.0 mEq/L
- Cl⁻ = 102 mEq/L
- HCO₃⁻ = 24 mEq/L
Calculation:
- AG = (140 + 4.0) - (102 + 24) = 144 - 126 = 18.0 mEq/L
- Classification: High (suggests metabolic acidosis)
Tips & notes
- The anion gap helps diagnose metabolic acidosis and alkalosis by detecting unmeasured anions or cations.
- Corrected AG is essential when albumin is low (e.g., liver disease, malnutrition, nephrotic syndrome).
- High anion gap suggests metabolic acidosis (lactic acidosis, ketoacidosis, renal failure, toxins).
- Low anion gap is less common and may indicate hypoalbuminemia, multiple myeloma, or lithium toxicity.
- Always interpret results in the clinical context with other lab values and patient symptoms.
- Reverse calculation: Use the "Find Bicarbonate for Target AG" tool to determine required HCO₃⁻ levels.
Anion Gap Classification
| Classification | Range (mEq/L) | Clinical Significance |
|---|---|---|
| Low | < 8 | Hypoalbuminemia, multiple myeloma, lithium toxicity |
| Normal | 8-16 | Normal acid-base balance |
| High | > 16 | Metabolic acidosis (lactic acidosis, ketoacidosis, renal failure, toxins) |
Common Causes of High Anion Gap (MUDPILES Mnemonic)
| Letter | Cause | Description |
|---|---|---|
| M | Methanol | Toxic alcohol ingestion |
| U | Uremia | Renal failure |
| D | Diabetic ketoacidosis | Uncontrolled diabetes |
| P | Paraldehyde, Propylene glycol | Medication/toxin |
| I | Iron, Isoniazid | Toxicity |
| L | Lactic acidosis | Tissue hypoxia, sepsis |
| E | Ethylene glycol | Antifreeze poisoning |
| S | Salicylates | Aspirin overdose |