Doctaverse

Urine Anion Gap: Separating GI Bicarbonate Loss from Renal Tubular Acidosis

The urine anion gap (UNa + UK − UCl) as a bedside surrogate for renal NH4+ excretion in normal-anion-gap metabolic acidosis — negative means GI bicarb loss, positive points to RTA.

Run it: Urine Anion Gap.

What it is

In a normal-anion-gap (hyperchloremic) metabolic acidosis, the kidney’s job is to dump acid as ammonium (NH4+). You can’t measure urine NH4+ on a routine panel, so the urine anion gap (UAG) serves as an indirect window: because NH4+ is excreted with chloride, a high unmeasured-cation load drives chloride up and the calculated gap negative.

Formula

$$ UAG = (U_{Na} + U_{K}) - U_{Cl} $$

All values in mEq/L from a spot urine. The interpretation hinges on the sign:

When to use

Only when you have already established a normal-anion-gap metabolic acidosis. The UAG is meaningless in high-anion-gap acidosis and is the first branch point in working up persistent hyperchloremic acidosis in a child.

Worked example

A toddler with chronic diarrhoea and hyperchloremic acidosis. Spot urine: Na 50, K 25, Cl 90 mEq/L.

$$ UAG = (50 + 25) - 90 = -15\ \text{mEq/L} $$

A negative UAG — consistent with an appropriate renal NH4+ response and GI bicarbonate loss, not RTA. Had the urine been Na 40, K 30, Cl 50, the UAG would be +20, pointing to distal RTA.

Pitfalls

Run it: Urine Anion Gap


Decision support for qualified clinicians only — verify against current primary guidelines and your clinical judgement.

Get the Doctaverse app

Use the calculators, diagnostic criteria and drug formulary at the bedside.

Google Play App Store Run the calculator

References

Last updated 2026-06-28.

More like this

Absolute Eosinophil Count (AEC): Grading Eosinophilia from the CBC Differential

Deriving the absolute eosinophil count from WBC and the eosinophil percentage, the mild/moderate/severe 500-1500-5000 per microliter grading, the hypereosinophilia threshold, a worked example, and interpretation pitfalls.

Absolute Neutrophil Count (ANC): Calculation, Grading, and Febrile Neutropenia

How to calculate the ANC from the WBC, neutrophils and bands, the CTCAE severity grades, and why fever with an ANC <500 is a treat-now emergency.

Absolute Lymphocyte Count (ALC): From WBC and Differential to Lymphopenia Grading

Deriving the absolute lymphocyte count from WBC and lymphocyte percentage, age-dependent ranges, the infant SCID caveat, a worked example and pitfalls.

AIR Score: Appendicitis Inflammatory Response Stratification

The AIR score for suspected appendicitis — its seven weighted items, the 0–12 scale, low/indeterminate/high bands, and how it compares with Alvarado and PAS.