Volume of a Cylinder

Calculates the volume of a cylinder—the three-dimensional space inside—used for any cylindrical container or object in math and engineering.

V=πr2hV = \pi r^2 h

Solve a problem with Volume of a Cylinder

Type the problem. The solver will use Volume of a Cylinder where Volume of a Cylinder is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Volume of a Cylinder takes
VV
rr
hh
Volume of a Cylinder
SymbolMeaning
VVThe volume of the cylinder, measured in cubic units (like cm3\text{cm}^3 or m3\text{m}^3); confusing it with surface area will give you the wrong units.
rrThe radius of the circular base (half the diameter), in the same linear units as hh; using the diameter directly instead will multiply your answer by 4.
hhThe height of the cylinder, in the same linear units as rr; using slant height or diameter instead will give a completely incorrect result.

When to use it

Use this formula when you need to find how much space is inside a cylindrical container or object.

Level

Usually taught in: Geometry · Appears on: SAT

Worked examples

1. Find volume with small integer radius and height

Problem

A cylindrical water tank has a radius of 2 meters and a height of 5 meters. Find its volume.
  1. V=πr2hV = \pi r^2 h

    Write the volume formula for a cylinder.

  2. V=π(2)2(5)V = \pi (2)^2 (5)

    Substitute the radius r=2r = 2 m and height h=5h = 5 m into the formula.

  3. V=π45V = \pi \cdot 4 \cdot 5

    Evaluate the exponent: (2)2=4(2)^2 = 4.

  4. V=20π m3V = 20\pi \text{ m}^3

    Multiply the constants: 4×5=204 \times 5 = 20.

Answer: V=20π m362.83 m3V = 20\pi \text{ m}^3 \approx 62.83 \text{ m}^3

This is a straightforward application of the volume formula. We substitute the given radius and height, simplify the exponent, then multiply to get the exact answer in terms of π\pi. If a decimal answer is needed, we approximate π3.14159\pi \approx 3.14159.

2. Calculate volume with decimal radius and round to nearest integer

Problem

A cylindrical storage can has a radius of 3.5 cm and a height of 8 cm. Calculate its volume and round to the nearest cubic centimeter.
  1. V=πr2hV = \pi r^2 h

    Write the volume formula.

  2. V=π(3.5)2(8)V = \pi (3.5)^2 (8)

    Substitute r=3.5r = 3.5 cm and h=8h = 8 cm.

  3. V=π12.258V = \pi \cdot 12.25 \cdot 8

    Calculate (3.5)2=12.25(3.5)^2 = 12.25.

  4. V=98π cm3V = 98\pi \text{ cm}^3

    Multiply: 12.25×8=9812.25 \times 8 = 98.

  5. V98×3.14159307.88 cm3V \approx 98 \times 3.14159 \approx 307.88 \text{ cm}^3

    Use π3.14159\pi \approx 3.14159 to approximate.

  6. V308 cm3V \approx 308 \text{ cm}^3

    Round 307.88 to the nearest whole number.

Answer: V308 cm3V \approx 308 \text{ cm}^3

This example uses a decimal radius, which requires us to calculate (3.5)2=12.25(3.5)^2 = 12.25 carefully. We then multiply by the height and π\pi to get the volume. Finally, since the problem asks for rounding, we convert to decimal and round to the nearest cubic centimeter.

3. Word problem: find total volume for a cyclist's water bottles

Problem

