Urine Anion Gap or Urine Net Charge

Use urine electrolytes to differentiate renal tubular acidosis from diarrhea-induced non-anion gap metabolic acidosis


What is the urine anion gap and how is it calculated?

In response to consumption or loss of bicarbonate, the kidney generates and retains bicarbonate while excreting ammonium. While we do not measure urinary ammonium directly, we can infer its presence. When there is large urinary excretion of ammonium (a positively charged molecule), it will be excreted with a negatively charged particle, usually chloride, in order to maintain electroneutrality. So, while we do not measure urinary ammonium, we can infer its presence by a larger than expected chloride concentration.

The urine anion gap (AG) is defined by:

  • Urine AG = Urine (Na + K - Cl)

A negative urine anion gap means that the concentration of chloride exceeds that of potassium and sodium combined - this suggests a large amount of unmeasured urinary ammonium (which is balancing the urinary chloride). A negative urine anion gap would be expect in diarrhea as the normal kidney attempts to regenerate bicarbonate and excrete ammonium.

In renal tubular acidosis, the kidney is unable to excrete ammonium normally. Therefore the urine AG is "inappropriately" positive in the setting of a non-anion gap metabolic acidosis.

In summary, in the setting of a non-anion gap metabolic acidosis, a negative urine AG suggests diarrhea bicarbonate loss and a positive urine AG suggests an RTA.

Here's a practice case: Please determine if the patient has a non-anion gap metabolic acidosis due to diarrhea or RTA:

A 24 year old male dancer comes to attention due to a low serum bicarbonate on routine blood work. Additional results include:

  • Serum:
  • Na: 140 meq/L
  • K: 3 meq/L
  • HCO3: 14 meq/L
  • Cl: 116 meq/L
  • Urine:
  • Na: 50 meq/L
  • K: 30 meq/L
  • Cl: 40 meq/L

In the case provided, bicarbonate is reduced with a normal anion gap. This suggests either a renal tubular acidosis (RTA) or GI bicarbonate losses. Since the urine anion gap is positive, this suggests* that this man has a renal tubular acidosis (which will require further investigation).

*For keeners only: NB. There are exceptions when the above rules do not apply.

When urinary Na and Cl concentrations fall considerably in severe volume depletion. If chloride excretion becomes very low, ammonium excretion will be limited. In this situation, the urine anion gap will not be negative as we would expect despite the underlying etiology of the acidosis being diarrhea.

When there are significant amounts of unmeasured anions in the urine, such as hippurate due to toluene (glue) sniffing and the ketoacid anions β-hydroxybutyrate and acetoacetate in ketoacidosis. In these situations, the unmeasured anions are excreted with sodium and potassium to maintain electroneutrality. This can lead to a positive urine AG even though ammonium excretion may be increased. This can be picked by measuring an increased urinary osmolal gap (the gap will be made up of ammonium and the other unmeasured anions):

  • Calculated urine osmolality = 2 * ([Na + K]) + [urea nitrogen] / 2.8 + [glucose] / 18 when glucose and BUN are measured in mg/dL
  • Calculated urine osmolality = 2 * ([Na + K]) + [urea] + [glucose] when glucose and BUN are measured in mmol/L


Goldstein MB, Bear R, Richardson RM, Marsden PA, Halperin ML.

American Journal of the Medical Sciences 1986, 292 (4): 198-202

The Urine Anion Gap or Urine Net Charge calculator is created by QxMD.

By using this site you acknowledge that you have read, understand, and agree to be bound by our terms of use and privacy policy. All content and tools are for educational use only, are not meant to be a substitute for professional advice and should not be used for medical diagnosis and/or medical treatment.

1. Urine Na+ Concentration?

0/3 completed