CT scans are the best way to detect a kidney stone and its location. Ultrasounds of the abdomen may also be needed.