Calcamaze

Cylinder Volume Calculator

Find the volume of a cylinder from its radius and height — or the radius or height from the volume.

Solve for any value — pick what to calculate in the first field

Result

Volume
628.3185
Diameter
10
Base area
78.5398
Lateral surface area
251.3274
Total surface area
408.407

The volume of a cylinder is the area of its circular base (π × r²) times its height. Enter the radius and height to get the volume, or pick “Radius” or “Height” to work backwards from a known volume. Use any unit — the volume comes out in that unit cubed, and the surface areas in that unit squared.

Cylinders are the shape of most tanks, pipes, cans, drums and round planters, so this is the calculation behind “how much does it hold?” Measure the inside diameter for capacity, and keep every measurement in the same unit.

What is the volume of a cylinder?

A cylinder is a solid with two identical, parallel circular ends joined by a curved side — the shape of a can, a pipe or a round tank. Its volume is the amount of space inside it, measured in cubic units.

Because every slice across a cylinder is the same circle, the volume is simply the area of that circle times the height: V = πr²h. The same rule works for an oblique (slanted) cylinder as long as h is the perpendicular height, not the length of the slanted side. Doubling the height doubles the volume, but doubling the radius makes it four times as large.

How to use the cylinder volume calculator

  1. Choose what to calculate in the first field — usually the volume.
  2. Enter the radius (half the inside diameter).
  3. Enter the height or length, and read the volume.

Formula

V = π × r^2 × h

Where V is the volume, r is the radius, h is the height.

Choose any value to calculate — the calculator rearranges the formula for you.

Worked examples

How much does a can hold?

Calculate
Volume
Radius
3.3
Height
12.2
Volume
417.3857
Diameter
6.6
Base area
34.2119

A can 6.6 cm across has a radius of 3.3 cm. V = π × 3.3² × 12.2 ≈ 417.4 cm³, which is about 0.42 liters since 1,000 cm³ = 1 L.

How tall must a 1,000-liter tank be?

Calculate
Height
Volume
1,000,000
Radius
50
Height
127.324
Diameter
100
Base area
7,853.9816

1,000 L is 1,000,000 cm³. With a 1 m diameter (r = 50 cm), h = V ÷ (π × r²) = 1,000,000 ÷ (π × 2,500) ≈ 127.3 cm.

Gallons in a round planter

Calculate
Volume
Radius
9
Height
16
Volume
4,071.5041
Diameter
18
Base area
254.469

An 18 in wide, 16 in deep planter holds π × 9² × 16 ≈ 4,072 in³. Dividing by 231 in³ per US gallon gives about 17.6 gallons of soil.

Cylinder volume for common sizes (inches)

DiameterHeightVolume (in³)US gallons
4 in6 in75.40.33
6 in12 in339.31.47
12 in12 in1,357.25.88
12 in24 in2,714.311.75
18 in24 in6,107.326.44
24 in36 in16,28670.5
36 in48 in48,858211.51

How much does a rain barrel hold?

A barrel 60 cm across and 90 cm tall has a radius of 0.3 m, so V = π × 0.3² × 0.9 ≈ 0.254 m³. Each cubic meter is 1,000 liters, so that is about 254 L, or roughly 67 US gallons. For a pipe, the same formula with the pipe’s length gives the volume of water inside it.

Common mistakes

  • Using the diameter in place of the radius. That makes the volume four times too big — halve the diameter first.
  • Measuring the slanted side of an oblique cylinder instead of its perpendicular height.
  • Mixing units, such as a radius in inches and a height in feet. Convert everything to one unit before multiplying.
  • Forgetting that the answer is in cubic units. Convert cubic centimeters or inches to liters or gallons afterwards if you need capacity.
  • Mixing units, such as a diameter in inches and a height in feet. Convert to one unit before calculating.

Frequently asked questions

How do I find the volume of a cylinder from the diameter?

Halve the diameter to get the radius, then use V = π × r² × h. A can 8 cm across and 12 cm tall holds π × 4² × 12 ≈ 603.19 cm³.

How do I convert cylinder volume to liters or gallons?

1,000 cm³ is 1 liter, and 231 in³ is 1 US gallon. Measure in centimeters or inches, then divide the volume by 1,000 or 231.

Should I use the inside or outside diameter?

The inside diameter for how much it holds, the outside diameter for how much space it takes up. For thin-walled containers the difference is small; for thick pipes it matters.

How do I find the height for a given volume?

Rearrange the formula: h = V ÷ (πr²). Choose “Height” in the first field to do it automatically.

Sources

  1. Cylinder, Wolfram MathWorld
  2. Prealgebra 2e, 9.6 Solve Geometry Applications: Volume and Surface Area, OpenStax, Rice University
  3. Special Publication 811: Guide for the Use of the International System of Units, NIST

Last updated · Calculations checked by automated tests· Editorial policy