What Is a Cylinder?
A cylinder volume calculator turns two measurements into the complete solid. The radius r is the distance from the centre of a circular end to its edge; double it for the diameter d = 2r. The height h is the distance between the two ends, measured along the axis. Those two numbers decide everything else, because a cylinder is just a circle carried straight through a distance: its volume is the area of that circle multiplied by how far it travels, and its surface is the two ends plus the rectangle you get by unrolling the curved side.
Cans, tanks, pipes, pistons, wells and tree trunks are all close to cylinders in everyday work, which is why this one shape earns its own calculator. The linked radius and diameter fields exist because real measurements arrive both ways: a tank is usually measured across (diameter), while a formula always wants the radius.
The Formulas: Volume and Surface Area
The volume formula, V = πr²h, is the base area carried through the height. The base is a circle of area πr²; stack that circle through a height h and the space it sweeps out is πr² × h. The total surface area, A = 2πr(r + h), counts everything you could paint: two circular ends at πr² each, plus the curved side. Unroll that side and it becomes a rectangle whose width is the circumference of the end, 2πr, and whose height is h — an area of 2πrh, which is exactly the lateral surface area. Add the pieces: 2πr² + 2πrh = 2πr(r + h). Nothing here is a separate fact to memorise; each formula is the same picture read a different way, and the workbench prints the formula beside every result so you can see which picture produced it.
Worked Example: Radius 2, Height 5
Here is the example built into the calculator, done entirely by hand. Start with a radius of 2 units and a height of 5 units; the diameter is 2 × 2 = 4. The base area squares the radius first: 2² = 4, then 4 × π = 12.5664 square units. The volume carries that base through the height: 12.5664 × 5 = 62.8319 cubic units. The lateral area wraps the side: 2 × π × 2 × 5 = 20π = 62.8319 square units — the same number as the volume here, though it measures a surface, not a space, and the match is a coincidence of these particular inputs. The total surface area adds the two ends to the side: 62.8319 + 2 × 12.5664 = 87.9646 square units, which the combined formula confirms directly: 2 × π × 2 × 7 = 28π = 87.9646.
Run it backwards as a check: divide the volume by the height and by pi, 62.8319 ÷ 5 ÷ π = 4, and take the square root to land back on a radius of exactly 2. The round trip works because the calculator keeps pi at full precision through the whole chain and rounds only what it prints, to 4 decimal places.
How to Solve by Hand, Step by Step
Step one: name what you have. Decide whether your across-measurement is a radius or a diameter before touching a formula — most cylinder errors are committed here, not in the arithmetic. Step two: convert it to the radius. Halve a diameter: r = d ÷ 2. Step three: find the base area. Square the radius and multiply by pi: πr². Step four: multiply by the height for the volume. V = πr²h, in cubic units. Step five: build the surfaces if you need them. Lateral area 2πrh for the side alone, then add two base areas for the total, 2πr(r + h). Step six: convert the volume to litres if the job needs it, using the table in the units section below, and sanity-check: the volume should be a little over three times r² × h, and the total area should always exceed the lateral area, because the ends add to it.
Hollow Cylinders and Pipes
Honest limit, stated plainly: this tool is for a SOLID right circular cylinder. A pipe, tube or hollow tank wall is a hollow cylinder — a solid cylinder with a smaller cylinder removed from its centre — and this calculator does not have inner-radius inputs, so it does not calculate hollow cylinders directly. The formula, for hand use or for two runs of a solid-cylinder calculation, is V = πh(R² − r²), where R is the outer radius, r is the inner radius and h is the length. The same result comes from subtracting: work out the solid volume with the outer radius, work out the removed volume with the inner radius at the same height, and take the difference. The material in a pipe wall, the water a pipe carries (use the inner radius alone, as a solid cylinder), and the volume of a hollow post all follow from that one subtraction.
Units and Litres
Radius, diameter and height must all share one unit — all metres, all centimetres, all feet or all inches — and the calculator returns areas in that unit squared and volume in that unit cubed. The unit selector also drives the litres figure, because a litre is a volume: exactly one thousandth of a cubic metre, or a cube 10 centimetres on each side.
| Your unit | Volume unit | 1 volume unit in litres | Anchor volume 62.8319 in litres |
|---|---|---|---|
| Metres (m) | m³ | 1000 litres | 62831.8531 litres |
| Centimetres (cm) | cm³ | 0.001 litres | 0.0628 litres |
| Feet (ft) | ft³ | 28.3168 litres | 1779.1999 litres |
| Inches (in) | in³ | 0.0164 litres | 1.0296 litres |
The anchor column is the lesson: the same typed numbers, radius 2 and height 5, describe a large tank in metres and a thimbleful in centimetres. Check the unit before trusting the litres, especially when a measurement was taken with a tape in inches and a drawing in centimetres.
Common Cylinders: Reference Table
The table lists the volume, total surface area, lateral area and base area for the radius and height pairs that turn up most often, all computed with this page's own method and shown to 4 decimal places. Two patterns are worth remembering. The volume grows with the square of the radius: double the radius at the same height and the volume quadruples. The lateral area, by contrast, grows only in direct proportion to the radius.
| Radius r | Height h | Volume V | Total area A | Lateral area | Base area |
|---|---|---|---|---|---|
| 1 | 1 | 3.1416 | 12.5664 | 6.2832 | 3.1416 |
| 1 | 3 | 9.4248 | 25.1327 | 18.8496 | 3.1416 |
| 2 | 5 | 62.8319 | 87.9646 | 62.8319 | 12.5664 |
| 3 | 4 | 113.0973 | 131.9469 | 75.3982 | 28.2743 |
| 5 | 10 | 785.3982 | 471.2389 | 314.1593 | 78.5398 |
The radius 2, height 5 row is the worked example above, so you can check the table against numbers you have already derived by hand. The radius 1, height 1 row is the unit cylinder, where the base area is exactly π and the volume is π as well.
What This Calculator Cannot Do
This calculator solves one shape only: a solid right circular cylinder. It does not handle hollow cylinders or pipes directly (the guide above gives the subtraction formula), oblique cylinders whose axis is slanted, cones, or frustums — a cone cut off partway up — each of which needs a different formula and its own tool. It does not calculate spheres or hemispherical tank ends, although a real tank is often a cylinder plus two such ends, and those end volumes must be added separately. For general three-dimensional shapes, the Volume Calculator covers several solids side by side, and the Circle Calculator covers the circular base on its own.
It also will not invent a cylinder from impossible inputs: a zero or negative radius or height describes no solid, and the page says so in words rather than printing a polished zero. It cannot measure a tank from a photograph, allow for wall thickness, or judge how full a horizontal cylinder is — a part-filled horizontal tank is a circular-segment problem, not this formula. What it does, it does exactly: volume, litres and the three areas of a solid right circular cylinder, at full precision, with the formulas in the open.
Sources & References
- Wolfram MathWorld — Cylinder (volume and surface area formulas for the right circular cylinder)
- Wolfram MathWorld — Circular Cylinder (radius, height and the hollow-cylinder subtraction)
- OpenStax — Prealgebra 2e, Solve Geometry Applications (circle area worked from the radius, the base of every cylinder volume)
- Khan Academy — Cylinder volume and surface area (worked examples unrolling the lateral surface)
- NIST Digital Library of Mathematical Functions — Mathematical Constants (the tabulated value of pi used at full precision)
- NIST — SI Units: Volume (the litre as 0.001 cubic metres, behind the litres conversions)
Every figure in this guide was calculated with this page's own method — base area πr² at full precision, volume as base area times height, surfaces from 2πrh and 2πr(r + h), rounded only for display to 4 decimal places — so you can reproduce each one exactly above.