Geometry

Volume of a Cylinder

The volume of a cylinder is V=πr2hV = \pi r^2 h: the area of the circular base multiplied by the height. Use the radius of the base for rr and the perpendicular distance between the two bases for hh.

V=πr2hV = \pi r^2 h

Try it with your numbers

Show every step

The rest of this page explains why that formula works, where students lose points with it, and how to adapt it for diameters, unit conversions, hollow pipes and partly filled tanks.

What is the formula for the volume of a cylinder?

V=πr2hV = \pi r^2 h

Here rr is the radius of the circular base and hh is the height. The piece πr2\pi r^2 is the area of a circle, so the formula reads “base area times height.” The answer is always in cubic units: cm3\text{cm}^3, in3\text{in}^3, m3\text{m}^3.

That pattern, V=BhV = Bh with BB standing for the base area, covers every prism. A box uses B=lwB = lw in the volume of a rectangular prism, and a cylinder is the same idea with a round base. If a shape has identical cross-sections from bottom to top, multiply the base area by the height and the job is done.

Exact versus decimal answers matter more than most students expect. If a problem says “in terms of π\pi,” leave the answer as something like 300π300\pi. Otherwise use the π\pi key on a calculator, because 3.143.14 drifts: for r=5r = 5 and h=12h = 12, 3.143.14 gives 942942 while the true value is about 942.48942.48.

Quick check

A cylinder has a circular base of area 20 cm220\ \text{cm}^2 and a height of 66 cm. What is its volume?

Why is the volume of a cylinder πr²h?

Picture a stack of thin coins. Each coin has a face area of πr2\pi r^2 and a small thickness tt. Stack nn coins and the height is h=nth = nt, so the volume is n⋅πr2⋅t=πr2hn \cdot \pi r^2 \cdot t = \pi r^2 h. Make the coins thinner and more numerous and nothing changes except that the stack gets smoother.

This stack also explains slanted cylinders. Push the stack sideways so it leans, and every coin keeps its area and thickness, so the volume stays the same. That is Cavalieri’s principle: two solids with equal cross-section areas at every height have equal volume. The trap is that hh must be the perpendicular height, not the length of the leaning side.

Slant length is not height

A leaning cylinder has side length 1010 cm and its top is shifted 66 cm sideways. The height is 102−62=8\sqrt{10^2 - 6^2} = 8 cm, so with r=3r = 3 cm the volume is π(3)2(8)=72π cm3\pi(3)^2(8) = 72\pi\ \text{cm}^3.

When a problem gives a slant length and a horizontal shift, the Pythagorean theorem recovers the true height, as in the card above.

How do you find the volume of a cylinder step by step?

The same four moves work every time:

  1. Find the radius. If the problem gives a diameter, halve it.
  2. Square the radius, and only the radius.
  3. Multiply by π\pi and then by the height.
  4. Write the unit with a cube: cm3\text{cm}^3, not cm\text{cm} or cm2\text{cm}^2.

Example 1. A cylinder has radius 55 cm and height 1212 cm.

V=π(5)2(12)=π⋅25⋅12=300π≈942.48 cm3V = \pi(5)^2(12) = \pi \cdot 25 \cdot 12 = 300\pi \approx 942.48\ \text{cm}^3

A quick mental check: replace π\pi with 33. Then 3⋅25⋅12=9003 \cdot 25 \cdot 12 = 900, which is just under the true value, as expected because π\pi is slightly larger than 33.

Example 2. A cylinder has diameter 1414 in and height 99 in. The radius is half the diameter (see the parts of a circle if radius and diameter still blur together), so r=7r = 7 in.

V=π(7)2(9)=441π≈1385.44 in3V = \pi(7)^2(9) = 441\pi \approx 1385.44\ \text{in}^3

The most common lost point is using 1414 as the radius, which makes the answer four times too large. If you prefer to skip the halving, V=πd2h4V = \frac{\pi d^2 h}{4} gives π(196)(9)4=441π\frac{\pi(196)(9)}{4} = 441\pi. Either way, the exponent in πr2h\pi r^2 h attaches to rr alone, a point covered in these order of operations practice problems.

How do you find the radius or height from the volume?

Because V=πr2hV = \pi r^2 h is a product, it rearranges cleanly:

h=Vπr2r=Vπhh = \frac{V}{\pi r^2} \qquad r = \sqrt{\frac{V}{\pi h}}

Example 3. A cylinder holds 500 cm3500\ \text{cm}^3 and has radius 44 cm. Find its height.

