Is the anion gap (electrolyte imbalance) included on standard laboratory (lab) tests?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: December 11, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Is Anion Gap Included on Standard Laboratory Tests?

Yes, the anion gap is routinely calculated and reported on standard electrolyte panels, as it is derived from commonly measured serum electrolytes (sodium, chloride, and bicarbonate) that are part of basic metabolic panels. 1

How Anion Gap is Obtained

  • The anion gap is a calculated value, not a directly measured laboratory test, using the formula: Na⁺ + K⁺ - Cl⁻ - HCO₃⁻ (or more commonly without potassium: Na⁺ - Cl⁻ - HCO₃⁻). 1

  • When standard electrolyte panels are ordered (basic metabolic panel or comprehensive metabolic panel), the laboratory automatically calculates and reports the anion gap from the measured sodium, chloride, and bicarbonate values. 2

  • Most clinical laboratories now use ion-selective electrode methodology, which has resulted in a lower reference range of 3-11 mmol/L (or 5-12 mmol/L in some studies), compared to the older reference range of 8-16 mmol/L that many clinicians and textbooks still incorrectly reference. 3

Clinical Availability and Reporting

  • The anion gap appears automatically on standard chemistry reports whenever a basic metabolic panel (BMP) or comprehensive metabolic panel (CMP) is ordered, making it universally available without requiring a separate test order. 4

  • In blood gas analysis, the anion gap is also calculated and reported from whole blood specimens analyzed on blood gas analyzers and point-of-care chemistry devices. 5

  • The calculation serves dual purposes: as a quality control measure to verify the accuracy of electrolyte measurements, and as a clinical tool to evaluate acid-base disorders. 4

Important Caveats

  • While the anion gap is automatically calculated, clinicians must be aware of the updated reference ranges to avoid misinterpretation—using outdated reference values (8-16 mmol/L) can lead to missing clinically significant elevations. 3

  • The anion gap should be corrected for hypoalbuminemia when present, as severe hypoalbuminemia significantly lowers the calculated anion gap and can mask concurrent high anion gap metabolic acidosis. 6, 2

  • Certain conditions can produce falsely low or even negative anion gaps (<2 mmol/L), including laboratory error, specimen contamination, hyperglobulinemia (such as IgG multiple myeloma), lithium or barium intoxication, and severe hypoalbuminemia. 6, 3, 5

References

Guideline

Initial Management of Elevated Anion Gap

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Approach to Patients With High Anion Gap Metabolic Acidosis: Core Curriculum 2021.

American journal of kidney diseases : the official journal of the National Kidney Foundation, 2021

Research

Update on value of the anion gap in clinical diagnosis and laboratory evaluation.

Clinica chimica acta; international journal of clinical chemistry, 2001

Research

The anion gap: its use in quality control.

Clinical chemistry, 1976

Guideline

Clinical Significance of a Low Anion Gap

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.