Skip to Main Content

Bactrim Pediatric Dose Calculator

Calculate Bactrim (TMP/SMX) doses for children by weight for UTI, otitis media, and PCP prophylaxis using IDSA and AAP guidelines.

Updated

Bactrim Pediatric Dose Calculator

Evidence-based weight-adjusted dosing

Based on IDSA Guidelines for Uncomplicated·Updated Mar 2026·Free, no signup

How to Use This Calculator

Enter Weight

Input the child's weight in kilograms for weight-based TMP/SMX dosing.

Select Indication

Choose between UTI treatment, otitis media, or PCP prophylaxis.

Choose Frequency & Formulation

Select BID or once-daily dosing and the available formulation.

Review Dosing

Check per-dose TMP amount and suspension volume, with clinical notes.

How We Calculate

Bactrim (trimethoprim-sulfamethoxazole) dosing in pediatrics is based on the trimethoprim (TMP) component. For urinary tract infections and acute otitis media, the standard dose is 8 mg TMP/kg/day divided BID per IDSA and AAP guidelines. For Pneumocystis jirovecii pneumonia (PCP) prophylaxis in immunocompromised patients, 5 mg TMP/kg/day (max 320 mg) is given daily or on 3 consecutive days per week.

The oral suspension contains 40 mg TMP and 200 mg SMX per 5 mL (ratio 1:5). The maximum daily dose is 320 mg TMP (equivalent to 2 DS tablets). Dosing is always referenced to the TMP component for simplicity and accuracy.

Bactrim is contraindicated in infants under 2 months of age and in patients with sulfonamide allergy, G6PD deficiency (risk of hemolytic anemia), or significant hepatic or renal impairment. Adequate hydration should be maintained during therapy. This calculator is for educational reference only.

Sources & References

  • IDSA Guidelines for Uncomplicated UTI in Children (idsociety.org)
  • AAP Red Book — Report of the Committee on Infectious Diseases (aap.org)
  • Lexicomp Pediatric Drug Information — Trimethoprim-Sulfamethoxazole (wolterskluwer.com)

Data last verified:

Frequently Asked Questions

No, Bactrim contains sulfamethoxazole, which is a sulfonamide antibiotic. Children with a documented sulfonamide allergy must not take Bactrim. The allergy risk extends to other sulfonamide-containing medications. Alternative antibiotics should be selected based on the specific infection and local resistance patterns. Always inform the prescriber of any known drug allergies.

G6PD (glucose-6-phosphate dehydrogenase) deficiency is a genetic enzyme disorder that makes red blood cells vulnerable to oxidative stress. Sulfonamides like sulfamethoxazole can trigger hemolytic anemia in G6PD-deficient patients, causing rapid breakdown of red blood cells. Screening for G6PD should be considered before prescribing Bactrim, particularly in populations with higher prevalence.

Adequate fluid intake helps prevent crystalluria, a condition where the drug forms crystals in the urine that can cause kidney damage. Children should drink plenty of fluids throughout the day while on Bactrim. This is especially important in warm weather or during febrile illness when dehydration risk is higher. Encouraging regular water intake during the treatment course is recommended.

Yes, trimethoprim-sulfamethoxazole can cause photosensitivity, making the skin more susceptible to sunburn. Children taking Bactrim should use sunscreen with SPF 30 or higher, wear protective clothing, and limit direct sun exposure during treatment. This effect can persist for several days after completing the medication course. Indoor activities during peak sun hours are advisable.

TMP stands for trimethoprim, the primary antibacterial component of Bactrim. The fixed combination ratio is 1 part TMP to 5 parts sulfamethoxazole (SMX). Dosing is standardized to the TMP component for simplicity since the SMX dose is automatically proportional. When a prescription says "8 mg/kg/day," it refers to the TMP portion, and the corresponding SMX dose is 40 mg/kg/day.

Bactrim is contraindicated in infants under 2 months of age due to the risk of kernicterus (bilirubin displacement in neonates) and the immature hepatic and renal systems inability to metabolize sulfonamides safely. For PCP prophylaxis in HIV-exposed infants, initiation at 4-6 weeks of age is sometimes recommended under specialist guidance, but this requires careful risk-benefit assessment.

For uncomplicated UTIs in children, the typical treatment course is 7-10 days. For complicated UTIs or pyelonephritis, longer courses of 10-14 days may be necessary. For PCP prophylaxis, Bactrim is given long-term (months to years) on either a daily or 3-days-per-week schedule. Treatment duration should always follow the prescriber's specific instructions for the individual patient.

ToolSite Team

We build free, accurate calculators.