Skip to main content
MathFree · no sign-up

Cylinder Volume and Surface Area Calculator

Volume in litres and gallons, curved wall and total surface area — or the radius a tank of known capacity needs.

Updated

What do you know?

cm

cm

Volume, capacity and surface

254,469.0049cm³

That is 254.5 litres, or 67.224 US gallons.

Radius
30 cm
Diameter
60 cm
Height
90 cm
Volume
254,469.0049 cm³
Litres
254.5
US gallons
67.224
Imperial gallons
55.975
Cubic feet
8.986
Base area
2,827.4334 cm²
Curved wall area
16,964.6003 cm²
Total surface area
22,619.4671 cm²

The wall area and the total surface answer different questions. A label or a wrap covers the wall alone; a coat of paint covers the wall and both ends. Quoting one where the other is wanted can leave an order short.

Capacity assumes these are internal measurements. A drum measured on the outside holds less than this by the thickness of its wall, twice over across the diameter.

Advertisement

In short

How can I calculate a cylinder forwards or backwards?

Use any supported pair: radius and height, volume and height, or volume and radius. The calculator solves the missing dimension in closed form, then reports volume, diameter, base area, curved-wall area, total surface area, and capacity in 4 converted units.

The model is a complete right circular cylinder with a solid circular base.

How to use the cylinder volume and surface area calculator

Choose the direction of the calculation

A cylinder problem does not have to begin with its radius. Choose radius and height for a forward volume calculation, volume and height to recover the radius, or volume and radius to recover the height. The inverse cases use closed-form square-root or division formulas, so no iterative estimate is required.

  1. 1

    When radius and height are known

    Enter both lengths in the selected working unit. The calculator uses the circular base area and multiplies it by the perpendicular height.

  2. 2

    When capacity and height are known

    Express the known volume in the selected unit cubed, then enter it with the height. The calculator solves radius as √(V ÷ (πh)).

  3. 3

    When capacity and radius are known

    Enter the volume and radius together. The calculator divides volume by πr² to recover the required perpendicular height.

The volume-and-height route answers a common container question: a drum or tank has a known capacity and length, but its required radius or diameter is unknown. Once the radius has been recovered, the same result also supplies the base area, curved-wall area, total outside area, and diameter.

Recovering a radius from volume
Known volume
V = 20π cm³
Known height
h = 5 cm
Rearrangement
r = √((20π) ÷ (π × 5))
Required radius
r = 2 cm

The matching diameter is 4 cm because a diameter spans two radii.

Advertisement

Distinguish wrapping area from total area

Lateral area means the curved wall only: it is the rectangle obtained conceptually by unrolling the side. Total surface area adds both circular ends. Use lateral area when estimating a label or wrap, and total surface area when coating every outside face of a closed cylinder.

Do

  • Use the curved-wall area for a wrap that excludes both circular ends.
  • Use total surface area when both ends and the wall are covered.
  • Convert every known length into one working unit before calculation.

Don't

  • Treat radius as diameter; the diameter is twice the radius.
  • Add only one circular end when coating a closed cylinder.
  • Use this solid-cylinder model for a hollow wall or partial fill.

A hollow cylinder requires an inner radius and subtracts an inner volume from an outer volume. A partly filled horizontal cylinder requires a circular-segment calculation tied to fill depth. Those are different models; this page calculates a complete solid cylinder and does not claim to solve either case.

Check the circular base separately

Use the circle calculator when you need the base area or circumference without the cylinder’s height and capacity calculations.

Open circle calculator

Cylinder formulas, inverse relationships, and capacity definitions

QuantityExpressionMeaning
VolumeV = πr²hCircular base area multiplied by height
Radius from volumer = √(V ÷ (πh))Used when volume and height are known
Height from volumeh = V ÷ (πr²)Used when volume and radius are known
Base areaAᵦ = πr²Area of one circular end
Lateral areaAₗ = 2πrhCurved wall only
Total surface areaAₜ = 2πr² + 2πrhWall plus two circular ends
Diameterd = 2rFull width through the centre
US gallon1 US gal = 3.785411784 LExact stored capacity definition
Imperial gallon1 imp gal = 4.54609 LExact stored capacity definition
Cubic foot1 ft³ = 28.316846592 LExact stored capacity definition
Every formula here is a closed form; nothing is solved by iteration. The capacity rows carry the exact statutory definitions, which is why they are written out to their full precision.

