Tube Volume Calculator

A hollow tube holds and displaces two different volumes. Enter the outer and inner diameters plus the length, and the calculator returns the internal capacity, the wall material volume, and both in every common unit.

Formula: Vinner = π (d ÷ 2)² L  ·  Vwall = π (R² − r²) L

OD 20, ID 16, L 100 cmpipe 2 in × 3 mOD 60, ID 50, L 1 m

Two volumes for one tube

A hollow tube answers two different questions, and they must not be mixed up. The capacity - water it can carry, air it holds - is the inner cylinder: V = πr²L with r the inner radius. The material volume of the tube wall itself subtracts the inner cylinder from the outer: V = π(R² − r²)L, with R the outer radius. The calculator reports both, plus the overall envelope (outer cylinder) for completeness.

A worked example: a tube with a 20 cm outer diameter, 16 cm inner diameter and 100 cm length has R = 10 cm and r = 8 cm. Capacity = π × 64 × 100 ≈ 20,106 cm³ (about 20.1 litres), while the wall material is π × (100 − 64) × 100 ≈ 11,310 cm³. The envelope is π × 100 × 100 ≈ 31,416 cm³ - capacity plus wall, as it must be.

For long pipes the per-metre figure is the most useful output. A 16 cm inner diameter carries 20.1 litres per metre; a 25 mm (1 inch) pipe carries just 0.49 L/m. Plumbing, irrigation and process engineers work from these per-metre numbers, multiplying by run length and adding an allowance for fittings.

How to use this calculator

  1. Measure the outer diameter. Straight across the outside of the tube, through the centre.
  2. Measure the inner diameter. Across the open bore; or compute it as OD minus twice the wall thickness.
  3. Measure the length. The distance between the two open ends, along the axis.
  4. Read both volumes. Internal capacity headlines in litres; the table also shows the wall material volume and per-metre capacity.

Pipe and tube variants

Working from wall thickness

Tube suppliers quote wall thickness rather than inner diameter. Convert with ID = OD − 2t. A tube with a 60 mm OD and 3 mm walls has a 54 mm bore, holding π × 2.7² × 100 ≈ 2,290 cm³ per metre - about 2.29 L/m. Note that pipe schedules (Sch 40, Sch 80) specify wall thickness per nominal size, so the same “2 inch pipe” carries different bores at different schedules.

Displacement and buoyancy

The outer envelope volume governs buoyancy: a sealed tube displaces πR²L of water, weighing the same in kilograms. A capped pipe 10 cm across and 1 m long displaces about 7.85 kg of water - it floats if it weighs less. Rafts, floating docks and mooring buoys are sized from the envelope, not the bore.

Partially filled tubes

A horizontal pipe running half full holds exactly half its capacity, but any other level is not linear - a circular segment formula applies, and liquid at 25% of the radius fills only about 20% of the volume. Gravity-flow sewer design lives in this non-linear region; for simple quarter-, half- and three-quarter-full estimates the segment formulas are worth keeping at hand.

Annulus with non-circular sections

Square and rectangular hollow sections use the same subtraction principle: outer area minus inner area, times length. A 100 × 100 mm SHS with 4 mm walls has (100² − 92²) mm² = 1,536 mm² of material per section - the tube analogue in flat steel, and the prism rule does the rest.

Common pipe capacities

Internal capacity per metre for standard bores (water at 1 kg per litre).

Nominal sizeInner diameterLitres per metrekg water per metre
15 mm (½ in)15 mm0.177 L0.18 kg
25 mm (1 in)25 mm0.491 L0.49 kg
50 mm (2 in)50 mm1.963 L1.96 kg
100 mm (4 in)100 mm7.854 L7.85 kg
200 mm (8 in)200 mm31.416 L31.4 kg

Capacity grows with the square of the bore: the 200 mm pipe carries 16 times what the 50 mm pipe does, not 4 times. This is why upsizing a main beats adding parallel smaller lines, and why a partially blocked pipe loses disproportionate flow.

Tube volume at work

Plumbing fill and antifreeze

Before winterising a heating loop, engineers multiply bore capacity per metre by the total run - say 40 m of 25 mm pipe at 0.49 L/m ≈ 19.6 litres, plus 10% for radiators and fittings. Ordering glycol against that figure prevents both shortage and expensive surplus.

Concrete and post footings

A round post hole cased in a cardboard tube is a classic tube-volume job: a 300 mm tube 1.2 m deep holds π × 0.15² × 1.2 ≈ 0.085 m³ of concrete. Suppliers convert that to bag counts or mixer loads, with a small overage for uneven bases.

Hydraulics and pneumatics

Cylinder rods, hoses and actuators are specified by bore because force equals pressure times bore area, and displaced volume sets stroke speed. A 50 mm bore ram at 200 bar pushes about 39 kN; the same arithmetic that sizes the force sizes the oil volume moved per stroke.

Common mistakes & pro tips

  • Using the outer diameter for capacity. Only the inner bore holds fluid. Using OD overstates capacity by the wall’s share - often 20-40%.
  • Subtracting diameters instead of squared radii. π(R² − r²) ≠ π(R − r)². The material volume formula squares first, then subtracts.
  • ID vs wall thickness confusion. Pipe schedules quote wall thickness; convert with ID = OD − 2t before computing capacity.
  • Assuming linear partial fill. A horizontal pipe 25% deep by radius holds only about 20% of its volume - the circular segment is not proportional.
  • Unit slips on diameter vs radius. If you enter a diameter as a radius, capacity quadruples. The calculator’s fields are labelled for exactly this reason.

Frequently asked questions

What is the formula for the volume of a tube?
For capacity: V = πr²L using the inner radius. For the wall material: V = π(R² − r²)L using outer and inner radii. Both multiply by the length L.
How do I find the inner diameter from wall thickness?
ID = OD − 2t. A 60 mm tube with 3 mm walls has a 54 mm bore. Pipe schedules quote t, so this conversion comes up constantly.
How many litres are in a metre of 25 mm pipe?
π × 0.0125² × 1 ≈ 0.491 litres. Multiply by run length: 40 m of 1-inch pipe holds about 19.6 litres of water.
What is the difference between tube capacity and displacement?
Capacity uses the inner bore (what fits inside); displacement uses the outer envelope (water pushed aside when submerged). Buoyancy questions always use the outer volume.
Why does my pipe hold less than calculated?
Fittings, valves, sag, scale build-up and the nominal-vs-actual bore difference all subtract. Real 1-inch pipe bores vary by schedule and standard - measure the actual ID when precision matters.
How do I calculate a partially filled horizontal pipe?
Use the circular segment area for the liquid cross-section, then multiply by length. It is not proportional to depth: liquid at half the radius fills about 20% of the pipe, not 25%.
Does the formula work for square hollow sections?
The subtraction principle does: (outer area − inner area) × length. Replace the circle formulas with square ones - e.g. (100² − 92²) mm² for a 100 mm SHS with 4 mm walls.

Related calculators

Educational use only. Results are provided for planning and study purposes. Storm Lane is not liable for decisions made solely on these figures - double-check critical measurements with a qualified professional.