A cyclist preparing for a long hill climb fills two identical cylindrical water bottles. Each bottle has a radius of 2 inches and a height of 10 inches. What is the total volume of water capacity for both bottles, rounded to the nearest cubic inch?
  1. Vone=πr2hV_{\text{one}} = \pi r^2 h

    Write the volume formula for one bottle.

  2. Vone=π(2)2(10)V_{\text{one}} = \pi (2)^2 (10)

    Substitute r=2r = 2 in and h=10h = 10 in for one bottle.

  3. Vone=π410V_{\text{one}} = \pi \cdot 4 \cdot 10

    Calculate the exponent: (2)2=4(2)^2 = 4.

  4. Vone=40π in3V_{\text{one}} = 40\pi \text{ in}^3

    Multiply: 4×10=404 \times 10 = 40.

  5. Vtotal=2×40π=80π in3V_{\text{total}} = 2 \times 40\pi = 80\pi \text{ in}^3

    Multiply by 2 to account for both bottles.

  6. 80π251.33 in380\pi \approx 251.33 \text{ in}^3

    Evaluate using π3.14159\pi \approx 3.14159.

Answer: Vtotal251 in3V_{\text{total}} \approx 251 \text{ in}^3

For this multi-step word problem, we first find the volume of one cylinder using the standard formula, then multiply by 2 to get the total capacity. The word problem context helps us see why we need two separate calculations before combining the results.

Common mistakes

Where Volume of a Cylinder usually goes wrong
Answer came out wrong
Substituting diameter for radius in the formula
If given diameter dd, divide by 2 to get r=d/2r = d/2 before substituting into V=πr2hV = \pi r^2 h.
Using slant height instead of perpendicular height
Always measure hh as the straight perpendicular distance between the two circular bases, not the slanted edge distance.
Multiplying πrh\pi r h instead of πr2h\pi r^2 h (forgetting to square the radius)
Always calculate r2r^2 as a separate step first, then multiply by hh and π\pi.
The mistakeWhy it is wrongThe fix
Substituting diameter for radius in the formulaThe formula uses the radius (half the diameter), not the full distance across the circle, so this multiplies your answer by 4.If given diameter dd, divide by 2 to get r=d/2r = d/2 before substituting into V=πr2hV = \pi r^2 h.
Using slant height instead of perpendicular heightOnly the vertical height perpendicular to the base contributes to cylinder volume; slant height applies to cones, not cylinders.Always measure hh as the straight perpendicular distance between the two circular bases, not the slanted edge distance.
Multiplying πrh\pi r h instead of πr2h\pi r^2 h (forgetting to square the radius)The r2r^2 is not optional; it comes from the area of the circular base, so omitting the exponent makes your answer completely wrong.Always calculate r2r^2 as a separate step first, then multiply by hh and π\pi.

Tips and when to use something else

  • If you're given the diameter instead of radius, remember to divide by 2 first; this is a very common mistake that doubles your radius and quadruples your volume.
  • For other 3D shapes, use different formulas: 13πr2h\frac{1}{3}\pi r^2 h for cones (which is one-third of a cylinder's volume), 43πr3\frac{4}{3}\pi r^3 for spheres, and length × width × height for rectangular prisms.
  • Always include units in your final answer—like cm3\text{cm}^3, m3\text{m}^3, or in3\text{in}^3—to avoid confusion with surface area, which uses square units.
  • For practical real-world problems, you may need to approximate π\pi; use 3.14 for quick mental math, or use your calculator's π\pi button for more precision.

Frequently asked questions

What is the difference between volume and surface area of a cylinder?
Volume measures the space inside (in cubic units), while surface area measures the outer covering (in square units). The formula for surface area is 2πr2+2πrh2\pi r^2 + 2\pi rh, which is completely different from V=πr2hV = \pi r^2 h.
Can I use this formula for an open cylinder?
Yes, the volume formula works the same way whether the cylinder is open or closed. The volume depends only on the radius of the circular base and the height, not on whether there are caps on the ends.
Why is there a pi in the volume formula?
The π\pi comes from the area of the circular base, which is πr2\pi r^2. Since volume is area times height, we get V=πr2hV = \pi r^2 \cdot h.
How do I find the radius if I'm only given the volume and height?
Rearrange the formula to r=Vπhr = \sqrt{\frac{V}{\pi h}}. Divide the volume by π\pi and the height, then take the square root of the result.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18