How we calculate

Methodology

Every calculator on this site is built from published, checkable math. This page explains where the formulas come from, which constants we use, and how results are validated.

Core constants

1 US gallon of water weighs about 8.34 lb. One cubic foot equals 7.48052 US gallons. One BTU raises one pound of water by 1°F. One therm equals 100,000 BTU; one kWh equals 3,412.14 BTU.

Chemical dosing reduces to one relationship: a 1 ppm change in one million gallons of water corresponds to 8.34 lb of pure substance.

Chemical doses

Pure-substance weight = ppm shift × gallons × 8.34 ÷ 1,000,000. Product weight divides that by the product's active concentration, which the user confirms from their label.

Product concentration defaults are typical US retail values and are always shown with the result. We do not output a dose when the required concentration is unknown.

Free chlorine and CYA

For stabilised outdoor pools we show the recommended free-chlorine band using the widely referenced relationship in which minimum FC tracks roughly 7.5% of the CYA level, with 1-3 ppm for unstabilised water. This is guidance for planning, not a substitute for testing.

Heating and energy

Heat requirement = gallons × 8.34 × temperature rise in °F. Run time divides that by usable heater output (rated BTU/h × efficiency for gas; near rated output for heat pumps). Cost uses your own energy prices.

The model assumes no wind and no cover during heat-up; it is a planning estimate, not a thermal simulation.

Validation

Each engine function is covered by automated unit tests against known-answer cases, including boundary values (zero, negative and oversized inputs, mixed units). Results are also cross-checked against industry dosing tables, for example: ~1.5 lb of baking soda per 10,000 gallons raises total alkalinity about 10 ppm, and ~1.25 lb of 77% calcium chloride per 10,000 gallons raises calcium hardness about 10 ppm.

Pool fit and clearances

The Pool Fit Planner works out the rectangle a pool needs - footprint plus clearance - before judging whether it fits your yard. Its default clearances are side clearance 3 ft, fence clearance 2 ft, access space 4 ft, equipment clearance 3 ft. The band is applied on every side, and the access zone is appended to the length axis.

Those numbers are drafting starting points, not a code. Side clearance reflects the 2-3 ft of walking space common in pool building; the fence band is a typical installer setback; access space follows 3-5 ft service-access guidance; and equipment clearance reflects the roughly 3 ft of frontal access that pump, filter and heater manuals ask for.

Where a manufacturer's manual differs, the manual wins. Local building codes and HOA covenants set the binding setbacks and override this table. The planner is a space estimate, not a permit review.

What our outputs are not

They are planning guidance. They do not model sunlight loss, bather load, backwashing, cover use or unusual water conditions, and they do not replace your product label, your test kit or a qualified pool professional.

How the pages are written

This page covers the formulas. How the pages themselves are researched, written, reviewed and corrected - as opposed to how the maths works - is set out in our editorial policy.

Last updated: 2026-09-29 · Back to the calculators