Cylinder Calculator

Volume and surface areas of a cylinder from its radius (or diameter) and height.

What does this calculator do?

A right circular cylinder is defined by its base radius and height. Enter the base as a radius or a diameter — the selector makes the distinction explicit — plus the height, and the calculator returns the volume, the lateral (curved) area, the total surface area including both circular ends, and the base area. π is used at full floating-point precision. Use any length unit — areas in that unit squared, volume in that unit cubed.

Formula

Base circle × height for the volume; unrolled rectangle for the lateral area:

V = πr²h
S_lateral = 2πrh
S_total = 2πr(r + h)
B = πr²
Cylinder diagramA cylinder with base radius r and height h; the hidden base edge is dashed.rh
Diagram not to scale.

How to use it

Choose radius or diameter for the base measurement, enter its value and the height in the same unit. Mixing up radius and diameter changes the volume by a factor of 4 — the most common cylinder mistake.

Worked example

Radius 3 and height 5: volume = π × 9 × 5 = 141.3717, lateral area = 2π × 3 × 5 = 94.2478, total = 2π × 3 × 8 = 150.7964, base = 28.2743.

Formula version1.0.0
FormulaV = πr²h S_lateral = 2πrh S_total = 2πr(r + h) B = πr²
Precision4 decimals

Frequently asked questions

Where does the lateral-area formula come from?

Unroll the curved side into a flat rectangle: its width is the base circumference 2πr and its height is h, so the area is 2πrh.

Does this work for a tank or pipe volume?

Yes for any right circular cylinder. Measure the inside radius for capacity. A volume computed from centimetres is in cm³ (divide by 1000 for litres) — or use the Volume Converter.

What about an open cylinder without a top?

Subtract one base: S = πr² + 2πrh instead of 2πr(r + h). The outputs shown here assume both ends are closed.

Sources

Related calculators

Last updated: 2026-07-31 · v1.0.0 · Report an error