h=500π(4)2=50016π≈50050.27≈9.95 cmh = \frac{500}{\pi(4)^2} = \frac{500}{16\pi} \approx \frac{500}{50.27} \approx 9.95\ \text{cm}

To check, put the answer back in: 16π⋅9.95≈50016\pi \cdot 9.95 \approx 500. When solving for rr, the step students skip is the square root at the end. Dividing VV by πh\pi h gives r2r^2, not rr.

Try this: Find a soup can, measure its diameter and height in centimeters, and compute the volume in milliliters. Compare your result with the label. Yours will be a little larger, because cans are not filled to the brim.

What happens to the volume when the radius or height changes?

Volume depends on r2r^2 but only on hh to the first power, so the two dimensions are not equal partners:

  • Double the height and the volume doubles.
  • Double the radius and the volume quadruples.
  • Triple the radius and the volume is multiplied by 99.
  • Scale every dimension by a factor kk and the volume is multiplied by k3k^3.

The last rule is a dilation in three dimensions. A drink cup that is 1.51.5 times as wide and 1.51.5 times as tall holds 1.53=3.3751.5^3 = 3.375 times as much, which is why a “slightly bigger” size can hold far more than it appears to.

This is also a fast estimating tool. If a 400 mL400\ \text{mL} cylindrical cup is replaced by one with the same height and a radius 10%10\% larger, the new volume is about 1.12=1.211.1^2 = 1.21 times the old one, roughly 484 mL484\ \text{mL}, with no need to know rr or hh.

Quick check

A cylinder holds 50 cm350\ \text{cm}^3. Its radius is tripled and its height stays the same. What is the new volume?

How do you convert cylinder volume to liters or gallons?

Measure everything in one unit first, then convert the final volume. Mixing a radius in centimeters with a height in meters is a classic way to be off by a factor of 100100 or more.

Unit Equivalent
1 mL 1 cm31\ \text{cm}^3
1 L 1000 cm31000\ \text{cm}^3
1 m31\ \text{m}^3 10001000 L
1 US gallon 231 in3231\ \text{in}^3
1 ft31\ \text{ft}^3 about 7.487.48 US gallons

Example 4. A cylindrical rain barrel has radius 1212 in and height 3636 in. How many US gallons does it hold?

V=π(12)2(36)=5184π≈16,286.02 in3V = \pi(12)^2(36) = 5184\pi \approx 16{,}286.02\ \text{in}^3

16,286.02231≈70.50 gallons\frac{16{,}286.02}{231} \approx 70.50\ \text{gallons}

Converting the lengths first and the volume last is safer than converting midway. Never convert a volume with a length factor: 1 m=100 cm1\ \text{m} = 100\ \text{cm}, but 1 m3=1,000,000 cm31\ \text{m}^3 = 1{,}000{,}000\ \text{cm}^3.

What is the volume of a hollow cylinder or pipe?

A pipe is a large cylinder with a smaller cylinder removed. With outer radius RR and inner radius rr:

V=πR2h−πr2h=π(R2−r2)hV = \pi R^2 h - \pi r^2 h = \pi(R^2 - r^2)h

The trap is writing π(R−r)2h\pi(R - r)^2 h. That squares the wall thickness, not the difference of the areas, and it gives an answer far too small. Subtract the squares, not the radii.

Example 5. A pipe has R=5R = 5 cm, r=4r = 4 cm and length 100100 cm.

V=π(25−16)(100)=900π≈2827.43 cm3V = \pi(25 - 16)(100) = 900\pi \approx 2827.43\ \text{cm}^3

The wrong version gives π(1)2(100)=100π\pi(1)^2(100) = 100\pi, which is nine times too small.

Unrolled wall shortcut

Cut the pipe wall and flatten it into a slab. Its length is the circumference at the middle radius, so V=2π(R+r2)(R−r)hV = 2\pi\left(\frac{R+r}{2}\right)(R-r)h, which simplifies to π(R2−r2)h\pi(R^2 - r^2)h.

That shortcut uses the circumference of a circle and gives a quick check: 2π(4.5)(1)(100)=900π2\pi(4.5)(1)(100) = 900\pi, matching the example.

Volume of a cylinder vs a cone, a sphere and surface area

A cone with the same base and height as a cylinder holds exactly one third as much, so the volume of a cone is 13πr2h\frac{1}{3}\pi r^2 h. A sphere that just fits inside a cylinder (height 2r2r) takes up two thirds of it, and Archimedes was proud enough of this to want it on his tomb. Using the volume of a sphere formula, 43πr3\frac{4}{3}\pi r^3 against πr2(2r)=2πr3\pi r^2(2r) = 2\pi r^3 confirms the ratio 23\frac{2}{3}.

