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

ReadingIdeal range we useNotes
pH7.4–7.6 (aim 7.5)7.2–7.8 is acceptable. From the ANSI/APSP/ICC-11 water quality standard.
Total alkalinity80–100 ppm with liquid chlorine or cal hypo; 70–100 with a salt generator; 100–120 with trichlor tabletsANSI/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 hardness200–400 ppm plaster; 150–300 ppm vinyl and fiberglass200–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 generatorPublic pool codes cap stabilizer at 90–100 ppm. Generator manuals range from 20–50 to 60–80 ppm; check yours.
Free chlorineAt 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 chlorine0.5 ppm or lessPublic pools are held to 0.4 ppm under the Model Aquatic Health Code.
SaltYour generator's range; 2,700–3,400 ppm (aim 3,200) for most unitsFrom 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

ProductStrengths offeredHow we use the label number
Liquid chlorine, bleach6, 7.5, 8.25, 10, 12.5% or your ownUS 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 hypo48, 65, 73%Available chlorine by weight. Each ppm of chlorine adds about 0.7 ppm of calcium hardness.
Dichlor56, 62%Available chlorine. Each ppm adds 0.9 ppm of stabilizer.
Trichlor90%Available chlorine. Each ppm adds 0.6 ppm of stabilizer.
Lithium hypochlorite35%Available chlorine.
Muriatic acid31.45%, 14.5% or your ownHydrochloric acid by weight; density 1.16 g/ml at 31.45%.
Dry acid93.2%Sodium bisulfate; one equivalent of acid per 120 g.
Calcium chloride77%, 94%Calcium chloride content by weight.
Baking soda, soda ash, borax, stabilizer, saltPure (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.

Chlorine (g of product) = ppm rise × liters ÷ 1,000 ÷ (available chlorine % ÷ 100) Liquid chlorine (liters) = ppm rise × liters ÷ 1,000 ÷ (% × 0.9525 × density × 10) Salt (lb) = ppm rise × gallons × 8.34 ÷ 1,000,000 ÷ 0.99 Baking soda (lb) = 1.40 × (ppm rise ÷ 10) × (gallons ÷ 10,000) Acid for alkalinity = 25.6 fl oz of 31.45% per 10 ppm per 10,000 gallons Calcium chloride (lb) = 0.93 × (ppm rise ÷ 10) × (gallons ÷ 10,000) ÷ (strength % ÷ 100) Stabilizer (oz) = 13.4 × (ppm rise ÷ 10) × (gallons ÷ 10,000) Share of water to replace = (current − target) ÷ (current − fill water)

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

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

My Pool

Saved in this browser only. Nothing is sent to us. Every calculator fills itself in from here.