Building & DIY

Pipe Volume (Interior Capacity) Calculator

Work out how much a pipe holds from its inner diameter and length. Inputs take several units, and results come in gallons, liters, and cubic feet.

How to use
  1. Enter the inner diameter of the pipe.
  2. Enter the pipe length.
Pipe size
Interior volume

π × (radius)² × length

Litres
Cubic feet
Cubic metres
Per unit length
Estimates only, allow for waste and confirm against local building codes and supplier specs.
Was this helpful?

How it's calculated

V = π × r² × L, r = inner diameter ÷ 2

r = inner radius, L = pipe length (consistent units → m³). US gallons = m³ × 264.172; litres = m³ × 1000.

Common questions

Should I use inner or outer diameter?

Use the inner diameter. The wall thickness does not hold water, so the bore is what matters for volume.

What is the formula for pipe volume?

It is pi times the radius squared times the length. The radius is half the inner diameter.