Math calculator

Cylinder Calculator

Volume, and both kinds of area.

Volume, and both kinds of area

Lateral alone, and total with the ends.

radius 3, height 5

141.371669

Volume — base area times height, with no factor to remember. A cone of the same base and height holds 47.12389, exactly a third as much.

Volume

141.371669

πr²h

Lateral area

94.24778

2πrh — the wall only

Base area

28.274334

πr², one end

Total area

150.796447

wall plus both ends

Surface to volume

1.06666667

how much skin per unit content

Cone of the same size

47.12389

exactly a third

  • The lateral surface unrolls into a rectangle: its width is the circumference and its height is the cylinder’s. That is why the lateral area is 2πrh and needs no separate formula to remember.
  • A cone with the same base and height holds exactly one third as much — 47.12389 against 141.371669. The factor is a third for every cone and pyramid, whatever the base shape.
  • For this volume the least-material cylinder would have radius 2.823108 and height 5.646216 — height exactly equal to diameter. Almost no real can is that shape, because the top and bottom are thicker gauge than the wall and the true optimum shifts.

Lateral and total area are reported separately, because a pipe wants one and a tin wants the other.

What this tool shows

Volume is base area times height, with no factor to remember. The area comes in two kinds: lateral is the wall alone, total adds both ends, and which one you want depends on whether the thing is a pipe or a tin.

  • Volume from radius and height
  • Lateral surface area, the wall alone
  • Total surface area, including both ends
  • Why the lateral area needs no formula to memorise
  • The cone of the same base and height
  • The shape that uses the least material
Volume and both areas Cone comparison Surface-to-volume Least-material shape

Both areas reported, plus the cone of the same size.

Updated 7 September 2026 · Works in any browser, no installation

V = πr²h — base area times height, with nothing to divide by. A cylinder of radius 3 and height 5 holds 45π. Its lateral area is 30π and its total area is 48π, and which one you want depends on whether the ends are there.

At a glance

Formula shown
V = πr²h. The lateral area is 2πrh, because the wall unrolls into a rectangle of width 2πr. The total surface area adds both circular ends: 2πrh + 2πr².
Scenario support
Sizing a tank or a pipe; working out how much paint a cylindrical column needs; comparing can shapes.
Educational estimate
Planning support from the values you enter — not professional advice.

Which area you want

“The surface area of a cylinder” is ambiguous, and the ambiguity costs real money.

Lateral area is the curved wall alone: 2πrh. This is what you want for a pipe, a column, a label wrapping round a tin, or the paint on a silo.

Total area adds both circular ends: 2πrh + 2πr². This is what you want for a sealed can or a closed tank.

The gap is 2πr², which is small for a long thin cylinder and dominant for a short wide one. For a disc-shaped cylinder the ends can be most of the surface, so picking the wrong one is not a rounding matter.

This page reports both rather than choosing for you.

Unrolling the wall

The lateral area needs no memorising, because the wall unrolls into a plain rectangle.

Its width is the circumference, 2πr. Its height is the cylinder’s, h. So the area is 2πrh, and that is the whole derivation.

It is why a tin’s label is a rectangle, and why the label’s length must match the circumference rather than the diameter — a distinction that catches people out by a factor of π.

A cylinder is a developable surface: it can be made from flat material without stretching. So is a cone. A sphere is not, which is why a globe cannot be flattened into a map without distortion.

A third for a cone

A cone with the same base and the same height holds exactly a third as much. This page shows that figure alongside so the relationship is visible.

The factor is a third for every cone and every pyramid, whatever the base shape — which is the clue that it has nothing to do with circles. It comes from Cavalieri’s principle and the squared scaling of a cross-section.

A hemisphere of the same radius sits between them, at two thirds of a cylinder of height r. Stacking the three — cone, hemisphere, cylinder — in the ratio 1 : 2 : 3 is one of the neater facts in solid geometry, and it is Archimedes’ result restated.

The least-material shape

For a fixed volume, which cylinder uses the least material? The answer is clean, and what happens in practice is more interesting.

The optimum has height exactly equal to diameter — the cylinder that would just contain a sphere. This page reports those dimensions for whatever volume you enter.

Almost no real can is that shape. A drinks can is much taller and narrower than the optimum, and the reason is that the calculation above assumes uniform thickness. The top and bottom of a can are thicker gauge than the wall, because they take the pressure and the seaming, so the true optimum shifts towards a taller shape.

Handling matters too. A can has to be comfortable to hold and to fit a vending mechanism, and those constraints are worth more than a few percent of aluminium.

It is a good example of a textbook optimisation whose answer is right and whose conclusion is wrong, because the model left something out.

Where it gets used

Tanks and vessels. Most storage is cylindrical: it is easy to fabricate from rolled sheet and handles pressure far better than a box.

Pipes. Flow depends on the cross-sectional area, which goes as r² — so doubling a pipe’s diameter quadruples its area, and rather more than quadruples its flow.

Engines. Displacement is the swept cylinder volume times the number of cylinders, which is what an engine’s stated capacity means.

Packaging. Cans, bottles and drums, where the trade between material cost and handling shapes every one of them.

Sources and methodology

The cylinder formulas are standard geometry; these are the references.

Method. Lateral and total surface area are reported as separate figures rather than one being presented as the surface area, because the two answer different practical questions and differ by 2πr² — a large gap for a short wide cylinder. The cone of the same base and height is shown alongside so the exact one-third relationship is visible, and the suite asserts that third on four hundred generated pairs. That engine is verified on every change against 96 hand-written assertions, including that a cone is exactly a third of its cylinder across four hundred generated radius and height pairs. The count and the per-case breakdown are published on the formula verification page.

Related calculators

Where this goes next:

ConeVolume, slant height and both surface areas — with the vertical and slant heights kept strictly apart, because the two formulas want different ones and swapping them fails silently.
SphereVolume, surface area, hemisphere figures and the surface-to-volume ratio — the one number that explains why cells are small and why crushed ice cools faster.
PrismVolume and both surface areas for rectangular, triangular and trapezoidal prisms — with the triangular base solved from three measured side lengths, no perpendicular height needed.
CircleRadius, diameter, circumference and area from any one of them — and why a 16-inch pizza is four times an 8-inch one rather than twice.
PyramidVolume, both slant heights, the lateral edge and the surface areas — because a rectangular base has two slant heights and a single one is not enough.
Torus and EllipsoidA torus is exact both ways from Pappus; an ellipsoid has an exact volume and no closed form at all for its surface area — and the page labels which is which.

More in Math, or browse all calculators.

Read the guide

The cone that holds exactly a third of this cylinder is on the Cone Calculator.

Educational use disclaimer

This is an educational tool. Values involve π and are therefore decimal.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (3 updates)

Published 7 September 2026

  1. Published the cylinder page reporting lateral and total surface area as separate figures, since the two answer different questions and differ by 2πr² — negligible for a long pipe and dominant for a short wide disc.
  2. Derives the lateral area by unrolling the wall into a rectangle rather than presenting 2πrh as a formula to memorise, which also explains why a tin's label length must match the circumference and not the diameter.
  3. Gives the least-material shape for the entered volume — height equal to diameter — and says why almost no real can is that shape: the ends are thicker gauge than the wall, so the true optimum shifts.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.