What This Tube Volume Calculator Does
This calculator finds the material volume of a hollow tube — the space the tube wall actually occupies, not the empty bore down its middle. By entering three measurements (outer diameter, inner diameter, and length) you instantly get the tube's volume, total surface area, and cross-sectional area. It works for any consistent unit (mm, cm, inches, metres), and your answer comes out in that unit cubed for volume and squared for area.
The Inputs You Provide
- Outer Diameter – the full width of the tube measured across the outside.
- Inner Diameter – the width of the hollow bore inside the tube.
- Length – how long the tube is end to end.
The calculator halves each diameter to get the outer and inner radius before doing the maths.
The Formula Explained
The volume of a hollow cylinder is the outer cylinder volume minus the inner (bore) volume:
$$V = \pi \left(r_{\text{outer}}^{2} - r_{\text{inner}}^{2}\right) \times L$$
It also returns:
- Cross-sectional area = \(\pi \left(r_{\text{outer}}^{2} - r_{\text{inner}}^{2}\right)\) — the ring-shaped end face.
- Surface area = \(2\pi \left(r_{\text{outer}} + r_{\text{inner}}\right) \times L + 2\pi \left(r_{\text{outer}}^{2} - r_{\text{inner}}^{2}\right)\) — the outer wall, inner wall, and both end rings combined.
Worked Example
Suppose a steel pipe has an outer diameter of 100 mm, an inner diameter of 80 mm, and a length of 500 mm. The radii are 50 mm and 40 mm.
- Cross-sectional area = \(\pi (50^2 - 40^2) = \pi (2500 - 1600) = 2827 \text{ mm}^2\)
- Volume = \(2827 \times 500 \approx 1{,}413{,}717 \text{ mm}^3\) (about 1.41 litres of steel)
- Surface area = \(2\pi (50 + 40) \times 500 + 2 \times 2827 \approx 288{,}398 \text{ mm}^2\)
Volume and Area Unit Conversions for Tubes
Tube dimensions are usually measured in millimetres or inches, but the answer is often wanted in litres, gallons, or cubic feet. Convert only after the volume has been computed in a single consistent unit — converting halfway through is where errors creep in.
Volume
| Unit | Equivalent |
|---|---|
| 1 cm³ | 1,000 mm³ = 1 mL |
| 1 litre | 1,000 cm³ = 1,000,000 mm³ |
| 1 m³ | 1,000 L = 1,000,000 cm³ |
| 1 in³ | 16.3871 cm³ |
| 1 ft³ | 1,728 in³ = 28.3168 L |
| 1 US liquid gallon | 231 in³ = 3.78541 L |
| 1 UK (imperial) gallon | 4.54609 L |
Note that the US and imperial gallons are different units — a US gallon is about 83% of a UK gallon — so always state which one you mean when quoting pipe capacity.
Cross-sectional area
| Unit | Equivalent |
|---|---|
| 1 cm² | 100 mm² |
| 1 m² | 10,000 cm² |
| 1 in² | 6.4516 cm² |
| 1 ft² | 144 in² = 929.03 cm² |
Length
| Unit | Equivalent |
|---|---|
| 1 in | 25.4 mm = 2.54 cm |
| 1 ft | 304.8 mm = 30.48 cm |
Why area and volume factors are not the length factor
If a linear factor \(k\) converts lengths, then areas scale by \(k^{2}\) and volumes by \(k^{3}\):
$$1\ \text{in} = 25.4\ \text{mm} \;\Rightarrow\; 1\ \text{in}^{2} = 25.4^{2} = 645.16\ \text{mm}^{2} \;\Rightarrow\; 1\ \text{in}^{3} = 25.4^{3} = 16{,}387.064\ \text{mm}^{3}$$The same rule explains the metric ladder: 1 cm = 10 mm, so 1 cm² = 10² = 100 mm² and 1 cm³ = 10³ = 1,000 mm³.
Conversion example. A tube with an outer diameter of 2 in, an inner diameter of 1.5 in and a length of 36 in has an annulus term of \(1^{2} - 0.75^{2} = 1 - 0.5625 = 0.4375\) in², an area of \(3.14159 \times 0.4375 = 1.3744\) in², and a wall volume of
$$V = 1.3744 \times 36 \approx 49.48\ \text{in}^{3}$$That is 49.48 in³ of material — equal to \(49.48 \times 16.3871 \approx 810.8\) cm³, or about 0.81 litres. Had you instead computed in millimetres (50.8 mm, 38.1 mm, 914.4 mm), you would get roughly 810,800 mm³ — the same physical quantity, confirming the unit chain.
FAQ
Does this give the volume of liquid the tube can hold? No — it gives the volume of the tube wall material. For the liquid capacity, use only the inner diameter as a solid cylinder.
What if I enter inner diameter as 0? The result becomes a solid cylinder, since there is no bore to subtract.
Which units should I use? Any, as long as all three inputs share the same unit. Volume returns in that unit cubed and areas in that unit squared.