Anion Gap Calculator
Input Parameters
Computed Results
The anion gap calculator determines the difference between primary measured cations and anions in blood serum. By evaluating sodium, chloride, bicarbonate, and albumin levels, this tool calculates both the standard and albumin-corrected anion gap to help identify potential acid-base imbalances.
Disclaimer: This calculator is for informational and educational purposes only and does not constitute medical advice or a clinical diagnosis.
Practical Use Cases
The anion gap is a mathematical calculation used to evaluate the acid-base balance in the blood. It is primarily used to assess metabolic acidosis, a condition where the body produces too much acid or the kidneys cannot remove enough acid. Calculating the albumin-corrected anion gap is particularly useful when a patient has abnormal albumin levels, as hypoalbuminemia can mask an elevated anion gap.
Formula & Explanation
The calculator uses the standard serum anion gap formula, which subtracts the primary measured anions (chloride and bicarbonate) from the primary measured cation (sodium).
Because albumin is a major unmeasured anion in the blood, low albumin levels can artificially lower the anion gap. The calculator adjusts for this using the following correction formula, assuming a normal baseline albumin of 40 g/L:
The calculator evaluates the resulting gap (using the corrected gap if albumin is provided) against standard thresholds. A result above 12 mmol/L indicates an elevated anion gap, while a result below 3 mmol/L indicates a low anion gap.
Verified Scenario Walkthroughs
Here are examples of how the calculator processes different electrolyte profiles:
Hypoalbuminemia with Normal Electrolyte Balance
If a profile shows sodium at 138 mmol/L, chloride at 105 mmol/L, bicarbonate at 25 mmol/L, and a low albumin level of 20 g/L, the standard anion gap is 8. However, the albumin-corrected anion gap adjusts to 13, resulting in an interpretation of an elevated anion gap.
High Anion Gap Metabolic Acidosis
For inputs of sodium at 145 mmol/L, chloride at 100 mmol/L, bicarbonate at 15 mmol/L, and normal albumin at 40 g/L, both the standard and corrected anion gap calculate to 30. This strongly indicates an elevated anion gap.
Low Anion Gap Boundary Case
With sodium at 130 mmol/L, chloride at 120 mmol/L, bicarbonate at 10 mmol/L, and albumin at 45 g/L, the standard gap is 0. The corrected gap drops to -1.25, triggering a low anion gap interpretation.
How to Use the Calculator
Follow these steps to calculate the anion gap:
- Enter the serum sodium (Na⁺) concentration in mmol/L.
- Input the serum chloride (Cl⁻) concentration in mmol/L.
- Enter the serum bicarbonate (HCO₃⁻) concentration in mmol/L.
- Input the serum albumin concentration in g/L to calculate the corrected gap.
- Review the calculated standard gap, corrected gap, and the resulting diagnostic assessment.
Inputs & Outputs
| Field | Type | Description |
|---|---|---|
| Sodium (Na⁺) | Input | Serum sodium concentration (reference range: 136 - 145 mmol/L). |
| Chloride (Cl⁻) | Input | Serum chloride concentration (reference range: 98 - 106 mmol/L). |
| Bicarbonate (HCO₃⁻) | Input | Serum bicarbonate / CO2 concentration (reference range: 23 - 28 mmol/L). |
| Albumin | Input | Serum albumin concentration (reference range: 35 - 55 g/L). |
| Serum Anion Gap | Output | The unadjusted difference between measured cations and anions. |
| Albumin-Corrected Anion Gap | Output | The anion gap adjusted for variations in serum albumin. |
| Diagnostic Assessment | Output | The mathematical interpretation of the gap based on standard thresholds. |
Frequently Asked Questions
Why is albumin included in the anion gap calculation?
Albumin is a negatively charged protein that makes up a significant portion of the unmeasured anions in the blood. If albumin levels are low, the standard anion gap will appear artificially lower, which is why an albumin correction is applied for a more accurate assessment.
What is considered a normal anion gap?
Based on the calculator's logic, a normal anion gap typically falls between 3 and 11 mmol/L. Values above 12 mmol/L are considered elevated.