Weight is a critical factor in calculating medication dosages, especially for drugs with a narrow therapeutic index. Accurate weight measurements ensure that patients receive the correct dose, reducing the risk of underdosing or overdosing. This is particularly important in pediatric and geriatric populations.