Cylinder Volume Calculator

Find the volume of any cylinder from its radius or diameter and height, in cubic units, litres and gallons.

Your details

Your resultVolume
9,424.78 cm³
Litres
9.42 L
US gallons
2.49 gal
Imperial gallons
2.07 gal

Diameter is used instead of radius when it is filled in. Figures are rounded for display.

How cylinder volume is calculated

The volume is the area of the circular end multiplied by the height or length of the cylinder.

V = π × r² × h

  • π (pi) is about 3.14159, r is the radius and h is the height or length.
  • Square the radius, multiply by π to get the circular end area, then multiply by the height.
  • The result is in cubic units of whatever you measured in: cubic centimetres divide by 1,000 for litres; a cubic metre is already 1,000 litres.
  • Diameter is radius × 2. If you measured across the circle, enter the diameter and this calculator halves it for you.

Worked example — A tank with a 20 cm diameter (10 cm radius) and 30 cm height holds π × 10² × 30 = 9,424.78 cm³, about 9.42 litres or 2.49 US gallons.

Things to consider

  • Pipes and rolls are cylinders lying down — use the pipe's length as the height.
  • Measure the inside of a tank, not across the outside walls.
  • If the tank is only partly filled, use the fill depth, not the full height.
  • Capacity ignores wall thickness, so a real tank holds slightly less than the figure.

Frequently asked questions

How do I find the volume from the diameter?

Divide the diameter by 2 to get the radius, or enter it in the diameter field and this calculator halves it for you.

What is the formula for the volume of a cylinder?

V = π r² h — pi times the radius squared times the height.

How many litres is a cubic metre?

1,000 litres. A cubic metre is also 1,000,000 cubic centimetres.

Does this work for a tank measured in feet?

Yes. Choose feet and the volume shows in cubic feet, with litres and gallons converted.

Results are estimates for general information only, not financial, medical or professional advice.