Bactrim dosages depend on the medical conditions and age of patients. For pediatric use, the dosage is calculated per body weight. For UTI treatment, the general dosage is 40 mg per kg for sulfamethoxazole, and 8 mg of trimethoprim in children after every 12 hrs daily continued for 5 days.