Chemistry calculators

Pool Water Replacement Calculator

Work out how much water to drain and refill to lower stabilizer (CYA), calcium hardness and salt at the same time, taking your tap water into account, plus the refill cost and what to add back afterwards.
Units
Units

From your water utility report or a tap test.

Split a large drain into smaller ones.

US average $6.64/1,000 gal (EPA).

Water to replace

44%

Replace 44% of the water (8,889 gallons). CYA sets the size of the drain; the other levels drop with it.

Volume to replace
8,889 gallons
Split into 2 drains
25% each (5,093 gallons)
CYA after
90 → 50 ppm
Calcium after
450 → 303 ppm
Refill water cost
$59.02
Add back after refilling
11.2 lb of calcium chloride (77%) to bring calcium back to 350 ppm

Never drain an in-ground pool completely without professional advice: groundwater can lift the shell or float the liner.

Hard fill water limits how far calcium can drop. Ask your water utility for its hardness, or test a tap sample.

Chemical safety:
  • Never mix pool chemicals with each other, wet or dry.
  • Always add chemicals to water, never water to chemicals.
  • Follow the manufacturer's label. It overrides any calculator, including this one.

How it's calculated

Draining and refilling is a mixing problem. If you replace a fraction f of the water with fill water at concentration F, the new level is the old level × (1 − f) + F × f. Solving for f gives the share to replace for each value:

f = (current − target) ÷ (current − fill water) drain needed = the largest f of all values that must come down each partial drain (k drains) = 1 − (1 − f)^(1/k)

The largest share sets the drain. Every other value is then recalculated with that same share, which is why some levels can end up below target and need adding back. Stabilizer and salt are assumed to be 0 ppm in tap water.

Worked example

A 20,000 gallon pool has CYA 90 (target 50) and calcium 450 (target 350), with 120 ppm calcium in the tap water:

  1. CYA: f = (90 − 50) ÷ (90 − 0) = 44%.
  2. Calcium: f = (450 − 350) ÷ (450 − 120) = 30%.
  3. CYA needs more, so replace 44% (8,889 gallons). Calcium falls further than needed, to 303 ppm.
  4. In two drains: 25% each, with a refill in between.
One drain
100 ppm50 ppm
Two drains
100 ppm71 ppm50 ppm
Lowering CYA from 100 to 50 ppm with tap water: one 50% drain, or two drains of 29% each with a refill in between. Both end at the same level; smaller drains keep more water in the pool at every moment.Illustration: Raul Vaquerizo / SmartPoolCalc

One drain or several: same result

Total to replace2 drains, each3 drains, each
20%11%7%
30%16%11%
40%23%16%
50%29%21%
60%37%26%
70%45%33%

Common mistakes

  • Ignoring the tap water. Hard water brings calcium back in. Check it before planning a drain to lower calcium.
  • Draining an in-ground pool completely. High groundwater can push a shell or liner out of the ground. Partial drains avoid that.
  • Forgetting the pump. Turn it off before the water drops below the skimmer, or it will run dry.
  • Not adding stabilizer back. If CYA drops too low, the sun burns chlorine off in hours.
  • Draining into the street. Many areas require pool water to go to the sanitary sewer and to be dechlorinated first. Check local rules.

Frequently asked questions

Why do I have to drain water to lower CYA, calcium or salt?

None of them break down or evaporate. Evaporation removes only pure water and leaves minerals, stabilizer and salt behind, so levels creep up over the years. Replacing part of the water with fresh water is the only reliable way to bring them down.

Is it better to drain all at once or in steps?

The end result is the same either way, but smaller drains keep more water in the pool, which protects in-ground shells from groundwater pressure and vinyl liners from shrinking or shifting. Two drains of 29% equal one drain of 50%.

What if my tap water is hard?

Hard fill water limits how far calcium can drop. If your tap water has 250 ppm of calcium, no amount of draining will get the pool below 250 ppm. The calculator uses your fill water value, and stops you if the target is impossible.

Does rain or evaporation change these numbers?

Rain dilutes slightly only if the pool overflows. Evaporation concentrates everything that stays behind. Drain and refill on a calm, dry day, and retest a few hours after the refill.

What do I need to add back after refilling?

Anything that dropped below its target because another value set the size of the drain. The result lists stabilizer, calcium or salt to add back, so chlorine still works and surfaces stay protected.

Related guides

See all Pool Water Chemistry Calculators · Pool FAQ.

Sources and further reading

  1. Trouble Free Pool. Pool School (free chlorine to CYA relationship and the SLAM shock method)
  2. Pool & Hot Tub Alliance (PHTA). ANSI/APSP/ICC-5 American National Standard for Residential Inground Swimming Pools (residential water-quality ranges and filter design rates)
  3. U.S. Geological Survey (USGS). Hardness of Water
  4. U.S. EPA WaterSense. Data and Information Used by WaterSense (average water and sewer rates)

Figures are cross-checked against these sources and against hands-on results. External links open in a new tab; SmartPoolCalc is not affiliated with any of them.

Last updated: · Written and maintained by Raul Vaquerizo