Technical Free

Pipe Volume Calculator

Calculates the volume of water in any pipe by diameter and length. Useful for purging, disinfection, and system fill calculations.

Results

Volume (Gallons)
--
Volume (Liters)
--
Volume (cu ft)
--
Water Weight (lbs)
--

📊

Save this calculation to your account

Create a free account to save your results, compare sizing options side by side, and download a branded PDF you can attach to a quote.

Email these results to yourself

Get a copy you can reference on the job site or attach to a quote.

How to Use This Calculator

1. Select pipe material. Different materials have different wall thicknesses, which changes the inside diameter and therefore the volume. Copper, PEX, and PVC each have distinct ID values.

2. Choose nominal pipe size. Select the standard trade size. The calculator automatically uses the correct inside diameter for the material and size combination.

3. Enter pipe length. Total length of the pipe run in feet. For multiple sections of the same size, add the lengths together.

4. Read the results. Volume is shown in gallons, liters, and cubic feet. Water weight is useful for structural support calculations and system fill estimates.

How the Pipe Volume Formula Works

The calculator uses the cylinder volume formula with actual inside diameters from manufacturer specifications for each material type.

Volume (cu ft) = pi x (ID / 24)^2 x Length_ft

Volume (gallons) = Volume_cuft x 7.48052

Volume (liters) = Gallons x 3.78541

Weight (lbs) = Gallons x 8.34

ID = actual inside diameter in inches (varies by material)

Inside diameters vary significantly between materials. For example, a nominal 3/4" pipe has an ID of 0.785" in copper but only 0.681" in PEX — a 15% difference that compounds over long pipe runs.

When To Use This

Disinfection calculations. After installing or repairing water lines, code requires chlorination at a specific concentration. You need the exact pipe volume to calculate how much chlorine to add.

System purging and flushing. Before putting a new system in service, you need to know how many gallons to flush through the piping to remove debris, flux, and disinfectant.

Expansion tank sizing. Hot water systems expand as they heat up. Knowing the total system volume is essential for selecting the right expansion tank to prevent pressure relief valve discharge.

Frequently Asked Questions

How do I calculate how many gallons of water are in a pipe?
Use the formula: Volume = pi x (inside_diameter/2)^2 x length x 7.48052. The inside diameter and length must be in feet. The 7.48052 factor converts cubic feet to gallons. This calculator uses actual inside diameters for each pipe material and nominal size.
Why do I need to know the volume of water in a pipe?
Common uses include calculating chlorine concentration for disinfection, determining purge volume for flushing lines, sizing expansion tanks for hot water systems, and estimating water loss during drain-downs.
Does pipe material affect the volume of water inside?
Yes. Different materials have different wall thicknesses for the same nominal size. For example, 1/2-inch copper has an inside diameter of 0.545 inches, while 1/2-inch PEX is 0.475 inches. Copper holds about 30% more water per foot than PEX at the same nominal size.
How much does the water in a pipe weigh?
Water weighs 8.34 pounds per gallon at room temperature. A 100-foot run of 2-inch copper pipe holds about 1.7 gallons, weighing about 14 pounds. For large piping, water weight becomes a structural consideration.

Related Plumbing Tools

← View all Plumbing tools