HEALTH · LOCAL CALCULATOR

Anion Gap Calculator

The anion gap calculator estimates the anion gap based on sodium, chloride, and bicarbonate levels.

Enter values

How it works

This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.

Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.

Formulas used by this calculator

The Anion Gap Calculator works with 7 quantities and 8 relations between them. Enter the values you know, leave the one you want to find blank, and press Calculate. Blank fields are never treated as zero. Each formula below is solved for one quantity.

1 further rearrangement of the same relations let you solve for other quantities.

Inputs

FieldName in formulasCan be solved for
ClClYes
NaNaYes
HCO3HCO3Yes
AlbuminalbuminYes
PotassiumPotassiumYes
Anion gapanion_gapYes
Corrected anion gapcorrected_anion_gapYes