Why the conversion literals matter

A US gallon is defined as exactly 231 cubic inches, while an inch is exactly 25.4 millimetres. Mathematically, 231 × 25.4³ ÷ 1000000 is exactly 3.785411784 litres, but ordinary double-precision evaluation can produce 3.7854117839999994 instead.

The same issue can turn the exact cubic-foot conversion of 28.316846592 litres into 28.316846591999997 during reconstruction. The engine therefore stores the legally defined results directly. A litre needs no comparable chain: it is a cubic decimetre, making 1 cubic metre exactly 1000 litres.

How to interpret the reported quantities

πr²

Base area

The area of one circular end.

2πrh

Lateral area

The curved wall with both ends excluded.

2πr² + 2πrh

Total area

The wall and both circular ends together.

Area results use square units, while volume uses cubic units. Capacity conversions describe that same volume in litres, US gallons, imperial gallons, and cubic feet; they do not change the cylinder’s geometry or the working length unit used to solve it.

Total area also has a best shape. For a fixed capacity the material is least when the height equals the diameter, which is to say when h = 2r. A one-litre cylinder is leanest at radius 5.42 cm and height 10.84 cm, needing 553.58 square centimetres; the same litre at a narrower 4 cm radius stands 19.89 cm tall and spends 8.5 per cent more surface.

Surface area of a cylinder, and where the formula comes from

Cut a cylinder down its side and roll the wall out flat. It is a rectangle. Its height is the height of the cylinder, and its width is whatever the circle measured around, which is the circumference 2πr. So the curved wall is 2πr × h, and the total is that rectangle plus the two circular ends it was rolled between.

A cylinder of radius 3 and height 4
Unrolled wall
a rectangle 2π × 3 = 6π wide and 4 tall
Curved surface area
6π × 4 = 24π
One circular end
π × 3² = 9π
Both ends
18π
Volume, for comparison
36π
Total surface area
24π + 18π = 42π

The cone on the same base and height holds 12π, exactly a third of this cylinder's 36π, yet its total surface is 24π against 42π — a ratio of 4 to 7, not 1 to 3. The volume ratio is fixed at 1:3 whenever the base and height match, and it tells you nothing about the surface ratio, which moves with the shape as (r + √(r² + h²)) ÷ (2(r + h)).

Which of the two figures is wanted depends entirely on the job. A label, a wrap or a sheet of insulation covers the wall alone and needs 2πrh. A coat of paint, a plating bath or a heat-loss estimate covers the ends as well and needs the full 2πr² + 2πrh. Quoting one where the other was meant can leave an order short.

Going the other way, from a surface area back to a radius

The volume inverse is a plain square root. The surface inverse is not, because the radius appears both squared in the ends and linearly in the wall. Setting 2πr² + 2πrh = S and solving the quadratic gives a closed form all the same, with the negative root discarded as meaningless for a length.

Recovering the radius from a total surface area
The equation
2πr² + 2πrh − S = 0
Solved for r
r = (−πh + √(π²h² + 2πS)) ÷ (2π)
With h = 4 and S = 42π
π²·16 + 2π·42π = 100π²
The square root
10π
So r
(−4π + 10π) ÷ 2π
Radius
3 — the cylinder it came from

This page solves from a volume rather than from a surface area, so that formula is here to be used by hand. It is stated because the two inverses genuinely differ in kind, and a page that gives only the volume one leaves the harder half unanswered.

Measure the inside, not the outside

Every capacity figure here assumes internal measurements. A container measured across its outside is narrower inside by twice the wall thickness, and because the radius is squared, that small error is doubled before it is squared again.

A drum of 30 cm external radius with a wall 5 mm thick has an internal radius of 29.5 cm. The volume falls by about 3.3 per cent — not because the arithmetic changed, but because the wrong radius was measured in the first place.

Advertisement

The formula, worked line by line

