Pool volume is surface area multiplied by average depth. Length and width establish the horizontal footprint, and depth turns that footprint into cubic feet.
The difficult term is the average. A shallow-end reading, a deep-end reading, or an informal guess can move the result by thousands of gallons, and none of the three is what the arithmetic asks for.
Averaging the shallow and deep ends is exact when the floor slopes evenly between them. The sloping water body is a wedge, and that wedge holds exactly as much as a box built to the mean depth. That rule applies only to a plane floor, though. A shallow shelf followed by a slope and a flat deep hopper has a different average depth even when both end readings are unchanged.
Why the mean of the ends is exact, when it is
Start with the default example in the pool volume calculator: a rectangular pool measuring 32 feet by 16 feet, with a floor sloping evenly from 3 feet to 8 feet deep.
32 × 16 = 512 sq ft
(3 + 8) ÷ 2 = 5.5 ft
512 × 5.5 = 2,816 cu ft
The wedge-and-box identity explains why 5.5 feet is the exact average rather than a cautious approximation. Every part of the slope lying above 5.5 feet is balanced by an equal part below it, and moving that deeper water into the shallower space produces a level box without changing the volume. A flat-bottomed pool with the same surface and a uniform 5.5 foot depth therefore holds the identical 2,816 cubic feet.
The calculator derives its gallon conversion rather than relying on a remembered constant. NIST Handbook 44 defines the US liquid gallon as exactly 231 cubic inches, and one cubic foot contains 12 cubed cubic inches.
12³ ÷ 231 = 1728 ÷ 231
1728 ÷ 231 = 7.480519 gal per cu ft
2,816 × 7.480519 = 21,065 gal
The exact factor is the fraction, not the decimal. 1728 over 231 reduces to 576 over 77, which never terminates: it runs 7.480519480519480519 and repeats those six digits forever. Every decimal written for it, here or anywhere else, is a rounding, which is why the engine divides rather than storing a typed-out constant.
The litre conversion comes from exact definitions too. Under the 1959 International Yard and Pound Agreement one inch is exactly 25.4 millimetres, or 2.54 centimetres, which fixes the gallon at exactly 3.785411784 litres. The same factor is tabulated on the gallons to litres page if you want to check a figure without re-measuring anything.
231 × 2.54³ ÷ 1000 = 3.785411784 litres per gal
21,065 gal = 79,740 litres
Reading the deep end as though it covered the whole floor produces 30,640 gallons, and reading only the shallow end produces 11,490. These are not small measurement slips.
512 × 8 = 4,096 cu ft
4,096 × 7.480519 = 30,640 gal
8 ÷ 5.5 = 1.4545
512 × 3 = 1,536 cu ft
1,536 × 7.480519 = 11,490 gal
3 ÷ 5.5 = 0.5455
The depth ratios explain the symmetry. Eight feet is 45.45 percent above 5.5 feet and three feet is 45.45 percent below it, so with the surface area and the conversion factor unchanged, the volume error follows the depth error exactly.
The floor most pools actually have
Many in-ground floors are not one uninterrupted slope. They carry a flat shallow shelf, a sloping transition, and a flat deep hopper, and averaging the two outermost depths treats the whole length as a slope, including the parts that are flat.
Consider the same 32 by 16 foot footprint and the same 3 foot and 8 foot end depths. The 12 foot shelf, 12 foot slope and 8 foot hopper below are one illustrative split chosen to show the method: they add to 32 feet, but they are not typical, standard, or a universal layout.
Each section can be calculated on its own because each has a floor the basic geometry can describe. The shelf and the hopper are flat planes, and the transition is a sloping plane, so its own average depth is exactly the mean of its two ends.
| Section | Length | Width | Depth used | Volume |
|---|---|---|---|---|
| Shallow shelf | 12 ft | 16 ft | 3 ft | 576 cu ft |
| Sloping transition | 12 ft | 16 ft | 5.5 ft | 1,056 cu ft |
| Deep hopper | 8 ft | 16 ft | 8 ft | 1,024 cu ft |
| Total | 32 ft | 16 ft | 2,656 cu ft |
12 × 16 × 3 = 576 cu ft
12 × 16 × 5.5 = 1,056 cu ft
8 × 16 × 8 = 1,024 cu ft
576 + 1,056 + 1,024 = 2,656 cu ft
Adding the three sections gives 2,656 cubic feet, or 19,868 gallons. Treating the whole pool as an end-to-end slope gives 2,816 cubic feet, or 21,065.
2,656 × 7.480519 = 19,868 gal
2,816 × 7.480519 = 21,065 gal
2,816 − 2,656 = 160 cu ft
21,065 − 19,868 = 1,197 gal
160 ÷ 2,656 × 100 = 6.02 percent
For this illustrative floor the end-to-end mean overstates the water by 160 cubic feet, 1,197 gallons, or 6.02 percent. That percentage belongs to these stated segment lengths and is not a correction factor for any other pool.
The effective average depth makes the reason visible. Dividing the sectioned volume by the full 512 square foot surface gives 5.1875 feet rather than 5.5, because the flat shallow shelf occupies more length than the flat deep hopper and pulls the true average down.
2,656 ÷ 512 = 5.1875 ft
The transition still uses the mean of its own 3 foot and 8 foot ends. That is not an exception to the rule but the rule applied where its condition holds, and splitting works precisely because every individual floor is either flat or an even plane.
What the split costs you in measurements
Splitting is not free. The end-to-end method needs four numbers: length, width, and the two end depths. The three-part method needs two more, and they are the two positions along the pool where the floor changes character.
Find them with a pole rather than by eye. Walk it along the centre line, resting it on the floor, and note the point where it first stops reading a constant depth: that is where the shelf ends. Carry on until it reads constant again, and that is where the hopper begins. Those two distances from the shallow wall are the only new measurements the split requires.
Everything else you already have. The shelf takes the shallow end depth, the hopper takes the deep end depth, and the transition takes the mean of the two, so no additional depth readings are needed at all.
The two positions matter more than they look, because they set how much length sits at each flat depth. Moving the hopper boundary is what changes the effective average, which is the whole reason the two floors disagreed in the first place.
Splitting is the general method
Sectioning extends well beyond rectangular pools with three-part floors. Free-form pools, kidney shapes, joined spas, tanning ledges and beach entries do not fit one rectangle, circle or ellipse with one plane floor, because their outlines, their elevations, or both change across the water body.
Divide the water into pieces that resemble supported shapes: a straight-sided region becomes a rectangle, a round region a circle, an oval region an ellipse. Give each piece its own flat depth, or its own pair of depths where its floor slopes evenly.
Run every piece separately, then add the resulting cubic feet. Keep the boundaries from overlapping and leave no gaps between adjacent pieces; a shared boundary has no volume of its own, so it can serve as the end of one section and the start of the next.
A joined spa should stay a separate body when its surface elevation or its depth differs from the main pool. A tanning ledge can be isolated as one shallow section, while a beach entry may need several narrower pieces to follow its changing outline and floor.
The pieces you choose determine the quality of the answer. More sections follow an irregular form more closely, but a rectangle cannot reproduce a rounded corner exactly and a handful of ellipses cannot reproduce every free-form curve. The same decomposition habit applies to any awkward solid, which how to find the volume of composite solids works through in the general case.
This method therefore produces a better geometric estimate rather than a physical measurement of an irregular vessel. Construction drawings, a reliable fill record, or a professional survey are stronger evidence when the exact shell geometry is available.
The surface, where the proportional errors are biggest
Surface dimensions belong at the water line. Coping, shell edges above the water and the surrounding deck all describe different boundaries, and measuring one of those enlarges the footprint before depth even enters the calculation, after which the error carries through every later multiplication.
rectangle surface = length × width
round surface = pi × (diameter ÷ 2)²
oval surface = pi × (length ÷ 2) × (width ÷ 2)
A 32 by 16 foot oval fits inside a rectangle with those same outside dimensions, and the ellipse occupies exactly pi divided by four of that box.
pi × 16 × 8 = 402.1 sq ft
402.1 ÷ 512 = 0.7854
402.1 × 5.5 = 2,211.7 cu ft
2,211.7 × 7.480519 = 16,545 gal
At the same 5.5 foot average the oval holds 2,211.7 cubic feet, or 16,545 gallons. Calling it a rectangle would keep the outside measurements while assigning water to four corner regions the oval does not contain.
An 18 foot round pool has a surface of 254.5 square feet, against 324 for the 18 by 18 foot square around it, so the circle is 21.5 percent smaller than its box.
pi × (18 ÷ 2)² = 254.5 sq ft
18 × 18 = 324 sq ft
254.5 ÷ 324 = 0.7854
254.5 × 4 = 1,017.9 cu ft
1,017.9 × 7.480519 = 7,614 gal
At a flat 4 feet that pool holds 1,017.9 cubic feet, or 7,614 gallons. The same pi-over-four ratio appears because a circle is an ellipse whose length and width happen to match.
A different circular error comes from squaring the diameter and dropping the pi, as though the surface were diameter multiplied by diameter. That overstates the true surface by exactly four divided by pi.
diameter² ÷ (pi × diameter² ÷ 4) = 4 ÷ pi
4 ÷ pi = 1.2732
Pi over four and four over pi are the same constant read in opposite directions. The first is the share of its box that a circle or an ellipse actually occupies; the second is the penalty for substituting the whole box for the curve, and it comes to 27.3 percent.
The water line moves
Pool volume changes when the level changes even though the shell does not. Over a 512 square foot surface, one inch of level is 42.667 cubic feet.
512 ÷ 12 = 42.667 cu ft
42.667 × 7.480519 = 319.2 gal
A level sitting six inches low is 1,915 gallons short, which against the 21,065 gallon sloping-floor figure is 9.09 percent of the pool. That is a large fraction of the water to lose track of, and nothing about the shell looks different.
319.2 × 6 = 1,915 gal
1,915 ÷ 21,065 × 100 = 9.09 percent
Measure depth from the water surface that actually exists rather than from the coping or the intended fill line, and take the readings again after a refill or a long dry spell whenever the present volume is what matters.
Where this number stops
Pool volume is a geometry result and nothing more. It does not, on its own, determine a safe chemical dose, which depends on a current water test, the concentration of the specific product in front of you, temperature, bather load and applicable local rules.
Getting that decision wrong ranges from expensive to genuinely dangerous. Some pool chemicals react dangerously with each other, and a correct gallon figure does not make an unsupported amount, mixture or handling method safe.
Take the volume to the label on the container you are holding, read against a current test of the water, or to a professional who tests it for you. This page supplies the water and stops there, deliberately, because it is not a substitute for product instructions, test results or qualified guidance.