Pooldex

How many gallons is a 20x40 pool?

A 20 × 40 ft inground pool holds about 28,400 gallons at 3.5 to 6 ft deep.

By Aliaksandr Rusinski · Published October 7, 2026 · Formulas: methodology (last changed October 7, 2026)

On this page (7 sections)

With a steady slope from 3.5 to 8 ft, it holds about 34,400 gallons. With a flat 4 ft floor, it holds about 23,900 gallons.

Quick answer for a 20x40

A 40 × 20 and a 20 × 40 are the same pool: 800 square feet of water. At that area, every half foot of average depth adds 2,992 gallons, so the depth you enter matters more than on any smaller pool. The data block gives average depths of 4 to 6.5 ft, with liters.

20 × 40 ft rectangular pool: gallons by average depth
Average depthGallonsLiters
4 ft23,938 gal90,614 L
4.5 ft26,930 gal101,941 L
5 ft29,922 gal113,267 L
5.5 ft32,914 gal124,594 L
6 ft35,906 gal135,921 L
6.5 ft38,899 gal147,248 L

Average depth = (shallow end + deep end) ÷ 2 for a steady slope. Example: 3.5 ft to 8 ft averages 5.75 ft.

Starting doses for 29,922 gal
ChangeAmount
+1 ppm FC (12.5% liquid chlorine)31 fl oz906 mL
+10 ppm TA (baking soda)4.2 lb1.90 kg
+10 ppm CYA (stabilizer)2.5 lb1.13 kg

Closest full chart: 30,000 gal dose chart.

Always follow your product’s label directions. Pool and spa chlorine, bromine, shock and algaecides are EPA-registered pesticides: use products labeled for pool or spa use, and don’t swim or soak until levels are within the limit on your product’s label. If this page and a label disagree, the label wins.

Depth profiles: flat, sloped, with deep end

20 × 40 ft pool: gallons by floor profile
Floor profileAverage depthGallons
Flat, 4 ft throughout4.0 ft23,938 gal
Steady slope, 3.5 to 6 ft4.75 ft28,426 gal
Shallow end plus deep end: 20 ft at 3.5 ft, 8 ft slope, 12 ft at 8 ft5.30 ft31,717 gal
Steady slope, 3.5 to 8 ft5.75 ft34,410 gal

Gallons = 40 × 20 × average depth × 7.48. With a separate deep end, weight each section's depth by its length.

A pool with half its length at 3.5 ft and a deep end of 8 ft holds about 31,700 gallons, not the 34,400 you'd get by averaging the two end depths. Some deep ends are shaped like a bowl or hopper rather than a flat floor, which lowers the real number further. If yours is shaped this way, the salt or stabilizer rise method on the pool volume calculator page gives a measured volume instead of a guess.

Starting doses for this volume

First doses by depth profile
Change3.5 to 6 ft (28,426 gal)3.5 to 8 ft (34,410 gal)
+1 ppm free chlorine (FC), 12.5% liquid chlorine29 fl oz35 fl oz
+1 ppm FC, 10% liquid chlorine36 fl oz44 fl oz
+10 ppm total alkalinity (TA), baking soda4.0 lb4.8 lb
Stabilizer (CYA), 0 to 30 ppm7.1 lb8.6 lb
Salt to 3,200 ppm (new salt pool)759 lb (19 bags of 40 lb)919 lb (23 bags)

Bag counts round up; add the exact weight, test after 24 hours, then top up. Always follow the product label. It is a violation of federal law to use a pesticide product in a manner inconsistent with its labeling.

At this size a 2 ppm daily chlorine loss means about 3.2 gallons of 12.5% liquid chlorine a week for 28,426 gallons. Measure your own loss before you commit to a supply, and compare per-ppm prices in the chemical cost calculator. Full sheets: 30,000 gallons and, for a shallower 20 × 40, 25,000 gallons. Targets and product choice: how much chlorine to add.

Calculator: your exact depth

The calculator opens at 40 × 20 ft, 3.5 to 8 ft. Enter the water depth at the shallow and deep ends (not the depth markers on the coping, which may be rounded).

Pool volume calculator

Inputs
Intex and Bestway models whose capacity we checked on the maker’s site. Picking one fills in its size.
ft
ft
ft
ft

Result for example values. Enter your own numbers.

34,410 gal130,257 L

Average depth 5.75 ft.

Chemical amounts for about this size: 30,000 gallon pool dose chart.

Check your water for 34,410 gal: chlorine, pH, and alkalinity doses in order.

For the most accurate number, use your model's stated capacity or calibrate it: add a known amount of salt and measure how much the salt level rises.

Estimates, not guarantees. Always follow the product label. How we calculate

Fill time and water cost

For 28,426 gallons: about 95 hours at 5 gallons per minute and 47 hours at 10. For 34,410 gallons: about 115 and 57 hours. For every $1 per 1,000 gallons on your water bill, that's about $28.43 or $34.41; enter your rate in the fill cost calculator. For a fill this large, ask your water utility about bulk delivery or whether sewer charges apply to pool water. Filled to 3.5 to 8 ft, the water weighs roughly 287,000 lb.

How many swimmers? Backyard pools have no legal limit. For public pools, the CDC's Model Aquatic Health Code uses 20 square feet per bather in flat water, which would cap 800 square feet at 40 people; for a home pool, a comfortable number is far lower.

Safety. Add large doses of liquid chlorine and acid separately, at least 30 minutes apart. Pour slowly in front of a return jet with the pump on. Never mix them, and keep swimmers out until you retest. Poison Control: 1-800-222-1222.

FAQ

How many gallons is a 40x20 pool?

About 23,938 gallons at a flat 4 ft, 28,426 at 3.5 to 6 ft, and 34,410 at 3.5 to 8 ft with a steady slope. With a flat shallow half and a short deep end, about 31,700 gallons.

How much chlorine for a 20x40 pool?

Per 1 ppm: about 29 fl oz of 12.5% liquid chlorine at 3.5 to 6 ft, or 35 fl oz at 3.5 to 8 ft. A 3 ppm top-up is 87 to 106 fl oz, most of a gallon jug.

Sources