Tube Volume Calculator
A tube is one cylinder subtracted from another. Enter the outer radius, inner radius and length to get the material volume — or swap in the inner radius alone for the bore capacity.
- ✓ Annular cross-section
- ✓ Any length units
- ✓ Formula shown live
— cm³
Enter the values above — the volume updates instantly.
Quick answer: the material in a tube is V = π (R² − r²) h, with R the outer and r the inner radius. An R = 5 cm, r = 4 cm tube 2 m long contains π(25 − 16) × 200 cm = 5,655 cm³ ≈ 5.66 litres of material.
Material volume versus bore capacity
The annulus area is π(R² − r²); multiplying by length gives the amount of material in the wall. The space inside is the much simpler πr²h. If you are ordering pipe by internal flow capacity, use the inner radius as the sole radius in the cylinder calculator. If you are estimating shipping weight from density, use the annular result from this page.
Worked example: a copper pipe
A copper pipe has an outer diameter of 22 mm, a wall 1 mm thick and runs 6 m.
- R = 11 mm, r = 10 mm, h = 6,000 mm
- R² − r² = 121 − 100 = 21 mm²
- V = π × 21 × 6,000 ≈ 395,840 mm³ = 396 cm³
At copper's density of about 8.96 g/cm³, that is roughly 3.55 kg before fittings.
Finding the inner radius from wall thickness
r = R − t. If the wall is specified as a percentage of diameter, convert first: a 10% wall on a 50 mm outer diameter means t = 5 mm, so r = 25 − 5 = 20 mm.
Where tube volume matters
- Plumbing and heating: water content of a run of pipe for system fill volume.
- Structural steel: mass estimates for hollow sections from geometry instead of a steel table.
- Manufacturing: scrap allowance when machining a tube from solid bar.
- Packaging: material needed for cylindrical sleeves and cores.
Why this calculation matters in practice
Questions about tube volume calculator tend to arrive with a decision attached: how much material to order, whether a container will hold a batch, what a space will cost to heat, or whether a shipment will be charged by size rather than weight. The calculation is the small, controllable part of that decision. Getting it right prevents the expensive part — buying too much, discovering too late that something does not fit, or quoting a job below its real cost.
Professionals use these formulas in two distinct ways. The first is estimation at the planning stage, where a quick answer within a few percent is enough to compare options and set a budget. The second is verification at the end, where a measured result has to be checked before it becomes an invoice or an order. The same formula serves both, but the required precision differs: be generous with rounding in a budget, and rigorous with units and dimensions in a final quantity.
The related calculators linked below cover the common special cases — a different shape, a partial fill, or a conversion into the units your supplier uses. Using the dedicated tool for the exact case removes the need to remember which correction factor applies, leaving you to focus on the measurement that actually varies from job to job.
Small errors compound across a project. An under-estimate of a few percent on each of ten repeated items becomes a noticeable shortfall in the order as a whole, which is why professionals add a wastage allowance rather than relying on exact arithmetic. The calculator gives the theoretical figure for one item; planning adds the practical margin for all of them. Keeping those two numbers separate in your records makes it easy to see where the material actually went.
Common questions, expanded
The short answers above cover the mechanics. A few points come up often enough to be worth stating plainly. What is the volume formula for a hollow cylinder? V = π(R² − r²)h, where R is the outer radius, r the inner radius and h the length. How do I calculate the water inside a pipe? Use the inner radius alone: V = πr²h. The wall material is not part of the water capacity. What if I only know the wall thickness? Subtract it from the outer radius: r = R − thickness, then use the tube formula.
Beyond those specifics, remember that a displayed answer is a model value, not a guarantee. If the real object bends, has rounded corners, or is only approximately the shape named in the title, the result is an estimate. State that estimate with its uncertainty when you share it: "about twelve cubic metres, assuming a flat bottom" is more useful and more honest than a figure with four decimal places.
When a calculation feeds a purchase, add a wastage allowance appropriate to the material — bulk aggregates and concrete are commonly ordered with a small percentage extra, while liquids in a sealed container need none. When it feeds a safety decision, use a margin and an independent check rather than relying on a single computed number. And when the numbers look surprising, re-enter them from scratch; a fresh entry catches transposed digits faster than staring at the original.
If a result contradicts your expectation, resist the urge to average it with a guess. Re-enter the inputs from scratch, confirm each unit selector, and compare against a bounding shape. Nine times out of ten the discrepancy is a diameter entered as a radius, a slant height used as a vertical height, or two systems of units mixed in one calculation. Finding the cause teaches you more than adjusting the answer to look right.
Common mistakes & practical tips
- Using diameters directly. The formula needs radii; halve both diameters first.
- Mixing an inner diameter with an outer radius. Keep both measurements in the same convention.
- Neglecting end caps or fittings. This computes the straight tube section only.
- Confusing material volume with internal capacity. They answer different questions — check which one you need before ordering.
Frequently asked questions
What is the volume formula for a hollow cylinder?
V = π(R² − r²)h, where R is the outer radius, r the inner radius and h the length.
How do I calculate the water inside a pipe?
Use the inner radius alone: V = πr²h. The wall material is not part of the water capacity.
What if I only know the wall thickness?
Subtract it from the outer radius: r = R − thickness, then use the tube formula.
Why is R² − r² not (R − r)²?
The annulus is the difference of two circle areas. (R − r)² would describe a much smaller circle with the wall thickness as its radius.
Can the calculator handle diameters?
Convert diameters to radii first. Entering 22 and 20 as radii would overestimate the material by roughly a factor of four.