Home & Construction Calculators
Use this pipe volume calculator to estimate cylindrical pipe capacity in gallons and liters, partial fill volume, fluid weight, and preliminary material or installation cost.
About the Pipe Volume Calculator
This pipe volume calculator treats the pipe as a cylinder and estimates its internal capacity. It reports full or partial volume in U.S. gallons and liters, plus approximate fluid weight and cost based on your inputs.
Formula and assumptions
Radius = inside diameter ÷ 2. Cylinder volume = π × radius² × length. Convert length from feet to inches, divide cubic inches by 231 for U.S. gallons, then multiply by 3.78541 for liters. Partial volume = full capacity × fill percentage. Fluid weight = gallons × density.
Worked example
For a 4 in inside-diameter pipe that is 20 ft long, the full capacity is about 13.06 gallons, or 49.42 liters. At 100% fill and water density of 8.34 lb/gal, the fluid weighs about 108.89 lb. At $0.08 per gallon plus $120 installation and delivery, the estimated project total is about $121.04.
Measurement checklist
- Measure internal diameter at several points if the pipe is old or irregular.
- Use the actual straight length and account for connected sections separately.
- Confirm whether the fluid density differs from water.
- Allow for fittings, valves, elbows, and trapped air in real systems.
- Check flow, pressure, slope, and code requirements separately.
Manual calculation steps
- Convert pipe length from feet to inches.
- Divide inside diameter by two for radius.
- Calculate cylinder volume with πr²L.
- Convert cubic inches to gallons and liters.
- Apply the fill percentage.
- Multiply gallons by density to estimate weight.
Common mistakes
- Using outside diameter instead of inside diameter.
- Mixing inches and feet in the same formula.
- Confusing U.S. gallons with imperial gallons.
- Assuming a flowing pipe is always completely full.
Frequently asked questions
What diameter should I enter?
Enter the clear inside diameter where the fluid flows. Wall thickness is already excluded when you use inside diameter.
How accurate is the result?
It is a geometric estimate. Real capacity can change with fittings, bends, sediment, air pockets, and measurement uncertainty.
Can I calculate a partially filled pipe?
Yes. Enter the estimated fill percentage from 0 to 100. This is a simple volume percentage, not a hydraulic depth calculation for open-channel flow.
Does this calculate flow rate?
No. Pipe volume is storage capacity. Flow rate also depends on pressure, slope, friction, fittings, and fluid properties.