Anion Gap Calculator
Calculate the serum anion gap from sodium, chloride and bicarbonate, with the albumin-corrected gap, to help tell causes of acidosis apart.
This tool is for education and quick checking. It does not give medical advice and does not replace clinical judgement, local protocols, the drug label or a pharmacist's check. Always double-check a calculation before it is used for patient care.
How it works
- Enter the values in the boxes. Choose the unit next to a box where there is one.
- The result updates as you type, so there is no button to press.
- Use Copy results to keep the answer, then check it against your own protocol, the drug label or a colleague.
The formula
Anion gap = Na - (Cl + HCO3); corrected = gap + 2.5 x (4.0 - albumin g/dL)
Frequently asked questions
What is a normal anion gap?
About 8 to 12 mmol/L without potassium. A high gap points to causes such as lactate, ketones, kidney failure or toxins.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Serum Osmolality Calculator
Calculate serum osmolality from sodium, glucose and urea, and the osmolal gap when you have a measured value.
Corrected Sodium Calculator
Correct serum sodium for high blood glucose to see the sodium the person would have at a normal glucose.
Corrected Calcium Calculator
Correct total serum calcium for a low albumin to estimate the true calcium level.