How our calculators work
Every dose on this site comes from a formula we wrote, covered by an automated test suite, and cross-checked against independent reference calculators (Pool Math and Orenda's calculator) before publishing — never a guess. Here's the reasoning behind each one.
The core math
Most doses boil down to one idea: grams of active ingredient = change in ppm × liters of water ÷ 1000 (since 1 ppm = 1 mg per liter). From there, we divide by the product's purity or concentration to get a real-world amount — milliliters for liquids, grams or ounces for granulars, teaspoons for small hot tub doses.
Chlorine
Liquid chlorine is labeled by "trade %" (grams of available chlorine per 100 mL), so we convert directly. Granular products (cal-hypo, dichlor, trichlor) are listed as a percent purity, and each one has a documented side effect we account for: cal-hypo raises calcium hardness, dichlor and trichlor both raise cyanuric acid (CYA). We flag those side effects in every result.
pH and alkalinity
Lowering pH uses a simplified carbonate-equilibrium model: we estimate your water's total inorganic carbon from its current pH and alkalinity (corrected for CYA's buffering effect), then calculate how much that would shift at your target pH, and convert the difference into acid. This is an estimate — always retest and add gradually rather than dosing the full amount at once.
LSI (water balance)
The Langelier Saturation Index combines your pH, temperature, calcium hardness, and alkalinity (again corrected for CYA) into a single number: LSI = pH + temperature factor + calcium factor + alkalinity factor − TDS factor. A result between −0.3 and +0.3 is considered balanced; outside that range, water trends corrosive (low) or scale-forming (high).
Units and conversions
We work internally in metric (liters, grams) and convert to US units (gallons, ounces, fluid ounces, pounds) for display, since most of our audience measures their pool in gallons. Hot tub doses are small enough that we also show teaspoons and tablespoons, using each product's typical density.
Where the numbers come from
The ideal ranges and dosing factors are based on general water-chemistry principles used across the pool and spa industry — not any single brand's recommendation. We don't copy text, tables, or graphics from other sites; we only use other calculators to sanity-check our own numbers during development, typically aiming to match within about 5% (10% for pH, which is the least linear of the formulas here).
Worked checks
A few of the automated test cases every build has to pass, so you can check the math yourself:
- Rectangular pool, 32 × 16 ft, 3.5–8 ft deep (5.75 ft average) → ≈ 22,021 gallons.
- 15,000-gallon pool, raise FC by 3 ppm with 12.5% liquid chlorine → ≈ 1,363 mL (≈ 46.1 fl oz).
- 15,000-gallon pool, raise FC by 3 ppm with 56% dichlor → ≈ 304 g, plus +2.7 ppm CYA as a side effect.
- 15,000-gallon pool, salt from 2,000 to 3,200 ppm → ≈ 150.2 lb of pool salt.
- LSI at pH 7.5, 84°F, CH 300, carbonate TA 80, TDS under 1,000 ppm → ≈ +0.08 (balanced).
The limits of a calculator
Every result here is an estimate based on the numbers you enter. Test strips and drop kits have their own margin of error, water chemistry interacts in ways a simple formula can't fully capture, and product labels vary by manufacturer. Always follow your product's label, and when in doubt, add less than the calculated amount and retest before adding more.