HHelpfulTools.org
Electrolytes & Kidney · HC-032

Serum Anion Gap Calculator

The anion gap is calculated from measured blood electrolytes and helps clinicians interpret certain acid–base disorders. The result is mathematical and requires interpretation in context.

Enter your values

Calculations run in your browser. No inputs are sent to our server.

Result

Enter your values and select Calculate to see the result and an explanation.
Educational support only. Results are not medical advice and cannot replace professional assessment or your institution's protocols.

How the calculation works

The common calculation is Na − (Cl + HCO₃). Some laboratories use (Na + K) − (Cl + HCO₃), which yields a different number and reference range.

Worked example

With sodium 140, chloride 104 and bicarbonate 24 mEq/L, the usual potassium-excluded anion gap is 12 mEq/L.

Understanding the result

Anion gap reference ranges differ among laboratories and analytic methods. Albumin contributes to the measured gap; low serum albumin can mask an elevated gap.

Anion gap complements assessment of pH, bicarbonate, renal function, lactate, symptoms, and other clinical findings. It cannot identify an acid–base disorder alone.

Limitations

Do not apply a generic reference interval without checking the laboratory report and whether potassium is included.