So for a cone, a sphere and a cylinder with the same radius and height 2r2r, the volumes are in the ratio 1:2:31 : 2 : 3. That is a handy memory anchor: if you forget the 13\frac{1}{3} or the 43\frac{4}{3}, rebuild it from the cylinder.

The other confusion is with area. Volume measures space inside and uses cubic units, while the surface area of a cylinder measures the outer skin in square units. For a fixed volume, a closed cylinder uses the least material when its height equals its diameter, though real cans are usually taller because of handling and shelf space.

Quick check

A cone and a cylinder have the same radius and height. The cylinder holds 9090 mL. How much does the cone hold?

How do you find the volume of a partly filled cylinder?

For an upright cylinder, use the depth of the liquid as the height: V=πr2⋅depthV = \pi r^2 \cdot \text{depth}. A tank with radius 22 m filled to 1.51.5 m holds π(4)(1.5)=6π≈18.85 m3\pi(4)(1.5) = 6\pi \approx 18.85\ \text{m}^3.

A cylinder lying on its side is where the simple rule fails. The liquid’s cross-section is a circular segment, which is a sector minus a triangle (see the area of a sector), and its area does not grow in proportion to the depth. Half the depth is exactly half the volume by symmetry, but a quarter of the diameter in depth holds only about 19.5%19.5\% of the total, not 25%25\%.

The volume is then the segment’s area times the length of the cylinder. A dipstick chart or the segment formula gives the answer. Guessing proportionally overestimates near the bottom and underestimates near the top.

Where is the volume of a cylinder used in real life?

Engine size is a direct application. Each cylinder’s displacement is the bore and stroke treated as a cylinder: with a bore (diameter) of 8686 mm and a stroke (height) of 8686 mm, one cylinder displaces π(43)2(86)≈499,557 mm3\pi(43)^2(86) \approx 499{,}557\ \text{mm}^3, about 499.6 cm3499.6\ \text{cm}^3. Four of them give roughly 2.02.0 L, the number printed on the car.

Plumbing uses the same idea along a length. A pipe with an inner radius of 0.050.05 m holds π(0.05)2≈0.00785 m3\pi(0.05)^2 \approx 0.00785\ \text{m}^3 per meter, about 7.857.85 L. Flow rate follows too: cross-section area times the speed of the water gives volume per second.

Other everyday cases include graduated cylinders in a lab, water heaters, silos, rolls of coins and rolls of paper towels. In each case the steps are the same: find the radius, square it, multiply by π\pi and the height, then convert units to match what the situation asks for. For more geometry, the geometry lessons cover the rest of the solids.

Practice problems

0 of 5 solved

  1. Find the volume of a cylinder with radius 33 cm and height 1010 cm. Give the exact value and a decimal rounded to 2 places.

  2. A cylinder has diameter 1010 in and height 4.54.5 in. Find its volume to 2 decimal places.

  3. A cylinder has volume 245π cm3245\pi\ \text{cm}^3 and radius 77 cm. Find its height.

  4. A can has radius 44 cm and height 1212 cm. How many milliliters can it hold when full? Round to 2 decimal places.

  5. A pipe has outer diameter 1212 cm, wall thickness 11 cm and length 5050 cm. Find the volume of the material in the wall, to 2 decimal places.

Common questions

What is the formula for the volume of a cylinder?

The formula is V=πr2hV = \pi r^2 h, where rr is the radius of the circular base and hh is the perpendicular height. It equals the base area πr2\pi r^2 multiplied by the height.

How do you find the volume of a cylinder when you only know the diameter?

Halve the diameter to get the radius, then use V=πr2hV = \pi r^2 h. You can also skip that step with V=πd2h4V = \frac{\pi d^2 h}{4}, which gives the same result.

What units does the volume of a cylinder use?

Cubic units, such as cm3\text{cm}^3, in3\text{in}^3 or m3\text{m}^3. All lengths must be in the same unit before you substitute, and you can then convert to liters or gallons.

Is the volume of a cylinder the same as its capacity?

They use the same formula, but capacity refers to the inside of a container. Use the inner radius and inner height, which are slightly smaller than the outside measurements because of the wall thickness.

Why is a cone one third of a cylinder?

A cone with the same base and height as a cylinder fits exactly three times into it by volume. The factor 13\frac{1}{3} comes from adding up the shrinking circular slices of the cone, and it can be proved with calculus or by pouring water between models.

Does the volume formula work for a slanted cylinder?

Yes, as long as hh is the perpendicular height between the bases, not the slanted side length. Cavalieri's principle shows that leaning the stack does not change its volume.

Up next