How We Calculate
Formulas, product strengths, rounding and sources.
The principle behind every dose
Every product has a potency: how many ppm one ounce (fluid ounce for liquids) adds to one US gallon. One ounce in one gallon is 7,489.15 mg/L, so a product's potency is that number times its active fraction and a molar-mass ratio. Then amount = change in ppm × gallons ÷ potency. Example: raising free chlorine from 2 to 7 ppm in 15,000 gallons with 10% liquid chlorine takes 96 fl oz (≈ 12 cups · 2.8 L).
Units use the legal definitions (NIST Handbook 44): 1 US gallon = 3.785411784 L, 1 ft³ = 7.48 gallons, 1 oz = 28.349523125 g. Results are rounded only for display: 1 decimal under 16 units, whole numbers above.
Product potencies we use
| Product | Potency | Per | Cross-checked against |
|---|---|---|---|
| Liquid chlorine 12.5% (trade %) | 976.6 | fl oz | Unit definitions; TFP Pool Math; PHTA (1 gal = 12.5 ppm per 10,000 gal) |
| Bleach 6% (weight %) | 481.1 | fl oz | TFP curve 75.71·p + 0.746·p²; stoichiometry within 1.8% |
| Cal-hypo 65% | 4,867.9 | oz | Stoichiometry; PHTA (1 lb = 7.8 ppm per 10,000 gal); Illinois DPH |
| Dichlor 56% | 4,193.9 | oz | Label %; TFP theoretical 55.4% (≤ 1.7% apart) |
| Trichlor 90% | 6,740.2 | oz | Label %; TFP theoretical 91.5% |
| Baking soda (TA) | 4,259.2 | oz | TFP dosing value; stoichiometry 4,462; label 4,167 |
| Muriatic acid 31.45% (TA) | 3,911.5 | fl oz | TFP; stoichiometry 3,909 |
| Calcium chloride 100% (CH) | 6,754.1 | oz | Stoichiometry = TFP; labels within 4–9% |
| Stabilizer (CYA) | 7,489.5 | oz | TFP = stoichiometry; label within 6% |
| Salt (per lb) | 119,498.2 | lb | TFP (99.7% purity); salt-cell manual tables 267 lb / 10,000 gal |
Targets, pH and saturation
- Free chlorine vs stabilizer (Trouble Free Pool chart): minimum = max(1, ⌊0.075 × CYA + 0.7⌋), target = ⌊CYA ÷ 10 + 2.5⌋ to ⌊CYA ÷ 10 + 3.5⌋, SLAM = max(10, ⌊0.393 × CYA + 0.5⌋). At CYA 40: 3, 6 – 7 and 16 ppm. Salt cells use 0.045 for the minimum.
- Fixed ranges: traditional pH 7.2 – 7.8, TA 80 – 120, CH 200 – 400 (PHTA CPO 2021, ch. 6, same as TFP "traditional"); TFP pH 7.6 – 7.8, TA 60 – 80; salt 3,000 – 3,400 ppm (salt-cell manuals).
- pH: the TFP buffer model (carbonate system, alkalinity and borate), factor 240.15 for 31.45% acid, 218.68 for soda ash. Checked against a closed carbonate equilibrium (pKa 6.35 and 10.33).
- Side effects: each ppm of chlorine from trichlor adds 0.61 ppm CYA, from dichlor 0.91, from cal-hypo 0.71 ppm calcium (molar masses).
- Saturation: the CSI (TFP, consistent with Wojtowicz's revised index) is the headline; the PHTA chart LSI is shown too: SI = pH + temperature + calcium + alkalinity factors − TDS factor, with carbonate alkalinity = TA − CYA ÷ 3.
- Hot tubs: drain every gallons ÷ 3 ÷ users per day days (CDC); bromine = chlorine × 2.25 (Taylor).
- Volume: length × width × average depth × 7.48; round = diameter² × depth × 5.875; oval as a stadium or an ellipse.
Where sources disagree, and what we chose
| Topic | Gap | Our choice |
|---|---|---|
| Acid to lower pH | TFP and carbonate chemistry ≈ 6 fl oz (7.8 → 7.6, TA 100, 10,000 gal); consumer charts 14–16 fl oz | TFP model, with "add in 2 steps, retest" |
| Baking soda, +10 ppm TA per 10,000 gal | Stoichiometry 1.40 lb, TFP 1.47 lb, label 1.5 lb | TFP 1.47 lb |
| Oval pool volume | Stadium shape (TFP) vs ellipse (× 5.9): 13.7% apart | Both shapes offered |
| Solid chlorine strength | Label % vs TFP theoretical purity (≤ 1.7%) | Label %, editable |
| Low FC target at CYA 40 | TFP blog 5 ppm, TFP calculator 6 ppm | Calculator (newer) |
| Cartridge filter rate | 1.0 vs 0.5 vs 0.375 gpm/ft² | 0.375 (conservative), follow the label |
| Saturation index | PHTA chart is coarse; the 12.1 constant overstates SI above 1,000 ppm TDS | CSI as headline, PHTA LSI shown too |
How it is tested
The chemistry engine is plain TypeScript with automated tests (72 for the engine alone): reference values from the sources above (for example 12.5 ppm from 1 gallon of 12.5% chlorine in 10,000 gallons, 267 lb of salt for 3,200 ppm, the PHTA worked LSI examples), edge cases (zero, negative or impossible readings are refused) and US / metric round trips. Every calculator and chart on this site calls the same engine, so one fix updates every page.
Sources: Trouble Free Pool Pool Math (community method, cited as such), PHTA Certified Pool Operator Handbook 2021, CDC Model Aquatic Health Code and Healthy Swimming pages, ANSI/APSP/ICC residential pool and spa standards, J. A. Wojtowicz (Journal of the Swimming Pool and Spa Industry), Illinois Department of Public Health, product labels and safety data sheets. Found an error? Tell us through the contact page.
Frequently Asked Questions
Where do your formulas come from?
From chemistry (molar masses and unit definitions), checked against at least two independent sources for every constant: the Trouble Free Pool Pool Math calculator, PHTA/CPO training figures, state health department procedures and product labels.
Why are your acid doses lower than other charts?
Many charts give the acid that lowers alkalinity by 10 ppm, not the acid that moves pH by 0.2. Our pH model follows the carbonate buffer, so we add a step: dose, circulate, retest.
How accurate are the results?
The math is exact to the constants. Real-world error comes from the test kit (± 0.5 ppm FC, ± 0.2 pH on strips), the real strength of the product (liquid chlorine fades with heat and age) and the pool volume. Dose 75%, retest, then finish.
Can I use these calculators for a public pool?
No. Public and commercial pools follow local health codes (often based on the CDC Model Aquatic Health Code) and need a certified operator.