RxTrayClinical toolkit

Acid–base · Laboratory interpretation

Anion Gap

Calculate the gap with or without potassium and show albumin correction only when albumin is supplied.

Evidence recordSources and method currentVersion 0.1 · Updated July 17, 2026

Step 1

Enter same-draw labs

Private by design. Values are calculated on this device and are not saved or sent to analytics.

Step 2

Compare results

Enter sodium, chloride and bicarbonate
AG without KMost common convention
mEq/L
AG with KRequires potassium
mEq/L
Albumin-corrected, no KRequires albumin
mEq/L
Albumin-corrected, with KRequires both optional values
mEq/L
No automatic diagnosis.Trend, albumin, lactate, ketones, renal function, toxic exposures, blood gas data, and the local reference interval determine clinical meaning.

Evidence packet

What this tool is based on

This versioned record keeps the citations, equation or decision rule, units, test coverage, intended population, and exclusions attached to the tool.

How evidence review works →
Intended population

Patients with contemporaneous serum electrolytes when an anion-gap estimate supports acid–base assessment.

Equation record

Na − (Cl + HCO3), optional K inclusion, and optional albumin correction AG + 2.5 × (4 − albumin g/dL).

Unit handling

Electrolytes accept mEq/L; albumin accepts g/dL. Optional fields remain visibly absent rather than being assumed.

Test coverage

With- and without-potassium calculations, albumin correction, optional-input behavior, and invalid inputs.

Do not skip

Limitations and exclusions

  • Use the reporting laboratory's own reference interval and potassium convention.
  • Values from different blood draws may create a misleading gap.
  • Albumin correction is an estimate derived for hypoalbuminemia and does not replace full acid–base evaluation.
  • A normal result does not exclude clinically important lactate, ketones, toxic exposure, or mixed disorders.

About this tool

Anion Gap Calculator with Albumin Correction

Use this anion gap calculator to compute the gap with or without potassium and to view an albumin-corrected estimate when albumin is supplied.

The selected formula and every included electrolyte remain visible. Reference ranges and albumin correction vary, so interpret the result with the laboratory method and clinical context.

Help shape RxTray

What tool are we missing?

Tell us the clinical task—not just the calculator name. Strong requests include a guideline, source, or example.

Submissions are reviewed as ideas, not clinical questions. Email is optional and used only if clarification is needed.