Pipe Volume Calculator

Calculate how much water a full pipe holds.

Enter the actual inside diameter and pipe length. View capacity in US gallons and liters using imperial or metric measurements.

Calculate pipe volume

Worked example

2 in inside diameter × 10 ft length
≈ 1.632 US gal · 6.178 L

Builder’s calculator

Your measurements

Editing first whole inches

Length · exact answer

Tap any field to edit · Backspace moves back when empty

Take Inch Plus to the jobsite.Free Android app · Works offline

Get it on Google Play

Use the actual inside diameter. This calculation assumes a circular pipe that is completely full.

The pipe volume formula

A full circular pipe is a cylinder:

Volume = π × (inside diameter ÷ 2)² × length

Use the same unit for diameter and length before calculating. Divide cubic inches by 231 to obtain US liquid gallons, or multiply cubic meters by 1,000 to obtain liters.

A 2-inch pipe example

For a pipe with a 2 in inside diameter and a length of 10 ft, convert the length to 120 in. The volume is π × 1² × 120 ≈ 376.991 cubic inches.

That is approximately 1.632 US gallons or 6.178 liters. These are rounded values; the calculator displays additional decimal places.

Choose inside diameter, not pipe size

The nominal pipe size and outside diameter are not the water opening. Wall thickness affects the inside diameter, so use a measurement or the manufacturer’s dimensions for the pipe you have.

Enter decimals, fractions, or mixed numbers. The diameter and length each have a unit selector, so you can enter inches and feet or choose metric units directly.

What this result includes

The result is the capacity of a full, straight, circular pipe with a constant inside diameter. It does not calculate flow rate, pressure loss, partially filled pipe volume, or the extra capacity of fittings and equipment.

For a run made of different diameters, calculate each section separately and add its capacity. Use the fraction calculator when working out fractional pipe lengths.

Explore more calculators

Choose a calculator for measurements, materials, plumbing, electrical work, or duct airflow.

Recent calculations

Saved in this browser.