What pipe volume tells you and when you need it
A pipe is a cylinder, so its capacity is the cross-sectional area times the length. That sounds too simple to need a calculator, and it would be, except that four things trip people up: the bore is never the nominal size, area goes as the square of diameter, US gallons are defined in cubic inches while pipe lengths are in feet, and the answer is usually needed for several parallel runs at once.
The number matters in more jobs than most people expect. Disinfecting a new water main under AWWA C651 requires a known volume so the chlorine dose lands at the specified concentration. Flushing a line requires enough volume exchanges to be meaningful — you cannot claim three exchanges without knowing what one exchange is. Charging a hydronic loop with glycol requires the system volume before you can buy the right quantity of concentrate. And filling a large riser for a hydrostatic test loads the structure with a weight that is not in the empty-pipe hanger schedule.
The compact form worth memorising is gallons per foot = 0.0408 × d², with d in inches. A 2-inch bore holds 0.163 gal/ft, a 4-inch holds 0.653, a 6-inch holds 1.469. Because of the square, doubling the bore quadruples the capacity — which is also why a service upgrade from 3/4-inch to 1-inch pipe leaves 62% more water sitting in the line between draws.
Where the constant 0.0408 comes from
Work it through once and you never have to look it up again. Take a pipe of bore d inches. Convert to feet by dividing by 12, so the radius in feet is d/24 and the area is π/4 × (d/12)² = 0.0054542 × d² square feet.
One foot of that pipe therefore encloses 0.0054542 × d² cubic feet. A US gallon is defined as exactly 231 cubic inches and a cubic foot is 12³ = 1,728 cubic inches, so one cubic foot is 1,728 ÷ 231 = 7.48052 gallons. Multiply: 0.0054542 × 7.48052 = 0.0408 gallons per foot per square inch of diameter.
The weight follows from density. Water at 60 °F weighs 62.366 lb/ft³, so the contents weigh volume in cubic feet times 62.366 times the specific gravity of whatever is actually in the pipe. Expressed per gallon that is 8.337 lb — the familiar "a pint's a pound" rule is close but 4% light, because a US pint of water weighs 1.042 lb.
Metric users have the easier version: volume in litres equals π/4 × d(mm)² × L(m) ÷ 1,000,000, and a litre of water weighs a kilogram to within a fraction of a percent at room temperature.
Worked example: chlorinating 600 ft of new 6-inch main
You have laid 600 ft of nominal 6-inch Schedule 40 pipe and need to dose it for disinfection. The bore is 6.065 in.
- Diameter in feet. 6.065 ÷ 12 = 0.505417 ft.
- Area. π/4 × 0.505417² = 0.785398 × 0.255446 = 0.200627 ft².
- Gallons per foot. 0.200627 × 7.48052 = 1.50080 gal/ft. Cross-check against the shortcut: 0.0408 × 6.065² = 0.0408 × 36.784 = 1.5008. They agree.
- Total volume. 1.50080 × 600 = 900.5 gallons.
- Weight of the fill. 900.5 gal ÷ 7.48052 = 120.38 ft³; × 62.366 = 7,508 lb, or 3.75 tons of water sitting on the bedding.
- Chlorine dose. To reach 25 mg/L you need 25 mg per litre of system volume. 900.5 gal × 3.78541 = 3,408.6 litres, so 3,408.6 × 25 = 85,215 mg = 85.2 g of available chlorine. From 12.5% sodium hypochlorite at 1.2 kg/L of solution, that is 85.2 ÷ (0.125 × 1200) = 0.57 litres of product.
- Flushing time. At 100 gpm, one full volume exchange takes 900.5 ÷ 100 = 9.0 minutes, so three exchanges take 27 minutes of continuous flow.
Every figure above is derived from the same 1.5008 gal/ft. Get the bore wrong — use 6.000 in instead of 6.065 in — and every one of them drops by 2.1%, because (6.000/6.065)² = 0.979.
Gallons per foot for Schedule 40 pipe
| Nominal size | Inside diameter (in) | Gallons per foot | Litres per metre | Gallons in 100 ft |
|---|---|---|---|---|
| 1/2 in | 0.622 | 0.01578 | 0.196 | 1.58 |
| 3/4 in | 0.824 | 0.02770 | 0.344 | 2.77 |
| 1 in | 1.049 | 0.04490 | 0.558 | 4.49 |
| 1-1/4 in | 1.380 | 0.07770 | 0.965 | 7.77 |
| 1-1/2 in | 1.610 | 0.10576 | 1.313 | 10.58 |
| 2 in | 2.067 | 0.17432 | 2.165 | 17.43 |
| 3 in | 3.068 | 0.38403 | 4.769 | 38.40 |
| 4 in | 4.026 | 0.66131 | 8.213 | 66.13 |
| 6 in | 6.065 | 1.50079 | 18.639 | 150.08 |
| 8 in | 7.981 | 2.59880 | 32.275 | 259.88 |
Litres per metre is the gallons-per-foot figure × 3.785412 ÷ 0.3048. Copper, PEX and CPVC have different bores at the same nominal size, so use the table for the material you are actually installing.
Nominal size is not bore, and the gap is not small
Nominal pipe size is a label, not a dimension. Nominal 1-inch Schedule 40 steel has a 1.049 in bore; nominal 1-inch Type L copper has a 1.025 in bore; nominal 1-inch PEX has roughly a 0.86 in bore. Because volume goes as the square of diameter, that PEX run holds 33% less water per foot than the steel one. If you charge a glycol system from a nominal-size table you will be short.
The same trap hits pressure work harder still. Friction loss goes roughly as the inverse fifth power of bore, which is why the Darcy-Weisbach calculator and the Hazen-Williams calculator both insist on the actual inside diameter.
What this calculation does not include
- Fittings and valves. Elbows, tees and valve bodies hold extra volume that the straight-run formula misses. On a fitting-dense mechanical room the omission can reach several percent; on a long main it is negligible.
- Tanks, coils and equipment. A hydronic system's volume is the piping plus the boiler, the buffer tank and every coil. Pipe volume alone will understate a glycol charge badly.
- Partial fill. This assumes the pipe runs completely full. A gravity drain or sewer carries much less; use the Manning's equation calculator, which computes the flow area at a given depth.
- Thermal expansion. Water expands about 4% between 40 °F and 200 °F, which is what an expansion tank absorbs. Volume computed here is the cold figure.
- Wall thickness and pipe weight. The output is the weight of the contents only. Add the empty pipe weight from the material's own schedule before checking hangers or structural loads.
- Entrained air. A freshly filled system holds air at high points until it is vented, so the volume you actually pump in on the first fill is less than the geometric volume.
Volume, velocity and residence time
Volume and flow together give you residence time, and residence time is what water-quality problems are really about. A 200 ft run of 2-inch pipe holds 34.9 gallons; at a household draw of 5 gpm the water in it is replaced every 7 minutes, but between draws overnight it sits for hours. That is why oversizing a service line has a real cost — chlorine residual decays, temperature drifts toward the ambient, and the first draw in the morning is the water that has been sitting longest.
The same volume, divided differently, gives velocity. Flow rate divided by cross-sectional area is the mean velocity, which the pipe water velocity calculator computes directly and checks against material limits. Volume per foot and area are the same quantity in different clothing: gallons per foot is just the area expressed in a unit plumbers use.
For test and commissioning work, keep the weight output in view. A 100 ft vertical riser of 8-inch pipe holds 260 gallons weighing 2,166 lb, and a hydrostatic test imposes that load on hangers that may have been designed for an air-filled line. The psi to feet of head converter handles the other half of that check: the static pressure at the bottom of the same riser.
Why fill time from flow rate alone is a floor, not a promise
The fill-time output divides the pipe's volume by the flow rate you enter, which gives the time to deliver that much water if every gallon leaving the source arrives in the pipe without delay. In practice a run with high points rarely fills that cleanly, and the gap between the calculated time and the real one is a genuine failure mode on commissioning day, not a rounding error.
Air has to go somewhere as water enters an empty pipe. On a straight, sloped run with a vent at the high end, air is pushed ahead of the water and escapes with little resistance, so the calculated time is close to the real one. On a run with an unvented high point — a loop, a low-pitched section, a riser whose air valve isn't installed yet — incoming water compresses the trapped air instead of displacing it, and the flow slows or stalls until someone finds and opens a vent. The symptom is a fill that appears to stop making progress well short of the calculated time, followed by a lurch once the air finds a way out.
The practical fix is procedural rather than mathematical: identify every high point on the isometric before starting the fill, confirm each one has a working vent or a valved bleed point, and fill slowly enough that trapped air has time to migrate to it. None of that changes the gallons this calculator reports — the geometric volume is fixed by the pipe's own dimensions — but it changes how long delivering that volume actually takes, sometimes by a large margin on a run with several unvented high points.
