Anion Gap Calculator
Calculate the serum anion gap with or without potassium to support evaluation of electrolyte balance and metabolic acidosis.
About the anion gap
Anion gap examples
The selected formula and matching reference interval determine how each result is interpreted.
| Electrolytes | Anion gap | Interpretation |
|---|---|---|
| Na 140, Cl 104, HCO3 24; potassium excluded | 12 mmol/L | At the upper end of a common range without potassium. |
| Na 140, K 4, Cl 100, HCO3 20; potassium included | 24 mmol/L | Above a common range for the potassium-inclusive formula. |
| Na 138, Cl 108, HCO3 18; potassium excluded | 12 mmol/L | A normal gap does not exclude metabolic acidosis when bicarbonate is low. |
How to calculate anion gap
- Choose whether to use the formula with or without potassium, matching local practice.
- Enter sodium, chloride, bicarbonate, and potassium when required from the same sample.
- Click Calculate Anion Gap to perform the selected electrolyte subtraction.
- Compare the value with the laboratory's own interval and review it with a clinician.
Anion gap FAQ
What is the standard anion gap formula?
The common formula is sodium minus the sum of chloride and bicarbonate. An alternative adds potassium to sodium before subtracting chloride and bicarbonate.
What is considered a normal anion gap?
A frequently cited range is 8 to 12 mmol/L without potassium and 12 to 20 mmol/L with potassium. Laboratory-specific intervals should take priority because measurement methods differ.
What can cause a high anion gap?
Unmeasured acids can accumulate with lactic acidosis, ketoacidosis, kidney failure, and certain poisonings. The result is not specific enough to identify the cause without clinical testing.
Why does albumin affect the anion gap?
Albumin carries negative charge and contributes substantially to the normal gap. Low albumin can make the measured gap appear lower and may require clinical correction.
Can metabolic acidosis occur with a normal gap?
Yes. Loss of bicarbonate with a corresponding chloride rise can produce normal-gap, or hyperchloremic, metabolic acidosis despite a low bicarbonate level.