The volume formula for a cylinder is V = πr²h, where V is volume, r is the radius of the circular base, h is the height (or length) of the cylinder, and π is the constant pi, roughly 3.14159. In plain terms, you find the area of one circular end (π times the radius squared), then multiply by the height to account for how deep the shape runs. If you know the diameter instead of the radius, divide it by two first. Every other cylinder formula you meet — for a tank, a pipe, a can or a column — is a variation on this one.
What the Formula Actually Means
A right circular cylinder is the shape you get by stacking an infinite number of identical circles on top of each other. That structure is why the formula is so simple: the volume of any prism or cylinder equals the area of its base times its height. For a cylinder the base is a circle, and the area of a circle is πr².
The three terms each do a specific job:
- π (pi) — the ratio of a circle's circumference to its diameter. It never varies; you can use 3.14 for rough work, 3.1416 for most practical work, or the π key on a calculator for precision.
- r² — the radius squared. The radius is the distance from the centre of the circular face to its edge. Because the radius is squared, a small change in radius has a large effect on volume.
- h — the perpendicular height, meaning the straight-line distance between the two flat circular faces, not the distance along the slanted side.
Units matter throughout. If the radius is in centimetres, the result is in cubic centimetres (cm³). Mixing units — radius in centimetres and height in metres — is the single most common arithmetic error, so convert everything to one unit before you start.
Worked Examples With Real Numbers
Seeing the formula applied is more useful than the formula alone, so here are three cases that cover most everyday situations.
- A water glass. A glass with a radius of 4 cm and a height of 12 cm holds V = π × 4² × 12 = π × 16 × 12 = 603.2 cm³, which is about 603 millilitres (since 1 cm³ = 1 mL). A real glass holds somewhat less because the walls take up space and the base is thicker, which is worth remembering when comparing capacity claims.
- A storage tank. A cylindrical tank with a diameter of 2 m and a height of 3 m has a radius of 1 m. V = π × 1² × 3 = 9.42 m³. Because 1 cubic metre is 1,000 litres, that is roughly 9,425 litres. This is the calculation used for sizing water butts, fuel tanks and grain silos.
- A garden pipe. A pipe with an internal radius of 2 cm and a length of 5 m must have units matched first: 5 m is 500 cm. V = π × 2² × 500 = π × 4 × 500 = 6,283 cm³, or about 6.28 litres of liquid inside the pipe.
Notice in the tank example that using the diameter instead of the radius would have given an answer four times too large. That error appears constantly in real work, because tank and pipe sizes are usually quoted by diameter.
Radius, Diameter and Rearranged Forms
The basic formula can be rearranged to answer other questions, and knowing the rearrangements saves a lot of guessing.
- From diameter: V = π(d/2)²h, which simplifies to V = πd²h/4.
- Finding height: h = V/(πr²). Useful when you know the capacity you need and the footprint available.
- Finding radius: r = √(V/(πh)). This is the one to use when sizing a tank to a fixed height.
- Finding the diameter from volume: d = 2√(V/(πh)).
These are genuinely useful in practice. If you want a 20-litre cylindrical container in a cupboard 40 cm tall, the minimum radius is √(20,000 cm³ / (π × 40)) ≈ 12.6 cm, so you need an internal diameter of at least about 25 cm. That is the kind of check that prevents buying the wrong container.
Hollow Cylinders, Tubes and Pipes
The single formula describes a solid cylinder. A pipe or tube is a hollow cylinder, and its material volume is the volume of the outer cylinder minus the volume of the inner cylinder.
So for a tube with outer radius R and inner radius r over length h: V = πh(R² − r²). For example, a pipe with an outside radius of 5 cm, an inside radius of 4 cm and a length of 1 m (100 cm) contains π × 100 × (25 − 16) = 2,827 cm³ of material, roughly 2.83 litres of plastic or metal. The internal capacity, which is what a pipe carries, is just the inner calculation: π × 4² × 100 ≈ 5,027 cm³, about 5 litres.
This distinction between material volume and internal capacity matters for weight estimates and for flow calculations. It is a frequent source of confusion when people quote a pipe's "volume" without saying which volume they mean.
Common Mistakes and How to Avoid Them
Most wrong answers come from a small set of recurring errors rather than from misunderstanding the concept.
- Using diameter as radius. Halve the diameter first. Watch for labels like "20 cm across" or "20 cm diameter," which describe the full width.
- Squaring the wrong quantity. The square applies to the radius only: πr²h, not (πr)²h and not πr² times h².
- Mixing units. Convert millimetres, centimetres and metres to one unit before substituting, then convert the cubic result at the end.
- Using the slant height. Only right cylinders use the perpendicular height. A tilted or slanted cylinder needs its vertical height, or a different approach entirely.
- Forgetting that 1 cm³ equals 1 mL but 1 m³ equals 1,000 litres. Volume conversions trip up metric newcomers more than the formula itself.
- Assuming a container holds exactly its calculated capacity. Walls, base thickness, handles and fill lines all reduce usable volume.
A quick sanity check helps: estimate the volume of the enclosing box, which is the diameter squared times the height. A cylinder fills about 78.5 percent of that box (π/4), so an answer outside that range is worth rechecking.
Cylinder Volume vs Other Shapes
Cylinders are often compared with rectangular containers, and the comparison explains why round tanks and cans are so common. For the same footprint area, a cylinder and a box of equal height hold the same volume only if the box's base has the same area as the circle. Since a circle uses space more efficiently inside a given width, a cylindrical can with diameter equal to a box's side actually holds less — about 78.5 percent of the box's volume — but it uses less material per unit of contents because the surface-to-volume ratio is favourable.
Comparing with a sphere, a cylinder of the same radius and a height equal to its diameter has a volume of 2πr³, which is exactly 1.5 times the sphere's volume of (4/3)πr³. That neat ratio is why cylinders show up in geometry problems alongside spheres.
For cones, the relationship is simpler still: a cone with the same base and height as a cylinder holds exactly one third of the cylinder's volume, V = (1/3)πr²h. If you can do the cylinder, you can do the cone.
Where You Use This in Practice
Beyond homework, the formula shows up in everyday and trade work:
- Home and garden: sizing water butts, rain barrels, raised beds with circular planters, and bags of compost to fill them.
- Cooking and baking: checking whether a round cake tin holds the same batter as a square one, and checking pan capacities for stock pots.
- Building and plumbing: estimating concrete for cylindrical footings, calculating pipe contents and hot water cylinder capacity.
- Buying and shipping: verifying advertised capacities of storage containers, flasks and barrels, since packaging often rounds up.
In each case the method is identical: measure the internal radius and the internal height in the same unit, square the radius, multiply by π and by the height, then convert the cubic result into litres or gallons if that is how the product is sold.
Frequently Asked Questions
Is the cylinder volume formula πr²h or 2πrh?
Volume is πr²h. The expression 2πrh is the curved surface area of the cylinder's side, not its volume. Mixing them up is common because both use the radius and height.
How do I find the volume if I only know the diameter?
Divide the diameter by two to get the radius, then apply V = πr²h. Alternatively, use V = πd²h/4 directly, which gives the same answer without a separate halving step.
Does the formula work for a cylinder lying on its side?
Yes. Volume does not depend on orientation, so a cylinder on its side with length L uses V = πr²L. The measurement you previously called height becomes the length along the axis.
How many litres are in a cubic metre, and how does that relate to cylinders?
One cubic metre equals 1,000 litres. Calculate the volume in metres and multiply by 1,000, or calculate in centimetres and divide by 1,000, since 1,000 cm³ equals 1 litre.
Why is a cone's volume one third of a cylinder's?
A cone with the same base radius and height as a cylinder fills exactly one third of it, giving V = (1/3)πr²h. This is a standard geometric result rather than an approximation.
Can I use 3.14 instead of π?
Yes, for most practical purposes. Using 3.14 introduces an error of about 0.05 percent, which is negligible when measuring a tank or a tin, but use the π key on a calculator for precise work.