Tube Volume Calculator

Pipe Volume Calculator

Your pipe and its volume in six units

More results

How Pipe Volume Calculator works?

The pipe volume calculator works in 3 steps: you enter 2 values (inner diameter and pipe length), the tool applies V = π/4 × d² × L, and it shows the pipe volume, in cubic metres and in US gallons with a live drawing.

You enterInner diameterPipe lengthformulaYou getPipe volumeIn cubic metresIn US gallons

A pipe is a cylinder, so its volume is the bore area times the length. This calculator does that sum and shows the answer in the six units people ask for most.

Use the inner diameter, not the nominal size or the outside diameter. The wall takes up space that never holds anything.

3 steps to use the pipe volume calculator

  1. Pick metric or imperial units.

  2. Enter the inner diameter (the bore), not the outside size.

  3. Enter the length. Results and the drawing update as you type.

The pipe volume calculator returns 7 results: pipe volume, in cubic metres, in US gallons, in UK gallons, in cubic feet, in barrels and volume per length. Every result switches between metric and imperial units.

Pipe Volume Calculator formula

The pipe volume calculator formula is V = π/4 × d² × L.

d LA = π/4 × d²
SymbolMeaningUnits
dinner diameter (ID)mm, in
Llengthm, ft
Across-sectional area of the boremm², in²
VvolumeL, m³, US gal, ft³

The formula comes from 3 steps

  1. The cross-sectional area of the bore is A = π/4 × d² (π ≈ 3.14159).
  2. Multiplying the area by the length gives the volume: V = A × L.
  3. Converting the cubic units gives litres or gallons: 1 m³ = 1,000 L = 264.17 US gal = 35.31 ft³.

The formula with your numbers

V = π/4 × d² × L

Worked example

A pipe with a 100 mm bore, 50 m long: π/4 × 0.1² × 50 = 0.393 m³. That's 393 litres, 104 US gallons or 13.9 ft³.

Pipe Volume Calculator Chart

Pipe volume = π/4 × d² × L. The chart lists 12 bores from 15 mm to 300 mm with litres per metre, cubic metres per 100 m and the imperial equivalents.

15 mm0.1767 L/m20 mm0.3142 L/m25 mm0.4909 L/m32 mm0.8042 L/m40 mm1.257 L/m50 mm1.963 L/m65 mm3.318 L/m80 mm5.027 L/m100 mm7.854 L/m150 mm17.67 L/m200 mm31.42 L/m300 mm70.69 L/m
Inner diameterLitres per metrem³ per 100 mUS gal per footft³ per 100 ft
15 mm (0.591 in)0.1767 L/m0.01767 m³0.01423 gal/ft0.1902 ft³
20 mm (0.787 in)0.3142 L/m0.03142 m³0.0253 gal/ft0.3382 ft³
25 mm (0.984 in)0.4909 L/m0.04909 m³0.03952 gal/ft0.5284 ft³
32 mm (1.26 in)0.8042 L/m0.08042 m³0.06476 gal/ft0.8657 ft³
40 mm (1.57 in)1.257 L/m0.1257 m³0.1012 gal/ft1.353 ft³
50 mm (1.97 in)1.963 L/m0.1963 m³0.1581 gal/ft2.113 ft³
65 mm (2.56 in)3.318 L/m0.3318 m³0.2672 gal/ft3.572 ft³
80 mm (3.15 in)5.027 L/m0.5027 m³0.4047 gal/ft5.411 ft³
100 mm (3.94 in)7.854 L/m0.7854 m³0.6324 gal/ft8.454 ft³
150 mm (5.91 in)17.67 L/m1.767 m³1.423 gal/ft19.02 ft³
200 mm (7.87 in)31.42 L/m3.142 m³2.53 gal/ft33.82 ft³
300 mm (11.8 in)70.69 L/m7.069 m³5.692 gal/ft76.09 ft³

Pipe Volume Calculator FAQ

How do you calculate the volume of a pipe?

To calculate the volume of a pipe, multiply the bore area by the length: V = π/4 × d² × L. A 100 mm bore, 50 m long, holds π/4 × 0.1² × 50 = 0.393 m³, or 393 litres.

Should I use the inside or outside diameter?

Use the inside diameter for pipe volume. 4 inch Schedule 40 pipe is 114.3 mm outside but 102.3 mm inside; using the outside diameter overstates the volume by 24.9%.

How do I convert pipe volume between units?

1 m³ equals 1,000 litres, 264.17 US gallons, 219.97 UK gallons, 35.31 ft³ and 6.29 oil barrels. The calculator shows all six at once.