🧮
🧮 Math & statistics

Cylinder Calculator

Results update as you type.

Your numbers

Understanding the cylinder calculator — concept and principle

A right circular cylinder is the shape of a can, a pipe or a round tank: two equal circles joined by a curved side that meets them at right angles. From the radius r and the height h, this calculator gives the volume, the lateral (curved side) area and the total surface area. It is used to find how much liquid a tank or pipe holds, how much sheet metal or label material a can needs, and how much paint covers a column.

Cylinder of radius 3 and height 10 as a can and its unrolled netA can of radius 3 and height 10: the label unrolls into a rectangle 2π × 3 ≈ 18.85 wide and 10 tall, area 60π ≈ 188.50. Two lids of 9π each bring the total to 78π ≈ 245.04. Volume = 9π × 10 = 90π ≈ 282.74.Peel the label off a canr = 3h = 10side60π2πr ≈ 18.85 wide9π9πlid + side + lidvolume = base 9π × height 10 = 90π≈ 282.74 (in cm: about 0.283 L)side 2π·3·10≈ 188.50total 60π + 18π = 78π≈ 245.04
Volume stacks the round base 10 high; the side is just a rolled-up rectangle.

How it is calculated

r and h must use the same unit. The volume is in that unit cubed and the areas in that unit squared. If you know the diameter, use r = d ÷ 2. For capacity, 1,000 cm³ = 1 litre and 1 m³ = 1,000 litres.

The principle

Every horizontal slice of a cylinder is the same circle of area πr². Stacking that area through the height h gives the volume, base area × height, the same rule as for any prism. Cavalieri’s principle extends this to a slanted (oblique) cylinder: if every slice has the same area, the volume is the same, as long as h is the perpendicular height. For the surface, cut the curved side along a straight line and unroll it. It becomes a rectangle whose width is the circumference 2πr and whose height is h, so its area is 2πrh. Adding the two circular ends, 2 × πr², gives the total.

Worked example

  1. Inputs: r = 3, h = 10.
  2. Base area: π × 3² = 9π ≈ 28.274334.
  3. Volume: 9π × 10 = 90π ≈ 282.7433388.
  4. Lateral area: 2 × π × 3 × 10 = 60π ≈ 188.4955592.
  5. Total surface: 2 × π × 3 × (3 + 10) = 78π ≈ 245.044227.
  6. If the units are centimetres, the cylinder holds about 282.7 cm³, or 0.283 litres.
How Volume changes with RadiusHow Volume changes with Radius02505007501,0001,2500.751.52.2533.754.56Example: 282.7433388Radius
Each point is the calculator re-run with only “Radius” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
RadiusVolume
0.7517.67145868
1.570.68583471
2.25159.0431281
3282.7433388
3.75441.7864669
4.5636.1725124
61,130.973355

How to read the result

For a fixed volume, a closed cylinder uses the least material when its height equals its diameter (h = 2r). Many cans are taller than this for reasons of handling, stacking and labelling. Volume scales with r² but only linearly with h, so a small increase in diameter adds far more capacity than the same increase in height.

Common mistakes

Keep in mind: The formulas assume an ideal cylinder with no wall thickness. Real tanks and pipes have walls, domed ends and fittings that change their capacity, so for storage, pressure or structural design use the manufacturer’s data and follow applicable codes and a qualified professional.

Frequently asked questions

How do I find the height needed for a given volume?

h = V ÷ (πr²). To hold 1 litre (1,000 cm³) with r = 5 cm, h ≈ 12.73 cm.

How much water does a pipe hold per metre?

Use the inner radius: πr² × 1 m. A pipe with an inner diameter of 10 cm holds about 7.85 litres per metre.

What about a hollow cylinder (tube)?

Its material volume is π(R² − r²)h, where R and r are the outer and inner radii.

Sources: Archimedes, On the Sphere and Cylinder, Book I · B. Cavalieri, Geometria indivisibilibus continuorum (1635)

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →