PIPE VOLUME
About this calculator
This pipe volume calculator gives the water capacity of a single straight pipe run in gallons, cubic inches, and liters. Useful for sizing water heaters, calculating purge volumes for plumbing, or estimating fill time. Multiply the result by the number of identical runs for total system volume. Diameter is the inside diameter (ID), not the nominal size. ESTIMATE ONLY — verify with a licensed plumber and local plumbing code before installation.
How to use this calculator
Enter the pipe inside diameter (ID) in inches — NOT the nominal size. Standard nominal sizes have these typical IDs: ½" copper Type L = 0.545", ¾" Type L = 0.785", 1" Type L = 1.025"; ½" PEX = 0.475", ¾" PEX = 0.681", 1" PEX = 0.875". Look up your pipe's ID on the manufacturer spec sheet if precision matters.
Enter the run length in feet. The calculator returns volume in gallons (the standard plumbing unit), cubic inches, and liters. For a system with multiple identical runs, multiply the result by the run count for total system volume.
Worked example
For a ¾" Type L copper run, 50 ft long (typical home main supply branch):
ID: 0.785". Volume: π × (0.785/2)² × (50 × 12) = π × 0.154 × 600 = 290 in³ = 1.26 gallons.
For sizing a recirculation pump on a hot water loop: 50 ft of ¾" supply + 50 ft of ½" return = 1.26 + 0.6 = 1.86 gallons of water in the loop. The pump must move that volume per minute or two for the loop to deliver hot water within 30-60 seconds at the fixture.
For purging a system after repair on 100 ft of ½" PEX (ID 0.475"): π × (0.238)² × 1,200 = 213 in³ = 0.92 gallons. Need to drain at least that much to clear the system before refilling.
For estimating water heater fill time on a 50 gal tank: a ¾" supply at typical 8 GPM fills the tank in 50 ÷ 8 = 6.25 minutes from empty.
Common mistakes & waste factors
Using nominal size as ID. Nominal ½" copper has an ID of 0.545"; nominal ½" PEX has an ID of 0.475". Mixing them up gives wildly different volumes — a 100-ft ½" copper run holds 25% more water than 100-ft ½" PEX.
Forgetting to multiply for multiple runs. The calculator handles ONE pipe run. For a manifold-fed home with 8 PEX runs, multiply by 8.
Ignoring fittings and elbows. The calculator assumes straight pipe — fittings have negligible volume but elbows add maybe 1-2% to total. Negligible for residential, but matters in commercial.
Using OD instead of ID. Outside diameter is the printed pipe size on PVC. The wall thickness reduces the inside diameter by 0.05-0.20" depending on schedule. Always work from the spec sheet ID.
Rules of thumb
Volume per foot of run: ½" copper = 0.012 gal/ft, ¾" copper = 0.025 gal/ft, 1" copper = 0.043 gal/ft.
½" PEX = 0.009 gal/ft, ¾" PEX = 0.019 gal/ft, 1" PEX = 0.031 gal/ft (less than copper of same nominal size due to thicker wall).
For recirculation pump sizing: aim to circulate the loop volume every 1-2 minutes.
Water heater fill time at 8 GPM supply: 40 gal = 5 min, 50 gal = 6 min, 80 gal = 10 min from empty.
1 gallon = 231 cubic inches = 3.785 liters.
Long runs of small pipe waste hot water: a 50-ft ½" run holds 0.6 gal of water that must be drained from cold each time someone wants hot water.