Let r be the radius, h the perpendicular height, V the volume, Aᵦ the base area, Aₗ the lateral area, and Aₜ the total surface area.

Lengths must share one working unit before the formulas are applied. The resulting areas use that unit squared, while the volume uses the same unit cubed.

V = πr²h
r = √(V ÷ (πh))
h = V ÷ (πr²)
Aᵦ = πr²
Aₗ = 2πrh
Aₜ = 2πr² + 2πrh
d = 2r
Vexact = qπ when r²h reduces to a tidy rational coefficient q
Cubic centimetres, and what that means in litresA cylinder of radius 30 cm and height 90 cm holds 254,469 cubic centimetres, which is 254.5 litres or 67.2 US gallons.THE ANSWER PEOPLE ACTUALLY WANTr 30h 90Volume254,469 cm³Capacity254.5 litres67.2 US gallons56 imperial gallons
A drum of radius 30 cm and height 90 cm, with its volume in cubic centimetres set beside the same quantity in litres and in both gallons.

The radius inverse contains a square root because volume changes with the square of the radius when height is fixed. The height inverse requires division because volume changes linearly with height when radius is fixed.

An exact-pi result is shown when the coefficient of π reduces to a tidy rational value. Otherwise, the numerical volume and its converted capacities remain the practical reported results.

Advertisement

Questions people ask

Can I find a cylinder’s radius from its capacity?

Yes. Enter the known volume and perpendicular height in compatible units. The calculator uses r = √(V ÷ (πh)), then reports the radius, diameter, areas, volume, and capacity conversions from that solved geometry.

Covered in depth in How to Find the Volume of Hollow, Partial, and Composite Solids

What is the difference between lateral and total surface area?

Lateral area covers only the curved wall, as a label or wrap would. Total surface area adds two circular base areas, so it represents the entire outside of a closed cylinder rather than the wall alone.

What is the surface area of a cylinder?

Total surface area is 2πr² + 2πrh: the curved wall plus both circular ends. The wall alone is 2πrh, which is the rectangle you get by unrolling it — 2πr wide because that is the circumference, and h tall. A cylinder of radius 3 and height 4 has a wall of 24π and ends of 18π, so 42π in total.

How do you find the radius from the surface area?

Solve the quadratic. With the height known, 2πr² + 2πrh = S rearranges to r = (−πh + √(π²h² + 2πS)) ÷ (2π), taking the positive root. It is harder than the volume inverse, where the radius comes out of a single square root, because here the radius appears both squared in the ends and linearly in the wall.

Does the calculator handle a hollow cylinder?

No. A hollow cylinder needs at least an outer radius and inner radius, with the inner cylindrical volume subtracted from the outer one. This calculator models one complete solid cylinder and does not perform that subtraction.

Can it calculate a partly filled horizontal tank?

No. Partial filling introduces a circular segment whose area depends on liquid depth and orientation. The present engine calculates the full geometric volume of a cylinder, not the occupied volume below a changing liquid level.

What cylinder shape uses the least material?

The one whose height equals its diameter. For a fixed volume the total surface area is smallest when h = 2r, which for one litre means a radius of 5.42 cm and a height of 10.84 cm, using 553.58 square centimetres. A narrower 4 cm radius needs 19.89 cm of height and 8.5 per cent more material.

Why can the exact-pi form differ from the decimal result?

The exact form preserves π symbolically when its coefficient is a tidy rational. The decimal form evaluates π numerically and may be rounded for display, although both expressions describe the same cylinder volume.

Sources

Where the constants and formulas on this page come from. Each line names the figure it backs.

  1. The volume of a right circular cylinder is its circular base area multiplied by its height.

    CylinderWolfram MathWorld

  2. The international inch is defined as exactly 25.4 millimetres.

    SI Units – LengthNational Institute of Standards and Technology

  3. The litre is an accepted unit for use with the SI and is related to cubic metric units.

    NIST Special Publication 811National Institute of Standards and Technology

  4. The listed capacity factors support conversion between gallons, cubic feet, and metric volume units.

    Appendix B.8: Factors for Units Listed AlphabeticallyNational Institute of Standards and Technology