Cylinder Volume Calculator

Enter a radius and a height. You get the volume, the surface area, and the working — with a scale diagram that redraws as you type.

Known values

A cylinder needs exactly two values. Radius is half the diameter — if you measured across the top, halve it first.

Scale drawing · updates as you type
Example — This is a worked example. Change the values above to solve your own.
Volume 942.4778cm³
In litres 0.9425L
Decimals
More properties
Surface area 534.0708 cm²
Lateral area 376.9911 cm²
Base area 78.5398 cm²
Diameter 10 cm
Circumference 31.4159 cm
Exact volume 300π cm³

How this was solved

1

Pick the formula

V = πr²h — the base is a circle of area πr², extended through height h.

2

Substitute your values

V = π × (5)² × 12

3

Evaluate

V = π × 25 × 12 = 300π ≈ 942.4778 cm³

Have the AI walk through it Full explanation with the reasoning behind each step · 1 credit

The formula, and where it comes from

A cylinder's volume is V = πr²h. The reasoning is worth a moment because it generalises: a cylinder is a circle dragged in a straight line. Every horizontal slice through it is the same circle, of area πr². Stack h units of those slices and you get πr²h. That is the whole derivation — no calculus required, because nothing about the cross-section changes as you move up.

Surface area splits into two parts that are easy to keep separate. The two circular ends contribute 2πr². The curved side is a rectangle in disguise: unroll it and you get a rectangle h tall and 2πr wide — the circumference — giving 2πrh. Together, A = 2πr² + 2πrh. If you only need the curved part (painting a tank, wrapping a label), that is the lateral area, 2πrh, which this calculator reports separately.

Why there is no ⅓ here

Students routinely write V = ⅓πr²h for a cylinder. That is the cone formula, and the confusion is understandable — the two shapes share a base and a height. The difference is that a cone's cross-section shrinks linearly to a point, so its average cross-section is one third of the base. A cylinder's cross-section never changes, so its average is the base.

A useful check: a cone and a cylinder with the same radius and height have volumes in a 1:3 ratio. If your cone answer isn't a third of the matching cylinder answer, one of the two is wrong.

The commonest input error. Measuring across the top of a can or pipe gives the diameter, not the radius. Enter half of it. A can measured at 8 cm across has r = 4, and entering 8 will overstate the volume by a factor of four — because the radius is squared, this error compounds rather than being merely off by double.

Measuring a real cylinder

For a physical object, measure the inside diameter if you want capacity and the outside diameter if you want displaced volume. On a pipe or a tube these differ by twice the wall thickness, and for thin-walled containers the gap is small enough to ignore; for concrete pipe or steel tube it is not. Where the wall matters, subtract the inner cylinder from the outer one rather than treating the object as solid.

Height is measured along the axis, perpendicular to the base — not along the slanted outside of a tilted container. If you are measuring a partially filled vessel, the height you want is the height of the liquid, not the height of the vessel.

Oblique cylinders

If the cylinder leans — the top circle offset sideways from the bottom — the volume formula is unchanged. This is Cavalieri's principle: two solids with matching cross-sectional areas at every height have the same volume, whether or not those cross-sections line up vertically. A leaning stack of coins occupies exactly as much space as a straight one.

Surface area is not preserved, though. A tilted cylinder's curved surface is longer than 2πrh, and the ends become ellipses if cut horizontally. This calculator assumes a right circular cylinder, so its surface-area outputs do not apply to oblique cases.

Units, and why litres appear

Volume units are cubes of the length unit: centimetres in, cubic centimetres out. The conversion people most often need is that one litre is exactly 1000 cm³, which is why this calculator shows a litre figure alongside — most real questions about cylinders (“how much does this tank hold”) want a capacity, not a cubic measure.

Watch the scaling when you change units. Doubling every linear measurement multiplies volume by eight, not two. Converting a cubic-inch answer to cubic centimetres means multiplying by 16.387, not 2.54.

Frequently asked questions

Do I need the diameter or the radius?
The radius — half the diameter. If you measured across the widest point of the circular face, divide that figure by two before entering it.
Does the formula still work if the cylinder is tilted?
Yes, for volume. By Cavalieri's principle an oblique cylinder has the same volume as an upright one with the same radius and perpendicular height. Surface area does change, so those outputs no longer apply.
How do I get the answer in litres or gallons?
One litre equals 1000 cubic centimetres, so divide a cm³ answer by 1000. One US gallon is 3785.41 cm³.
How do I find the volume of a pipe?
A pipe is a cylinder with a cylindrical hole. Calculate the outer cylinder, calculate the inner one using the inside radius, and subtract. The result is the volume of the material; the inner figure alone is the capacity.