Diagnosis of the cause of leg pain begins with a history and physical exam. Blood tests may be helpful in some cases. For example, a blood test called a complete blood count (CBC) may help diagnose an infection. Imaging tests, such as an ultrasound, can help
diagnose blood clots and poor blood flow. X-rays can help diagnose a bone fracture, tumor, or infection.