Determining the cause of a metabolic acidosis that lacks a serum anion gap often depends on determining whether the kidney is appropriately excreting acid. The urine anion gap is an 'artificial' and calculated measure that is representative of the unmeasured ions in urine.