A urine-specific gravity test compares the density of urine with the density of water. The test may help healthcare professionals identify dehydration, a kidney problem, or a condition like diabetes ...