Skip to main content
MathFree · no sign-up

Cylinder Volume Calculator

Volume in litres and gallons — 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 is the usual source of a short order.

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.

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 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.

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.

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.

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.

Questions people ask

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