Cylinder Volume Calculator

Work out how much a cylinder holds from any pair of measurements. Enter the radius, diameter or a tape-wrapped circumference together with the height or length, pick your output unit, and see the volume plus the substituted formula.

Formula: V = π r² h

r = 5 cm, h = 10 cmd = 30 cm, h = 1 mtank 60 cm wide, 2 m long

The cylinder volume formula, step by step

A cylinder is a stack of identical circular discs. Its volume is the area of one circular face multiplied by how far the shape extends: V = πr²h, where r is the radius of the circular end and h is the perpendicular height or length. Square the radius first, multiply by π to get the base area, then multiply by the height to get the volume.

Working an example: a cylinder with a 5 cm radius and a 10 cm height has a base area of π × 25 = 78.54 cm². Multiplied by 10 cm, the volume is 785.4 cm³, which is just under 0.8 litres. The same logic works no matter the units as long as radius and height share a unit - if they do not, convert one of them before multiplying, or use the unit selectors in the calculator above, which handle conversion for you.

If you measure across the circle instead of to its centre, you have the diameter d. The radius is d ÷ 2, so the formula becomes V = πd²h ÷ 4. Squaring the diameter and dividing by 4 is mathematically identical to squaring the radius, so pick whichever form matches what your tape measure gives you.

How to use this calculator

  1. Choose what you measured. The mode selector accepts radius, diameter or circumference pairs - including reverse modes where you know the volume and want a missing dimension.
  2. Type the two values with their units. Each measurement keeps its own unit selector, so a diameter in inches and a height in feet is fine.
  3. Read the volume in the panel. The headline shows litres and cubic metres; the table underneath lists cm³, ft³ and US gallons without re-entering anything.
  4. Copy the worked formula. The bar below the results substitutes your numbers into V = πr²h so you can drop it into homework, a quote or a work order.

Solve a cylinder from any two measurements

Two of a cylinder's measurements determine the rest, so the calculator doubles as a solver. Choose the pair you have - including the circumference from a tape wrapped around a drum, or a volume printed on a can label - and the tool returns every remaining dimension.

Find the height from the volume

Rearrange the formula to h = V ÷ (πr²). A 2-litre (2,000 cm³) container with a 6 cm radius needs a height of 2,000 ÷ (π × 36) = 17.7 cm. For the radius instead, use r = √(V ÷ (πh)).

Hollow cylinder (pipe or tube wall)

Subtract the inner cylinder from the outer one: V = π(R² − r²)h, with R the outer and r the inner radius. A pipe 10 cm across the outside, 8 cm across the inside and 1 m long contains π × (25 − 16) × 100 = 2,827 cm³ of material. The open space inside holds π × 16 × 100 = 5,027 cm³, or about 5 litres - the pipe volume side of that question is covered by the dedicated pipe calculator.

Oblique (slanted) cylinder

A cylinder leaning to one side holds the same volume as an upright one with the same base and perpendicular height, so V = πr²h still applies. Measure h straight up from the base, not along the slanted wall. Every horizontal slice of the solid keeps the same circular area, which is why the lean does not change capacity.

Cylinder surface area

The curved side unrolls into a rectangle 2πr wide and h tall, and the two ends add 2πr². Total surface area is 2πr(r + h). A can 7.5 cm across and 11 cm tall uses about 259 cm² of side plus 88 cm² of ends - roughly 347 cm² in all.

Cylinder capacity by diameter: quick reference

Volumes below are for cylinders 1 metre long in the listed diameter, rounded to sensible figures.

DiameterVolume per metre of lengthLitres per metreUS gal per metre
10 cm7,854 cm³7.85 L2.07 gal
20 cm31,416 cm³31.4 L8.30 gal
30 cm70,686 cm³70.7 L18.7 gal
50 cm196,350 cm³196 L51.9 gal
100 cm785,398 cm³785 L207.5 gal
12 in0.606 ft³/ft5.67 L/ft1.50 gal/ft

Capacity grows with the square of the diameter, so doubling the width of a pipe or drum quadruples what it holds per unit of length. That is why a 30 cm drain moves far more water than four 15 cm drains combined, and why upsizing a tank diameter is usually more effective than making it taller.

Where cylinder volume shows up in real life

Sizing a rain barrel or drum

Standard 55-gallon drums are about 57.8 cm across and 88.9 cm tall - π × 28.9² × 88.9 ≈ 233 litres, matching the 208-litre rating once wall thickness is accounted for. When a supplier quotes a barrel only by dimensions, this formula converts them to litres so you can compare against the stated capacity.

Water in a length of pipe

Plumbers estimate how much water a line holds to size expansion tanks or antifreeze quantities: a 25 mm (1 inch) internal pipe holds about 0.49 litres per metre. Multiply by the run length, add fittings allowance of roughly 10%, and you have the fill volume.

Concrete in a round footing

A pier or post hole 30 cm across and 1.2 m deep takes π × 15² × 120 ≈ 84,823 cm³, about 0.085 m³ of concrete. Ordering in cubic metres against this figure - plus a small overage - prevents a short pour.

Common mistakes & pro tips

  • Diameter used as radius. This doubles the radius and quadruples the result - the single most common error. If your number came from measuring across the circle, halve it first or switch the mode to diameter.
  • Height measured along a slant. For tilted cylinders the perpendicular height, not the wall length, belongs in the formula.
  • Mixed units. A radius in inches with a height in centimetres produces a nonsense number. Convert first; the calculator's per-field unit selectors prevent this entirely.
  • Inside vs outside walls. For capacity use internal dimensions; for material volume subtract the inner cylinder from the outer. Tank ratings refer to internal volume.
  • Forgetting ² on r. πrh (missing the square) gives an area-like number roughly a factor of r too small - sanity-check against the litre figure, not just the raw value.

Frequently asked questions

How do you find the volume of a cylinder with the diameter?
Use V = πd²h ÷ 4. Square the diameter, multiply by π and the height, then divide by 4. A 20 cm wide, 50 cm tall cylinder holds π × 400 × 50 ÷ 4 ≈ 15,708 cm³, or 15.7 litres.
How do I calculate cylinder volume in gallons?
Compute the volume in cubic units first, then convert: 1 US gallon = 231 cubic inches or 3.785 litres. In the calculator, read the US gallons row directly - it updates with whichever units you entered.
How many litres are in a cylinder?
One cubic decimetre equals one litre, so a cylinder 10 cm across and 10 cm tall holds about 0.785 litres. For any cylinder: volume in cm³ ÷ 1,000 = litres.
What if I only know the circumference?
Wrap a tape around the cylinder to get C, then r = C ÷ 2π and V = πr²h. The circumference mode in the calculator does this conversion for you.
Does a slanted cylinder hold less?
No. Volume depends on the base area and the perpendicular height, so an oblique cylinder with the same base and vertical height holds exactly the same amount (Cavalieri’s principle).
How do I find the height if I know the volume?
Rearrange to h = V ÷ (πr²). Make sure V and r are in compatible units first - e.g. V in cm³ and r in cm gives h in cm. The reverse modes in the calculator handle this automatically.
Is the formula different for an open-ended tube?
The enclosed space follows the same V = πr²h using the internal radius. The material volume of the tube wall itself is π(R² − r²)h with outer and inner radii.
Why does my measured capacity differ from the calculation?
Real tanks have wall thickness, dished ends, internal fittings and possibly a safe-fill margin. Calculated volume is the ideal geometric figure; expect a few percent difference on manufactured containers.

Related calculators

Educational use only. Results are provided for planning and study purposes. Storm Lane is not liable for decisions made solely on these figures - double-check critical measurements with a qualified professional.