Anemia is often diagnosed through a complete blood count (CBC) test, which measures the levels of various blood components. Pediatricians may also order additional tests to determine the underlying cause, such as iron studies, reticulocyte count, and hemoglobin electrophoresis.