What this calculator does
Bactrim and Septra are brand names for the combination antibiotic sulfamethoxazole (SMX) and trimethoprim (TMP). In children, doses are based on the trimethoprim component and body weight. This calculator converts a child weight into the TMP and SMX amount per dose and the matching volume of standard oral suspension. It is an educational tool and does not replace a prescriber or pharmacist.
How to use it
Enter the child weight in kilograms or pounds, then choose the indication. The tool applies a typical TMP rate (8 mg/kg/day for UTI or mild to moderate infection, 12 for serious infection, 15 for Pneumocystis treatment, 5 for PJP prophylaxis, 2 once daily for UTI prophylaxis), splits it into the usual number of doses and caps single doses at the adult maximum.
The formula explained
Let \(W\) = weight in kg, \(r\) = TMP rate in mg/kg/day and \(n\) = doses per day.
$$D_{\text{TMP}} = \frac{W \times r}{n}$$SMX is five times the TMP amount (ratio 5:1), and the suspension holds 8 mg TMP per mL:
$$D_{\text{SMX}} = 5 \times D_{\text{TMP}} \qquad V = \frac{D_{\text{TMP}}}{8}$$
Worked example
A 20 kg child with a urinary tract infection (\(r = 8\), \(n = 2\)):
$$D_{\text{TMP}} = \frac{20 \times 8}{2} = 80\,\text{mg}$$$$D_{\text{SMX}} = 5 \times 80 = 400\,\text{mg} \qquad V = \frac{80}{8} = 10\,\text{mL}$$So the child receives 10 mL of suspension every 12 hours.
TMP Dosing Rates by Indication
Pediatric sulfamethoxazole/trimethoprim (Bactrim) doses are usually expressed as the trimethoprim (TMP) component in mg per kg of body weight per day, divided into doses. The table shows commonly cited ranges. They are not official guidance, and regimens differ between countries, references and local protocols.
| Indication | TMP rate (mg/kg/day) | Doses per day | Typical interval | Single-dose cap |
|---|---|---|---|---|
| UTI or mild-to-moderate infection | 8 | 2 | every 12 h | 160 mg TMP / 800 mg SMX |
| Serious infection | 12 | 2 (as used here) | every 12 h | 160 mg TMP / 800 mg SMX |
| Pneumocystis (PJP) treatment | 15 | 3-4 | every 6-8 h | Check the protocol; per-dose adult cap of 160 mg TMP is used here |
| PJP prophylaxis | 5 | 2 | every 12 h, often on 3 days/week | 160 mg TMP / 800 mg SMX |
| UTI prophylaxis | 2 | 1 | once daily | 160 mg TMP / 800 mg SMX |
The per-dose formula is \(D = \dfrac{W \times r}{n}\), where \(W\) is weight in kg, \(r\) is the TMP rate in mg/kg/day and \(n\) is doses per day. The result is limited to 160 mg TMP per dose. The calculator's displayed formula divides by 2, so for regimens with a different \(n\) (PJP treatment, once-daily prophylaxis) check the per-dose amount against the intended schedule.
Suspension Strength and Fixed Values
- Standard oral suspension: 40 mg TMP + 200 mg SMX per 5 mL, which is 8 mg TMP and 40 mg SMX per mL.
- SMX:TMP ratio: 5:1, so \(\text{SMX}_{dose} = 5 \times \text{TMP}_{dose}\).
- Volume: \(V\,(\text{mL}) = \text{TMP}_{dose} / 8\).
- Adult double-strength (DS) tablet: 160 mg TMP / 800 mg SMX.
- Single-strength (SS) tablet: 80 mg TMP / 400 mg SMX.
- Weight conversion: 1 kg = 2.2046 lb, so 1 lb = 0.45359237 kg.
Products and strengths vary by country and manufacturer. Always check the label of the product you actually have, and confirm the concentration before measuring a volume.
Dose Comparison by Weight and Indication
Each row uses \(D = \dfrac{W \times r}{n}\) with \(n = 2\), then SMX \(= 5D\) and \(V = D/8\). For example, a 20 kg child with a UTI or mild infection (8 mg/kg/day): \(D = \dfrac{20 \times 8}{2} = \) 80 mg TMP, so SMX is 400 mg and \(V = 80/8 = 10\) mL.
| Weight | Indication (mg/kg/day, n=2) | TMP per dose (mg) | SMX per dose (mg) | Volume per dose (mL) |
|---|---|---|---|---|
| 10 kg | UTI (8) | 40 | 200 | 5 |
| 10 kg | Serious (12) | 60 | 300 | 7.5 |
| 10 kg | PJP prophylaxis (5) | 25 | 125 | 3.125 (about 3.1) |
| 20 kg | UTI (8) | 80 | 400 | 10 |
| 20 kg | Serious (12) | 120 | 600 | 15 |
| 20 kg | PJP prophylaxis (5) | 50 | 250 | 6.25 (about 6.3) |
| 30 kg | UTI (8) | 120 | 600 | 15 |
| 30 kg | Serious (12) | 160 (capped; uncapped would be 180) | 800 | 20 |
| 30 kg | PJP prophylaxis (5) | 75 | 375 | 9.375 (about 9.4) |
Cap: the 160 mg TMP per-dose limit (20 mL of suspension) applies in the 30 kg serious-infection row. With \(n = 2\), the cap is reached at about 26.7 kg for 12 mg/kg/day, 40 kg for 8 mg/kg/day and 64 kg for 5 mg/kg/day.
This table is illustrative and educational only. It is not personal medical advice, and actual dosing must be decided by a qualified clinician or pharmacist, who will consider age, kidney function, allergies and the specific infection.
FAQ
Can infants under 2 months receive Bactrim?
No. It is generally contraindicated under 2 months of age because of the risk of kernicterus.
Who should avoid it?
Children with sulfa allergy, G6PD deficiency, significant kidney or liver impairment, or folate deficiency need special review by a clinician.
Are these doses official?
They reflect commonly cited ranges, but local guidelines, kidney function and the infection being treated can change the dose. Always confirm with a healthcare professional.