Pipe Volume Calculator
Calculates the volume of water in any pipe by diameter and length. Useful for purging, disinfection, and system fill calculations.
Results
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.
Save this calculation to your account
Email these results to yourself
Get a copy you can reference on the job site or attach to a quote.
Results sent! Check your inbox.
Want to save all your calculations?
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?
Why do I need to know the volume of water in a pipe?
Does pipe material affect the volume of water inside?
How much does the water in a pipe weigh?
Related Plumbing Tools
Pipe Size Calculator
Size supply pipes by fixture units with IPC code tables and friction loss.
TechnicalFlow Rate Calculator
Calculate GPM from pipe size and pressure using Hazen-Williams equation.
TechnicalWater Pressure
Calculate available pressure at any fixture with elevation and friction loss.