A uric acid test measures the amount of uric acid in your blood or urine to detect hyperuricemia. A uric acid test can help diagnose gout and determine if uric acid is the cause of your kidney stones.