Formula: Cylinder & Pipe Mathematical Identity
- outerRadiusR: Outer Radius R (numeric parameter)
- innerRadiusr: Inner Radiusr (numeric parameter)
- lengthH: Length H (numeric parameter)
Compute solid and hollow tube volumes, wall displacement, and surface areas.
Halve the outer diameter to get R. Then subtract the wall thickness from R to get r. A tube with an outer diameter of 12 and a wall of 2 has R of 6 and r of 4, which is the page's default and gives a wall volume of 1,256.637 cubic units for a length of 20.
Yes. Set the inner radius to 0. The wall volume then equals the full outer cylinder volume and the bore volume is zero. With the default outer radius of 6 and length of 20, both the wall and the outer cylinder lines read 2,261.947 cubic units.
One of the dimensions is outside what a real tube can have. The outer radius and length must be above zero, and the inner radius must be at least 0 and less than the outer radius. The most common cause is swapping the two radius boxes, or typing a diameter in one and a radius in the other. Fix the entry and the result returns.
Whatever unit you typed, cubed for volumes and squared for areas. Enter radii and length in centimetres and the volumes are cubic centimetres. Enter inches and they are cubic inches. The page does not convert units, so all three inputs must share the same unit or the answer will be meaningless.
Multiply the wall volume by the material's density, making sure the units match. If your dimensions are in centimetres, use density in grams per cubic centimetre and you will get grams. Take the density from the supplier's data sheet for your alloy, since it varies by grade.
Yes. Multiply the mean circumference by the wall thickness and the length. For the default, the mean radius is 5, the thickness is 2, and 2 pi times 5 times 2 gives the ring area of 62.832. Times a length of 20 gives 1,256.637. This is exact for a perfect tube, not an approximation.
A lot, and not quite in proportion. With the outer radius at 6 and length 20, the thin pipe preset with a 0.5 wall uses 361.283 cubic units, while the default 2 wall uses 1,256.637. Four times the thickness gives about three and a half times the material, because the mean radius shrinks as the wall grows inward.
Read the inner bore volume. That is the space inside the tube, pi r squared multiplied by the length. For the default inputs it is 1,005.31 cubic units. If the units are centimetres, that is just over one litre. Use the true inside radius, after any lining, not the nominal pipe size.
Yes, as a total of the outer wall, the bore wall and both end rings: 1,382.301 square units for the default. If only the outside is painted, subtract the bore surface, 2 pi r h. For the solid rod preset there is no bore, and the total is 980.177 square units, including the two full circular ends.
Very nearly, if you measure the length along the centreline of the bend. Bending stretches the outer side of the wall and compresses the inner side, but the total material is almost unchanged. For short spools with tight bends and flanges, calculate the flanges separately because they can be a large share of the mass.
It is the area of the ring you would see if you cut the tube straight across. Multiplied by the length it gives the wall volume, which is how the page gets 1,256.637 cubic units from 62.832 square units and a length of 20. Engineers also use it to work out stress under a pulling or pushing load.
Partly. The bore volume gives the capacity of a cylindrical tank with straight sides, and the wall volume gives the material in the shell. The page does not include a top, a bottom or a domed or conical end. Work those out separately and add them to the shell figure.
The starting example is a tube with an outer radius of 6, an inner radius of 4 and a length of 20. No unit is attached, so these could be centimetres, inches or metres, as long as all three use the same one.
The headline is the wall volume, 1,256.637 cubic units. That is the material in the tube itself, the part you would weigh, cast, machine or pay for. Beneath it the page lists the total surface area at 1,382.301 square units, the full outer cylinder at 2,261.947 cubic units, the hollow bore at 1,005.31 cubic units and the ring-shaped cross-section at 62.832 square units.
Those numbers fit together in two ways, and both are worth checking. The wall is the outer cylinder minus the bore: 2,261.947 minus 1,005.31 gives 1,256.637. The wall is also the cross-section multiplied by the length: 62.832 times 20 gives the same 1,256.637. If you ever get two different answers from those checks, one of your inputs has slipped.
The key quantity is the ring area, pi multiplied by (R squared minus r squared). With the defaults, R squared is 36 and r squared is 16, so the difference is 20, and pi times 20 is 62.832. Multiply by the length and you have the wall volume.
There is a neat rearrangement here. R squared minus r squared equals (R minus r) multiplied by (R plus r). R minus r is the wall thickness, 2 in the default. R plus r is twice the mean radius, which is 5. So the ring area is the same as the mean circumference, 2 pi times 5, multiplied by the thickness, 2. That gives 62.832 again.
This form is exact, not an approximation, and it is handy in practice. If you know a pipe's wall thickness and its mean diameter, you can get the wall volume without ever squaring anything. It also shows why thin-walled tubes contain so little material: halve the thickness and you roughly halve the wall volume.
The page's three presets keep the outer radius at 6 and the length at 20 and change only the bore. That isolates what the inner radius does, and the effect is larger than most people guess.
The thin pipe has an inner radius of 5.5, so its wall is only 0.5 thick. Its cross-section is 18.064 square units and its wall volume 361.283 cubic units, while the bore holds 1,900.664. Widen the wall to 2, the default, and the wall volume rises to 1,256.637, about three and a half times as much material for four times the thickness. The gap from strict proportion comes from the mean radius shrinking as the bore narrows.
The solid rod sets the inner radius to 0. The wall volume then equals the full cylinder, 2,261.947 cubic units, the cross-section becomes a full circle of 113.097 square units and the bore is zero. That is a quick way to use the same page for a solid bar.
Every box on this page asks for a radius. Pipe and tube catalogues almost always list diameters, both outer diameter and inner diameter, or outer diameter and wall thickness. Typing a diameter where the page expects a radius doubles each radius and makes every area and volume four times too big.
So halve the catalogue figures first. A tube listed as 12 outer diameter and 8 inner diameter becomes R of 6 and r of 4, which is the default. If the catalogue gives outer diameter and wall thickness instead, the inner radius is half the outer diameter minus the wall thickness.
The length box takes the full length of the piece, not a half length. The inner and outer radii must both be measured in the same unit as the length, otherwise the result mixes units and means nothing. A tube 20 centimetres long with radii given in millimetres, for example, needs converting before you type anything.
A hollow tube cannot have a bore as wide as its outside or wider. The page now treats that as an error: the inner radius must be at least 0 and strictly less than the outer radius, and both the outer radius and the length must be above zero. Instead of a misleading zero, you get a message asking for valid dimensions.
If you see that message with numbers that look right, check whether the two radius boxes have been swapped. The page lists Outer Radius (R) first and Inner Radius (r) second, and swapping them is the easiest way to trip the check. Typing a diameter into one box and a radius into the other can do the same.
Negative values are rejected too, rather than being turned positive behind your back. An inner radius of exactly 0 is allowed, because that is a solid rod, which is one of the page's presets.
A common practical question is whether a thicker small tube or a thinner large one uses less material for a given bore. The page answers it quickly if you hold the length fixed and change the radii.
Take the default as the reference: a bore of radius 4 and a wall of 2 gives a wall volume of 1,256.637 cubic units over a length of 20. The thin pipe preset, with the same outside but a bore of 5.5, needs only 361.283 cubic units, yet carries 1,900.664 cubic units of bore. Thinner walls save material fast, because the ring area depends on the difference of two squares.
For structural tubes the stiffness rises much faster than the material as the diameter grows, so engineers often prefer a larger, thinner tube. This page tells you only the material side of that trade. Strength and buckling need their own calculation, and a thin wall can fail by local crumpling long before the material itself is overloaded.
The total surface area line adds four pieces: the outer curved wall, the inner curved wall of the bore, and the two ring-shaped ends. That is the figure you need for painting, coating, galvanising or heat transfer when every face is treated.
The outer curved surface is 2 pi R h. The inner curved surface is 2 pi r h. Each end is a ring with the same area as the cross-section, so the ends together add twice 62.832 square units for the default. Those pieces sum to the 1,382.301 square units the page shows.
The thin pipe preset shows that surface area does not follow volume. It holds far less material, 361.283 cubic units, yet its total surface is larger, 1,481.261 square units, because its bore wall is bigger. The solid rod has no bore wall at all and its surface drops to 980.177 square units. As a small worked case, a tube with R of 1, r of 0.5 and length 10 gives 98.96 square units.
Whether you need the whole figure depends on the job. A pipe painted only on the outside needs the outer wall and perhaps the ends, so subtract 2 pi r h from the total. A tank lining or an internal coating needs the bore surface.
Wall volume is the step before weight. Multiply it by the density of the material in matching units. If you entered the radii and length in centimetres, the default wall of 1,256.637 cubic centimetres multiplied by a density in grams per cubic centimetre gives the mass in grams. Material densities vary with alloy and grade, so take the figure from your supplier's data sheet.
The bore volume is the tube's internal capacity. In centimetres, the default bore of 1,005.31 cubic centimetres is just over one litre, since a litre is a thousand cubic centimetres. That is how much water or grout the tube would hold if it were capped and filled.
For pipe flow or filling a long run, use the actual internal radius after any lining or coating, not the nominal size. Nominal pipe sizes often do not match either the true inner or outer diameter, so read the actual dimensions from the pipe schedule.
The formula assumes a perfect right circular cylinder with a bore of constant radius, centred exactly on the outside. Real tubes can be slightly oval, slightly off-centre and slightly out of round. For most purchasing and weight estimates that does not matter. For tight engineering tolerances it can.
It also assumes square-cut ends. A pipe with chamfered, threaded or flanged ends will have a little less or a lot more material than the page reports. Flanges in particular can add a large share of total weight on a short spool, so calculate them as separate rings.
Bent tubes are fine as long as you use the centreline length, because the wall volume of a gentle bend is very close to the volume of the same straight length. Tight bends thin the outside of the wall and thicken the inside, but the total material barely changes.