Cylinder Volume Calculator
Volume in litres and gallons — or the radius a tank of known capacity needs.
Updated
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
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
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
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.
- 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
| Quantity | Expression | Meaning |
|---|---|---|
| Volume | V = πr²h | Circular base area multiplied by height |
| Radius from volume | r = √(V ÷ (πh)) | Used when volume and height are known |
| Height from volume | h = V ÷ (πr²) | Used when volume and radius are known |
| Base area | Aᵦ = πr² | Area of one circular end |
| Lateral area | Aₗ = 2πrh | Curved wall only |
| Total surface area | Aₜ = 2πr² + 2πrh | Wall plus two circular ends |
| Diameter | d = 2r | Full width through the centre |
| US gallon | 1 US gal = 3.785411784 L | Exact stored capacity definition |
| Imperial gallon | 1 imp gal = 4.54609 L | Exact stored capacity definition |
| Cubic foot | 1 ft³ = 28.316846592 L | Exact stored capacity definition |
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 qThe 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.
The volume of a right circular cylinder is its circular base area multiplied by its height.
Cylinder — Wolfram MathWorld
The international inch is defined as exactly 25.4 millimetres.
SI Units – Length — National Institute of Standards and Technology
The litre is an accepted unit for use with the SI and is related to cubic metric units.
NIST Special Publication 811 — National Institute of Standards and Technology
The listed capacity factors support conversion between gallons, cubic feet, and metric volume units.
Appendix B.8: Factors for Units Listed Alphabetically — National Institute of Standards and Technology
Related guides
How to Find the Volume of Hollow, Partial, and Composite Solids
A decomposition-first guide to pipes, frustums, domes, and partly filled tanks, with formulas and checks for avoiding geometric and unit errors.
August 12, 2026 · 12 min read
How to Compare Two Data Sets: Center, Spread, and Relative Difference
A practical workflow for deciding whether two sets are comparable, describing their typical values and variation, and reporting differences without overstating them.
August 11, 2026 · 10 min read
Putting JSON in a URL: Validate, Minify, Percent-Encode, or Base64url?
A decision guide for flattening, encoding, checking, and safely transporting JSON in a query string.
August 11, 2026 · 9 min read