How we calculate
Every amount on this site comes from chemistry you can check. This page lists the ranges we aim for, the formulas, the product strengths we assume and where the numbers come from. If you find an error, tell us.
Target ranges
| Reading | Ideal range we use | Notes |
|---|---|---|
| pH | 7.4–7.6 (aim 7.5) | 7.2–7.8 is acceptable. From the ANSI/APSP/ICC-11 water quality standard. |
| Total alkalinity | 80–100 ppm with liquid chlorine or cal hypo; 70–100 with a salt generator; 100–120 with trichlor tablets | ANSI/APSP-11 sets 60–180 ppm as the limits and 80–100 as ideal for hypochlorite pools. Salt pools sit lower because they drift up in pH; tablet pools higher because trichlor is acidic. |
| Calcium hardness | 200–400 ppm plaster; 150–300 ppm vinyl and fiberglass | 200–400 ppm is the range used by state and county health departments. Vinyl can't be etched, so a lower level is fine. |
| Stabilizer (CYA) | 30–50 ppm; 60–80 ppm with a salt generator | Public pool codes cap stabilizer at 90–100 ppm. Generator manuals range from 20–50 to 60–80 ppm; check yours. |
| Free chlorine | At least 7.5% of CYA (5% with a salt generator), aim 10% (7.5%) | See below. Never below 1 ppm; aim at least 3 ppm with no stabilizer. |
| Combined chlorine | 0.5 ppm or less | Public pools are held to 0.4 ppm under the Model Aquatic Health Code. |
| Salt | Your generator's range; 2,700–3,400 ppm (aim 3,200) for most units | From generator manuals. Some units run lower or much higher. |
Chlorine and stabilizer
Stabilizer (cyanuric acid) bonds with most of the chlorine in the water. The bound chlorine is protected from sunlight but works very slowly. What does the killing is the small amount of hypochlorous acid left free, and that amount follows the ratio of free chlorine to stabilizer. This is well established in the research on chlorinated cyanurates (J.A. Wojtowicz in the Journal of the Swimming Pool and Spa Industry; O'Brien et al. 1974; Wahman and Alexander 2019).
In 2019 a committee of the Council for the Model Aquatic Health Code recommended keeping stabilizer no higher than 20 times the free chlorine, which is free chlorine of at least 5% of CYA. We use that 5% as the minimum for salt water pools, which make chlorine all day. For pools chlorinated by hand we add a 50% margin, 7.5%, to cover what sunlight burns off between doses.
Shock levels: 10 ppm or 25% of CYA for a routine shock; about 10 times the combined chlorine for a chlorine smell; 40% of CYA, at least 10 ppm, held until clear, for algae.
Product strengths
| Product | Strengths offered | How we use the label number |
|---|---|---|
| Liquid chlorine, bleach | 6, 7.5, 8.25, 10, 12.5% or your own | US labels list sodium hypochlorite by weight. We convert to chlorine per liter using the liquid's density: fresh 12.5% holds about 142 g of chlorine per liter, 10% about 110 g, 6% about 63 g. |
| Cal hypo | 48, 65, 73% | Available chlorine by weight. Each ppm of chlorine adds about 0.7 ppm of calcium hardness. |
| Dichlor | 56, 62% | Available chlorine. Each ppm adds 0.9 ppm of stabilizer. |
| Trichlor | 90% | Available chlorine. Each ppm adds 0.6 ppm of stabilizer. |
| Lithium hypochlorite | 35% | Available chlorine. |
| Muriatic acid | 31.45%, 14.5% or your own | Hydrochloric acid by weight; density 1.16 g/ml at 31.45%. |
| Dry acid | 93.2% | Sodium bisulfate; one equivalent of acid per 120 g. |
| Calcium chloride | 77%, 94% | Calcium chloride content by weight. |
| Baking soda, soda ash, borax, stabilizer, salt | Pure (salt and stabilizer 99%) | Sodium bicarbonate, sodium carbonate, borax decahydrate, cyanuric acid, sodium chloride. |
Liquid chlorine weakens with age and heat, so a jug that has sat in a hot garage holds less than its label says. Our amounts are for fresh product. That means the error, if any, is on the low side: you retest and add a little more, rather than overshooting.
Formulas
1 ppm means 1 milligram per liter. One US gallon is 3.7854 liters and weighs 8.34 lb. One cubic foot holds 7.4805 gallons.
pH and alkalinity
Changing pH is not a fixed amount per 0.1. It depends on alkalinity, stabilizer, borates and temperature. Our pH and alkalinity tools model the water's carbonate system: from pH, alkalinity and temperature they work out the total dissolved carbonate, then find how much acid or base moves the pH to the target with that carbonate fixed. Equilibrium constants and their temperature dependence come from Plummer and Busenberg (1982); activity corrections use the Davies equation; cyanuric acid (pKa 6.88) and boric acid (pKa 9.24) are included as buffers. This model also gives the carbonate alkalinity, and at pH 7.5 it reproduces the familiar rule that stabilizer accounts for about a third of its own reading in the alkalinity test.
Saturation index
The saturation index (LSI) compares the water's pH with the pH at which it would be exactly saturated with calcium carbonate, using calcium, carbonate alkalinity and temperature. Between −0.3 and +0.3 is balanced; below that the water tends to etch plaster and corrode metal; above it, scale forms.
Hot tubs and bromine
Hot tub ranges: free chlorine 3–5 ppm (the Model Aquatic Health Code minimum for spas is 3), bromine 4–6 ppm (code minimum 4), pH 7.4–7.6, alkalinity 80–120 ppm, calcium 150–250 ppm, stabilizer under 40 ppm. Bromine test results are reported as bromine; one ppm of chlorine corresponds to 2.25 ppm of bromine, the ratio of their molecular weights. Water change interval: volume in gallons ÷ 3 ÷ average soakers per day, a common industry rule.
Replacing water in rounds
After replacing share f of the water n times, a reading becomes fill + (current − fill) × (1 − f)^n. Each of n equal rounds therefore replaces 1 − ((target − fill) ÷ (current − fill))^(1 ÷ n).
Green pools
Algae is treated at 40% of stabilizer (at least 10 ppm), held until three things are true at once: clear water, combined chlorine 0.5 ppm or less, and an overnight chlorine loss of 1 ppm or less. The "have on hand" amounts are rough multiples of the first dose by severity, based on typical recoveries, and are labelled as estimates.
Pumps, heaters and filling
Pump flow = gallons ÷ (turnover hours × 60). Pipe friction uses the Hazen-Williams equation for PVC (C = 150) with elbows counted as extra length; clean-equipment losses use typical figures (sand filter and valve 15 ft, DE 10, cartridge 8, heater 10, salt cell 4, return fittings and valves 8, suction side 5), or the filter gauge reading × 2.31 + 5 ft. Horsepower = GPM × head ÷ 3,960 ÷ 0.4. Heating: gallons × 8.34 × rise in BTU, surface loss = area × (water − air) × 12 BTU per hour (halved with a cover), gas therms = BTU ÷ 100,000 ÷ efficiency, propane gallons = BTU ÷ 91,500 ÷ efficiency, heat pump kWh = BTU ÷ 3,412 ÷ COP. Filling: gallons ÷ GPM; a 1-inch top-up is 0.623 gallons per square foot; 1 CCF = 748 gallons.
Pool volume
Surface area × average depth × 7.4805. Rounded-end ovals: (length − width) × width + π × (width ÷ 2)². Kidney: (A + B) × length × 0.45. Freeform: the sum of evenly spaced widths × the spacing.
Safety rules built into every result
- Large doses are split into parts with a retest between them: acid at about a quart of 31.45% per 10,000 gallons or a 0.4 pH drop; soda ash every 0.3 pH; baking soda above a 30 ppm rise; calcium chloride above 100 ppm; salt at three quarters of the total.
- Acid and chlorine are always separated by at least 30 minutes and added in different spots.
- We never tell you the water is safe to swim in. Retest and follow your product label.
How we check the calculators
Every formula has automated tests that run before the site is published: known values from the chemistry (for example, 1.4 lb of baking soda raising 10,000 gallons by 10 ppm), volumes from 300 to 30,000 gallons, unit conversions, edge cases such as a reading already above target, and the order of steps in the treatment plan.
Before building each tool we also run the same test cases through other pool calculators. Where answers differ, we work out why and follow the chemistry, not the majority. Two examples from that work: some pH calculators ignore alkalinity entirely, and one widely used acid calculator gave about twenty times the acid needed; and most liquid chlorine calculators treat a 12.5% label as 12.5 g per 100 ml, which over-doses fresh product by about 12%.
Sources
- ANSI/APSP/ICC-11 2019, American National Standard for Water Quality in Public Pools and Spas (Pool & Hot Tub Alliance).
- Centers for Disease Control and Prevention, Model Aquatic Health Code, and its guidance on preventing pool chemical injuries.
- Falk, R.A., Blatchley, E.R., et al. (2019). Cyanuric acid and free chlorine study for the Council for the Model Aquatic Health Code, published in Water.
- Wahman, D.G., Alexander, M.T. (2019). A Drinking Water Relevant Water Chemistry Model for the Free Chlorine and Cyanuric Acid System from 5 to 35 °C. Environmental Engineering Science (free full text).
- Wojtowicz, J.A. Articles on cyanuric acid, chlorine chemistry and water balance, Journal of the Swimming Pool and Spa Industry.
- O'Brien, J.E., Morris, J.C., Butler, J.N. (1974). Equilibria in aqueous solutions of chlorinated isocyanurate.
- Plummer, L.N., Busenberg, E. (1982). The solubilities of calcite, aragonite and vaterite in CO2–H2O solutions. Geochimica et Cosmochimica Acta.
- Stumm, W., Morgan, J.J. Aquatic Chemistry (carbonate system and alkalinity).
- US EPA pesticide product labels for sodium hypochlorite and calcium hypochlorite pool products; manufacturer specification sheets for sodium hypochlorite density and strength.
- Salt chlorine generator owner's manuals from several manufacturers (salt and stabilizer ranges).
- State and county health department pool chemistry tables (Maryland, Ohio, Minnesota, Illinois).