Menu

Volume of a Cylinder

The volume of a cylinder is the area of its circular end times its height, pi r squared h. Change the radius and the height below and watch the answer, kept exact in terms of pi, with the decimal beside it.

By Nethanel Bar, Co-founder & CEO

Last updated

A cylinder is a circle stacked straight up: the same circle at the bottom, at the top and at every height in between. So its volume is the area of that circle times the height:

V = pi*r^2*h

r is the radius of the circle at the end and h is the height of the cylinder. Move the sliders and the answer follows, exact in terms of pi first, with the decimal beside it.

The circle times the height

The end of the cylinder is a circle, and the area of a circle is pi*r^2. Picture the cylinder as a pile of thin coins, each that circle. A layer one unit thick holds pi*r^2 cubic units, and h layers hold h times as much.

It is the same rule as the volume of a prism, the area of the end times the length, with a circle for the end.

For the figure's starting values, a radius of 3 and a height of 5:

V = pi*3^2*5 = 45pi, which is about 141.37.

Square the radius first, then multiply by the height. Only r is squared, not the height. The answer is in cubic units.

Diameter mistakes

Many questions give the diameter, the distance right across the circle. Halve it before you do anything else:

givenradiusheightvolume
radius 33545π ≈ 141.37
radius 221040π ≈ 125.66
diameter 1054100π ≈ 314.16
diameter 8412192π ≈ 603.19

Use the diameter as if it were the radius and the answer is four times too big, because the radius is squared. For the third row, pi*10^2*4 = 400pi instead of the true 100pi.

Litres and real containers

Volumes of tanks, cans and pipes are often wanted in litres:

  • 1,000 cm³ is 1 litre.
  • 1 m³ is 1,000 litres.

A water tank with a radius of 1 m and a height of 2 m holds pi*1^2*2 = 2pi m³, about 6.28 m³, which is about 6,283 litres. Measure every length in the same unit before you multiply: a radius in centimetres with a height in metres gives a meaningless number.

Working backwards

The formula can be turned round to find a missing length.

  • The height: divide by the area of the circle, h = V/(pi*r^2). A cylinder of radius 3 holding 45π is 45/9 = 5 tall.
  • The radius: divide by π and by the height, then take the square root, r = sqrt(V/(pi*h)). A cylinder 4 tall holding 100π has r^2 = 25, so its radius is 5.

Volume and surface area

The surface area is a different measure: the two circles at the ends plus the curved side, which unrolls into a rectangle 2*pi*r long and h high.

radius 3, height 5formulaexactdecimal
volumeπr²h45π≈ 141.37
curved side2πrh30π≈ 94.25
total surface2πr² + 2πrh48π≈ 150.80

A cone with the same radius and height holds exactly a third of the cylinder, 15π here. The volume calculator works out a cylinder from its radius and height, with the surface area beside the volume and pi kept exact.

Try one

A cylinder has a diameter of 8 and a height of 6. What is its volume, in terms of pi?

The radius is half of 8, which is 4. Then pi*4^2*6 = 96pi. As a decimal it is about 301.59 cubic units.

Common mistakes

  • Using the diameter as the radius. The radius is half the diameter. Using the diameter makes the volume four times too big.
  • Squaring the height too. Only the radius is squared: πr²h, not π(rh)².
  • Mixing up volume and surface area. 2πrh is the curved side, in square units. The volume is πr²h, in cubic units.
  • Mixing units. Put the radius and the height in the same unit before you multiply.
  • Rounding pi too early. Keep π until the last step, or the rounding carries through every later line.

Common questions

What is the formula for the volume of a cylinder?

V = πr²h: square the radius, multiply by pi, then multiply by the height. A cylinder of radius 3 and height 5 holds π × 9 × 5 = 45π, about 141.37 cubic units.

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

Halve the diameter to get the radius first, then use V = πr²h. A cylinder 10 cm across and 4 cm tall has a radius of 5 cm, so it holds π × 25 × 4 = 100π cm³, about 314.16 cm³. Using 10 as the radius gives 400π, four times too big.

How do I find the volume of a cylinder in litres?

Work in centimetres to get cubic centimetres, then divide by 1,000, because 1,000 cm³ is one litre. In metres, multiply the cubic metres by 1,000. A tank with a radius of 1 m and a height of 2 m holds 2π m³, about 6.28 m³ or 6,283 litres.

How do I find the height of a cylinder from its volume?

Divide the volume by the area of the circle: h = V ÷ πr². A cylinder of radius 3 that holds 45π has a height of 45π ÷ 9π = 5.

What is the difference between the volume and the surface area of a cylinder?

The volume, πr²h, is the space inside, in cubic units. The surface area, 2πr² + 2πrh, is the two circles plus the curved side, in square units. For a radius of 3 and a height of 5 the volume is 45π and the surface area is 48π.

Related ideas

Coddy programming languages illustration

Learn math with Coddy

Get started