Use this clinical tool to calculate the serum anion gap and determine the underlying cause of metabolic acidosis. This calculator includes options for potassium adjustment and albumin correction for more accurate clinical insights.
Electrolyte Balance Visualization
A) What is the Anion Gap?
The anion gap is a calculated value used in clinical medicine to help identify the cause of metabolic acidosis. It represents the difference between measured cations (positively charged ions) and measured anions (negatively charged ions) in the serum.
In a healthy state, the body maintains electrical neutrality. However, not all ions are routinely measured in a standard basic metabolic panel (BMP). The "gap" represents these unmeasured anions—primarily proteins (like albumin), phosphates, sulfates, and organic acids.
B) Formula and Explanation
The standard formula for calculating the anion gap is based on the principle of electroneutrality. Since the concentration of cations must equal the concentration of anions, we focus on the primary players:
Standard Formula:
Anion Gap = Sodium - (Chloride + Bicarbonate)
Formula with Potassium:
Some clinicians prefer to include potassium, though it is often omitted because its concentration is low and relatively stable:
Anion Gap = (Sodium + Potassium) - (Chloride + Bicarbonate)
Albumin Correction:
Since albumin is the primary unmeasured anion, low albumin levels (hypoalbuminemia) can artificially lower the anion gap. The corrected formula is:
Corrected AG = Observed AG + 2.5 × (Normal Albumin [4.0] - Observed Albumin)
C) Practical Examples
| Scenario | Na+ | Cl- | HCO3- | Result | Interpretation |
|---|---|---|---|---|---|
| Normal Patient | 140 | 104 | 24 | 12 | Normal Range |
| Diabetic Ketoacidosis | 135 | 95 | 15 | 25 | High Anion Gap (HAGMA) |
| Severe Diarrhea | 140 | 112 | 16 | 12 | Normal Gap (NAGMA) |
D) How to Use the Calculator
- Enter Sodium (Na+): Found in your BMP or electrolyte panel.
- Enter Chloride (Cl-): The major measured anion.
- Enter Bicarbonate (HCO3-): Often listed as CO2 on lab reports.
- (Optional) Enter Albumin: Crucial for patients with liver disease or malnutrition to get the corrected anion gap.
- Review interpretation: The tool will automatically flag if the gap is high, normal, or low based on standard clinical thresholds.
E) Key Factors Influencing Results
- MUDPILES: A mnemonic for causes of High Anion Gap Metabolic Acidosis (Methanol, Uremia, DKA, Propylene glycol, Iron/INH, Lactic acidosis, Ethylene glycol, Salicylates).
- Hypoalbuminemia: For every 1 g/dL drop in serum albumin, the anion gap decreases by approximately 2.5 mEq/L.
- Lab Errors: Hypernatremia or severe hyperlipemia can sometimes interfere with accurate ion measurements.