Pool Math Calculator

How many gallons does your swimming pool hold?

Calculate your pool's water volume and determine precise chemical dosages for balanced, safe swimming water.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of your pool as a giant bathtub that needs precise dosing. A 20,000-gallon pool requires 40 times more chlorine than a 500-gallon hot tub to achieve the same concentration. Pool chemistry follows the same mathematical principles as any dilution problem — the larger the container, the more chemical needed to change concentration by the same amount.

Pool volume determines everything from heating costs to chemical expenses. A rectangular pool measuring 32 by 16 feet holds dramatically different amounts of water depending on depth. At 4 feet deep, it contains 15,360 gallons. At 6 feet deep, the same footprint holds 23,040 gallons — 50% more water requiring 50% more chemicals.

Surface area affects evaporation, heating, and algae growth potential. Round pools have the lowest perimeter-to-area ratio, meaning less heat loss through edges. Rectangular pools maximize swimming lanes but create more surface area per gallon, increasing maintenance requirements.

When To Use This
Right tool, right situation

Use this calculator when opening your pool for the season, after major water changes, or when setting up chemical dosing equipment. Pool volume stays constant throughout the season, so one accurate calculation provides the baseline for all chemical treatments.

Recalculate only when physical pool dimensions change through renovation, liner replacement, or significant water level adjustments. Adding a spa or changing the shallow end depth requires new volume calculations.

Avoid using generic volume estimates for chemical dosing. Pool retailers often provide rough gallon estimates, but actual volume can vary significantly based on exact dimensions and depth variations. Accurate measurements prevent both under-dosing (ineffective sanitation) and over-dosing (equipment damage and swimmer irritation).

Common Mistakes
Why results sometimes look wrong

The biggest mistake is measuring pool dimensions at the bottom rather than the water surface. Pool walls typically slope inward, making the bottom smaller than the top. Using bottom measurements can underestimate volume by 10-15%, leading to chemical overdosing and potential safety hazards.

Many pool owners guess at average depth instead of measuring both ends and calculating the mathematical average. Eyeballing depth often overestimates by 1-2 feet because shallow areas appear deeper when viewed from pool deck height. This error compounds into thousands of gallons of miscalculation.

Round pool owners frequently confuse radius and diameter measurements. Using diameter when the formula requires radius quadruples the surface area calculation, resulting in massive chemical overdosing. Always divide diameter by 2 to get radius before applying the circular area formula.

The Math
Worked examples and deeper derivation

Pool volume calculations multiply surface area by depth, then convert cubic feet to gallons using the conversion factor 7.48052. For rectangular pools, surface area equals length times width. Round pools use the circle formula π × radius squared, where radius equals diameter divided by 2. Oval pools multiply π by both the length radius and width radius.

Chemical dosing follows parts-per-million concentration math. To raise chlorine by 1 ppm in a 20,000-gallon pool requires 2.6 ounces of liquid chlorine (12.5% sodium hypochlorite). The formula multiplies pool volume by the chemical strength factor: gallons × 0.00013 = ounces of liquid chlorine per ppm increase.

Depth averaging accounts for sloped pool bottoms. Most residential pools slope from 3-4 feet in the shallow end to 7-9 feet in the deep end. The mathematical average gives accurate volume calculations because water displacement follows the same averaging principle as the container shape.

Standard rectangular backyard pool
32-foot length, 16-foot width, 5.5-foot average depth
Volume is 21,087 gallons. This pool needs 2.7 ounces of liquid chlorine to raise chlorine by 1 ppm, making it suitable for weekly maintenance dosing.
Above-ground round pool
24-foot diameter, 4-foot consistent depth
Volume is 13,573 gallons with 452 square feet of surface area. The smaller volume means chemicals work faster and cost less per treatment.
Oval in-ground pool
28-foot length, 14-foot width, 6-foot average depth
Volume is 18,474 gallons. The oval shape provides 308 square feet of surface area, affecting evaporation rate and heating costs.
Expert Unlock
The thing most explanations skip

Pool professionals measure at multiple points and average the results because few pools have perfectly uniform dimensions. Even factory-built pools can vary 6-12 inches from specified dimensions due to installation and settling. Commercial pools require volume certification for health department compliance.

How do I measure pool depth accurately?

How do I calculate average depth for a sloped pool?
Measure the shallow end depth and deep end depth, then add them together and divide by 2. For example, if your shallow end is 3 feet and deep end is 8 feet, your average depth is 5.5 feet.
Do I measure length at the top or bottom of the pool?
Always measure at the water surface level where the pool is widest. Pool walls often slope inward toward the bottom, so surface measurements give the most accurate volume calculation.
How often should I recalculate chemical amounts?
Pool volume stays constant, so calculate once and save your numbers. Only recalculate if you change water level significantly or modify pool dimensions through renovation.

Need something this doesn't cover?

Suggest a tool — we'll build it →