Pipe Volume Calculator
Calculate the volume of liquid inside a pipe.
Last updated 2026-08-21
What Is a Pipe Volume Calculator?
A pipe volume calculator finds how much liquid is held inside a pipe when you give it the inner diameter and the length. It returns the volume in gallons and liters, which is handy for purging lines, dosing chemicals, and estimating the water held in long supply runs. Homeowners use it to figure out how much water sits in a hot water loop or a lawn irrigation line before they drain or flush it.
How It Works
Volume = π × (Diameter ÷ 2 ÷ 12)² × Length. Gallons = Volume × 7.48052. Liters = Volume × 28.3168.
Example
A 3/4 in pipe 20 ft long holds about 0.46 gallons.
How to Calculate
- Measure or look up the inner diameter of your pipe. For accuracy use the inside diameter, not the nominal label. A 3/4 in PVC pipe has an inner diameter of about 0.82 in.
- Measure the length of the pipe run in feet. A run from the water heater to a far bathroom might be 40 ft.
- Enter the diameter and length into the tool. For a 3/4 in pipe 20 ft long it returns about 0.46 gallons.
- Scale to your actual run. Multiply the per foot volume by your total length. A 3/4 in line holds about 0.023 gallons per foot, so 40 ft holds roughly 0.92 gallons.
- Use the result to plan purging or dosing. If you need to flush the line, now you know the exact water volume you are moving.
Approximate water volume per 100 feet of pipe
| Nominal pipe size | Inner diameter | Gallons per 100 ft |
|---|---|---|
| 1/2 in | 0.62 in | 1.6 gal |
| 3/4 in | 0.82 in | 2.3 gal |
| 1 in | 1.05 in | 4.1 gal |
| 1 1/2 in | 1.61 in | 9.5 gal |
| 2 in | 2.07 in | 16 gal |
Sources
Frequently Asked Questions
Why compute pipe volume?
Useful for purging, chemical dosing, and estimating water held in long supply runs.
Is this inside diameter?
Enter the inner diameter for accurate volume; nominal pipe sizes have a smaller inside diameter.
How many gallons per 100 ft of pipe?
3/4 in holds ~2.3 gal/100 ft, 1 in ~4.1 gal/100 ft, 2 in ~16 gal/100 ft.
Estimate the cost with the Plumbing Cost Calculator or browse Plumbing Calculators