Reasons for why a pH test maybe done.
It may be done to see if you are at risk for kidney stones. Acidic urine is associated with xanthine, cystine, uric acid, and calcium oxalate stones. Alkaline urine is associated with calcium carbonate, calcium phosphate, and magnesium phosphate stones.