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.
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
Pick metric or imperial units.
Enter the inner diameter (the bore), not the outside size.
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.
| Symbol | Meaning | Units |
|---|---|---|
| d | inner diameter (ID) | mm, in |
| L | length | m, ft |
| A | cross-sectional area of the bore | mm², in² |
| V | volume | L, m³, US gal, ft³ |
The formula comes from 3 steps
- The cross-sectional area of the bore is A = π/4 × d² (π ≈ 3.14159).
- Multiplying the area by the length gives the volume: V = A × L.
- 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.
| Inner diameter | Litres per metre | m³ per 100 m | US gal per foot | ft³ per 100 ft |
|---|---|---|---|---|
| 15 mm (0.591 in) | 0.1767 L/m | 0.01767 m³ | 0.01423 gal/ft | 0.1902 ft³ |
| 20 mm (0.787 in) | 0.3142 L/m | 0.03142 m³ | 0.0253 gal/ft | 0.3382 ft³ |
| 25 mm (0.984 in) | 0.4909 L/m | 0.04909 m³ | 0.03952 gal/ft | 0.5284 ft³ |
| 32 mm (1.26 in) | 0.8042 L/m | 0.08042 m³ | 0.06476 gal/ft | 0.8657 ft³ |
| 40 mm (1.57 in) | 1.257 L/m | 0.1257 m³ | 0.1012 gal/ft | 1.353 ft³ |
| 50 mm (1.97 in) | 1.963 L/m | 0.1963 m³ | 0.1581 gal/ft | 2.113 ft³ |
| 65 mm (2.56 in) | 3.318 L/m | 0.3318 m³ | 0.2672 gal/ft | 3.572 ft³ |
| 80 mm (3.15 in) | 5.027 L/m | 0.5027 m³ | 0.4047 gal/ft | 5.411 ft³ |
| 100 mm (3.94 in) | 7.854 L/m | 0.7854 m³ | 0.6324 gal/ft | 8.454 ft³ |
| 150 mm (5.91 in) | 17.67 L/m | 1.767 m³ | 1.423 gal/ft | 19.02 ft³ |
| 200 mm (7.87 in) | 31.42 L/m | 3.142 m³ | 2.53 gal/ft | 33.82 ft³ |
| 300 mm (11.8 in) | 70.69 L/m | 7.069 m³ | 5.692 gal/ft | 76.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.