Urine Anion Gap Calculator

Classify metabolic acidosis as GI versus renal bicarbonate loss

Ad placeholder (leaderboard)

The urine anion gap is a simple bedside calculation that helps work out why a patient has a normal anion gap metabolic acidosis. Because the kidney’s main acid-handling response is to excrete ammonium, and ammonium leaves with chloride, the gap acts as an indirect window onto that response.

How it works

The calculation adds the two main urinary cations measured and subtracts the main measured anion:

UAG = U(Na+) + U(K+) - U(Cl-)     (all in mmol/L)

When the kidney excretes a lot of ammonium, urine chloride climbs to balance it, so chloride exceeds sodium plus potassium and the gap turns negative. When the kidney cannot make ammonium, chloride stays relatively low and the gap is positive.

Interpretation and caveats

A clearly negative gap signals an appropriate renal response and therefore an extrarenal cause of bicarbonate loss, most often diarrhoea. A positive gap signals impaired ammonium excretion and points to renal tubular acidosis, especially distal type 1 or hyperkalaemic type 4. The tool only applies inside a hyperchloraemic, normal-anion-gap acidosis. It becomes unreliable when urine pH is above 6.5, when ketones or other unmeasured anions are present, or in volume depletion, and in those situations the urine osmolar gap is the better estimate of ammonium excretion.

Ad placeholder (rectangle)