Volume of a cylinder: Formula, examples & AI solver (2026)
Calculating the volume of a cylinder comes up more often than you’d think, from figuring out how much water a tank holds to checking if a pipe can carry enough flow. I’ve tested dozens of geometry problems hands-on, and the cylinder formula is one of those concepts that clicks immediately once you tie it to something real. This guide walks you through the formula, step-by-step examples, and a few tools to make the whole process faster. For more geometry resources, Geometry Math Solver has you covered.
—
What You Need Before Calculating Cylinder Volume
Before you plug anything into a formula, gather two measurements:
- Radius (r): the distance from the center of the circular base to its edge
- Height (h): how tall the cylinder is, measured straight up
If you only have the diameter (the full width of the circle), just divide it by 2 to get the radius. A standard soup can, for example, has a diameter of about 7.4 cm, making the radius 3.7 cm.
Units matter too. Make sure radius and height are in the same unit before calculating. Mixing centimeters and meters is the most common mistake people make at this stage.
—
The Cylinder Volume Formula Explained
The cylinder volume formula is:
V = π × r² × h
Where:
- V = volume
- π ≈ 3.14159
- r = radius of the circular base
- h = height of the cylinder
Think of it this way: you’re finding the area of the circular base (π × r²) and then stacking that circle upward by the height. A water tank that’s 10 meters tall is really just that same circle repeated 10 meters deep.
This formula applies to any right circular cylinder, meaning the sides are perfectly vertical. It’s a foundational part of 3D shapes volume problems in geometry.
—
Steps to Find the Volume of a Cylinder
Step 1: Identify the radius and height
Write down your measurements. Label them clearly. If a problem gives you diameter, convert it first: r = d ÷ 2.
Step 2: Square the radius
Multiply the radius by itself. If r = 5 cm, then r² = 25 cm².
Step 3: Multiply by π
25 × 3.14159 = 78.54 cm²
This gives you the area of the circular base.
Step 4: Multiply by the height
If h = 12 cm, then: 78.54 × 12 = 942.48 cm³
Step 5: Label your answer with cubic units
Volume is always expressed in cubic units: cm³, m³, in³, and so on. Leaving off the units is a graded mistake on almost every geometry exam.
—
Real-World Cylinder Volume Examples
Example 1: A drinking water tank
A cylindrical water tank has a radius of 3 meters and a height of 8 meters. How much water can it hold?
V = π × 3² × 8
V = 3.14159 × 9 × 8
V = 226.19 m³
That’s roughly 226,000 liters, enough to supply a small apartment building for several days.
Example 2: A metal pipe
A pipe has a diameter of 10 cm and a length (height) of 200 cm. What is its volume?
Radius = 10 ÷ 2 = 5 cm
V = π × 5² × 200
V = 3.14159 × 25 × 200
V = 15,707.96 cm³
Engineers use this exact calculation when sizing pipes for plumbing or HVAC systems. The volume tells them how much material is inside the pipe itself.
Example 3: A standard soda can
A typical 355 mL soda can has a radius of about 3.3 cm and a height of 12.2 cm.
V = π × 3.3² × 12.2
V = 3.14159 × 10.89 × 12.2
V ≈ 417.5 cm³ (or ~417.5 mL)
Close enough to 355 mL when you account for the can’s wall thickness and the slight dome at the bottom. This kind of real-world check is great for building number sense.
—
Comparison Table: Cylinder vs Other 3D Shapes Volume Formulas
| Shape | Volume Formula | Key Measurements Needed |
|---|---|---|
| Cylinder | π × r² × h | Radius, height |
| Cone | (1/3) × π × r² × h | Radius, height |
| Sphere | (4/3) × π × r³ | Radius only |
| Rectangular prism | l × w × h | Length, width, height |
| Triangular prism | (1/2 × b × h_t) × l | Base, triangle height, length |
Knowing where the cylinder formula sits among other volume formula geometry rules helps you avoid mixing them up on a test.
—
How to Use a Cylinder Calculator or AI Solver
If you’re dealing with decimal-heavy numbers or just want to check your work, a cylinder calculator saves real time. Enter the radius and height, and the tool outputs the volume instantly.
For more complex problems, like finding the radius when you already know the volume and height, an AI geometry solver free can work backwards through the formula and explain each step. This is especially useful for students who need to understand the process, not just the answer.
Most calculators ask for radius or diameter (choose carefully) and height. Some also offer surface area as an output, which is useful if you’re calculating how much material wraps around a cylinder like sheet metal or label paper.
—
Tips and Mistakes to Avoid
Use radius, not diameter. The formula uses r, so if you plug in the diameter, your answer will be 4 times too large. Always double-check which measurement you have.
Keep units consistent. If height is in inches and radius is in feet, convert one before calculating. Inconsistent units are responsible for a huge portion of wrong answers in geometry volume problems.
Don’t round π too early. Using 3.14 instead of 3.14159 introduces small errors that compound in multi-step problems. Keep full precision until the final answer.
Remember cubic units. Volume is three-dimensional, so your unit must reflect that. Area answers use cm², but volume answers always use cm³.
Check real-world reasonableness. A soda can should not have a volume of 4,000 cm³. If your answer seems wildly off, re-check whether you squared the radius correctly.
For more practice problems and worked geometry examples, the geometry help center has additional resources organized by topic.
—
Frequently Asked Questions
What is the formula for the volume of a cylinder?
The cylinder volume formula is V = π × r² × h, where r is the radius of the circular base and h is the height of the cylinder. Multiply the area of the base circle by the height to get the total volume. Always express the result in cubic units.
How do I find the volume of a cylinder if I only have the diameter?
Divide the diameter by 2 to get the radius, then use the standard formula. For example, if the diameter is 14 cm, the radius is 7 cm. Then calculate V = π × 7² × h to find the volume of a cylinder from that point forward.
Why is volume measured in cubic units?
Volume measures three-dimensional space, so it accounts for length, width, and depth all at once. A square centimeter (cm²) covers a flat surface area, while a cubic centimeter (cm³) fills a three-dimensional space. The cylinder formula multiplies a 2D area by a 1D height, which is why the result carries three dimensions.
Can I use this formula for hollow cylinders like pipes?
For a hollow cylinder, calculate the volume of the outer cylinder first, then subtract the volume of the inner hollow section. The difference gives you the volume of the material itself. This approach is standard in engineering when calculating the weight of pipes, tubes, or cylindrical shells.
—

