Enter the inside diameter and length of a pipe to see how many gallons it holds, the gallons per foot and the weight of the water inside. Add a flow rate to find how long the line takes to fill or flush.
What this calculator does
- Gallons of water in a pipe from inside diameter and length
- Gallons per foot, cubic feet, liters and weight
- Time to fill or flush at a flow rate
How to use the pipe volume calculator
- Enter the inside diameter of the pipe, in inches unless you change the unit. The nominal size printed on a pipe is a trade size, not the bore.
- Enter the length of the run. For a system with several pipe sizes, run each size and add the gallons.
- Read the total gallons and the gallons per foot.
- Optional: enter a flow rate in gallons per minute. The time shown is how long that flow takes to replace the water in the pipe, such as the wait for hot water at a faucet.
Formulas
Gallons per foot = inside diameter (in)² × 0.0408 Gallons = gallons per foot × length (ft) Cubic feet = gallons ÷ 7.48052 Liters = gallons × 3.78541 Weight of water (lb) = gallons × 8.34 Time (min) = gallons ÷ flow rate (gpm)
The 0.0408 comes from the geometry. One foot of pipe is a cylinder 12 in long, so its volume in cubic inches is π ÷ 4 × d² × 12, and a US gallon is 231 cubic inches. π × 12 ÷ (4 × 231) = 0.0408. For the weight, the USGS gives the density of fresh water as about 62.4 lb per cubic foot (62.366 at 60°F). A cubic foot holds 7.48 gallons, so a gallon of water weighs 62.4 ÷ 7.48 = 8.34 lb.
Worked example: 100 ft of pipe with a 1 in inside diameter
- Gallons per foot: 1² × 0.0408 = 0.0408 gal.
- Total: 0.0408 × 100 = 4.08 gallons.
- Cubic feet: 4.08 ÷ 7.48052 = 0.545 ft³. Liters: 4.08 × 3.78541 = 15.44 L.
- Weight: 4.08 × 8.34 = 34 lb of water.
- With a flow rate of 2 gpm entered, the pipe is flushed in 4.08 ÷ 2 = about 2 minutes.
Gallons per 100 ft of pipe
| Inside diameter | Gallons per foot | Gallons per 100 ft |
|---|---|---|
| 1/2 in | 0.0102 | 1.02 |
| 3/4 in | 0.0229 | 2.29 |
| 1 in | 0.0408 | 4.08 |
| 1 1/4 in | 0.0637 | 6.37 |
| 1 1/2 in | 0.0918 | 9.18 |
| 2 in | 0.1632 | 16.32 |
| 3 in | 0.3672 | 36.72 |
| 4 in | 0.6528 | 65.28 |
| 6 in | 1.4688 | 146.88 |
| 8 in | 2.6112 | 261.12 |
The table uses the true inside diameter shown, not a nominal pipe size.
Nominal size is not inside diameter
Pipe and tube are sold by nominal size, and the real bore depends on the material and the wall thickness. Copper water tube is a good example: 3/4 in Type L tube has a 0.785 in inside diameter and 3/4 in Type M has 0.811 in, while 1/2 in Type L is 0.545 in. Plastic tube such as PEX and CPVC has its own wall thickness, so its bore differs again. Because the volume depends on the diameter squared, a small difference in bore changes the answer noticeably. Look up the inside diameter in the manufacturer’s dimension table, or measure a cut end.
Questions
How many gallons of water are in 100 feet of pipe?
It depends on the inside diameter: 1.02 gallons for 1/2 in, 2.29 for 3/4 in, 4.08 for 1 in, 16.32 for 2 in and 65.28 gallons for 4 in. Doubling the diameter gives four times the volume.
How do I calculate the volume of a pipe?
Square the inside diameter in inches, multiply by 0.0408 and multiply by the length in feet. That gives US gallons. A 2 in pipe 50 ft long holds 2 × 2 × 0.0408 × 50 = 8.16 gallons.
How much water is in 50 ft of 3/4 inch copper pipe?
Type L copper tube in the 3/4 in size is 0.785 in inside, so 50 ft holds 0.785² × 0.0408 × 50 = 1.26 gallons. A faucet flowing at 2 gpm clears that in about 38 seconds, which is roughly the wait for hot water.
How much does a pipe full of water weigh?
Allow 8.34 lb for every gallon, which is 62.4 lb per cubic foot, plus the pipe itself. A 100 ft run of pipe with a 4 in bore holds 65.28 gallons, which is about 544 lb of water. Hangers and supports have to carry that weight.
Sources
- NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement, National Institute of Standards and Technology.
Used for: 231 cubic inches per US gallon, the basis of the 0.0408 factor, the liter conversion (1 gallon = 3.785 411 784 liters) and 1 cubic foot = 7.480 519 gallons. - The Copper Tube Handbook, Tables 2b and 2c, Copper Development Association (copy hosted by Michigan Technological University).
Used for: the inside diameters of Type L and Type M copper water tube, for example 0.545 in (Type L) and 0.569 in (Type M) for 1/2 in nominal tube. - Water Density, U.S. Geological Survey, Water Science School.
Used for: the density of fresh water, about 62.4 lb per cubic foot (62.424 at 39.2°F and 62.366 at 60°F). The 8.34 lb per gallon used on this page is that figure divided by the 7.48 gallons in a cubic foot; the USGS page does not state it directly.