How the volume is worked out
The inside of a pipe is a cylinder. Find its volume in cubic inches and divide by 231, the number of cubic inches in a US gallon.
Gallons = 3.1416 × (diameter ÷ 2)² × length in inches ÷ 231
A worked example
One hundred feet of pipe with an inside diameter of ¾ inch holds 530 cubic inches, which is 2.3 gallons. That water weighs about 19 pounds.
Where this is useful
- Working out how long hot water takes to reach a tap, and how much water is wasted waiting.
- Sizing an expansion tank or working out how much antifreeze a hydronic or radiant loop needs.
- Finding the weight a run of full pipe adds to its hangers.
- Estimating how much water to drain when winterizing.
Common questions
Where do I find the inside diameter?
It depends on the material and wall thickness. Copper, PEX, CPVC and schedule 40 PVC of the same nominal size all differ slightly. Manufacturer tables list the exact figure.
Does this work for a tank?
Yes, for an upright or horizontal cylinder that is completely full. Enter the inside diameter and the length in the same way.
How we know this calculator is right
Before this calculator went on the site, 6 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.
See every check
| Numbers used | Result | Worked out separately | This calculator |
|---|
What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.