Weight is a critical factor in calculating the appropriate dose of medication for pediatric patients. Dosages are often expressed in mg/kg (milligrams per kilogram) to tailor the therapy to the child's body weight. This ensures that the drug reaches therapeutic levels without causing toxicity.