ToolZoneX
Blog

Pipe Volume Calculator

Calculate the volume of liquid a pipe can hold. Free online pipe volume calculator using inner diameter and length.

Volume = π × r² × L

π × (0.0508 m)² × 3.048 m = 0.02471

24.71 L

Pipe Volume

Cubic Meters

0.0247

Gallons

6.53 gal

Cubic Feet

0.8727 ft³

Inner Diameter

4 in

Pipe Length

10 ft

Radius

0.0508 m


How Does the Pipe Volume Calculator Work?

Enter the inner diameter and length of the pipe. The calculator converts the units to meters, finds the radius, and applies the cylinder volume formula Volume = π × r² × L. The result is shown in liters, cubic meters, gallons US, and cubic feet. Use the inner diameter rather than the outer diameter to measure liquid capacity correctly.

Example

For a pipe with a 4-inch inner diameter (0.1016 m) and 10 ft length (3.048 m): the radius is 0.0508 m. Volume = π × 0.0508² × 3.048 = 0.0247 m³, which equals 24.72 liters, 6.53 US gallons, or 0.873 ft³.

Common Use Cases

  • Estimating water volume in plumbing and piping systems.
  • Sizing storage tanks and pressure vessels.
  • Calculating coolant volume for heating and cooling loops.
  • Planning pre-fill or flushing quantities for pipeline installations.

FAQs

Should I use the inner or outer diameter?

Always use the inner diameter (the bore) for volume calculations, because liquid only occupies the hollow interior. The outer diameter includes the pipe wall thickness.

Do the gallon results use US or imperial gallons?

The calculator uses US gallons (1 US gallon ≈ 3.785 liters). Imperial gallons are about 20% larger.

What if my pipe is given in metric units?

Enter the diameter in millimeters and the length in meters using the unit selectors — the calculator handles the conversion automatically.