Cylinder Volume Calculator

Need to find the volume of a cylinder fast? Whether you're working on a school problem, a home project, or an engineering task, this calculator handles the math so you don't have to. Punch in the measurements and get an accurate result in seconds. A cylinder is one of the most common 3D shapes out there. Think of water tanks, soup cans, pipes, and fuel drums. Knowing how much volume one holds is genuinely useful in a lot of real-world situations, not just textbook exercises. Below, you'll also find the formulas, step-by-step examples, tips for hollow cylinders, and a breakdown of the most common mistakes people run into.

Enter Details

Radius

Height

Result

V = πr²h

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Use the Cylinder Volume Calculator

Using the calculator is straightforward. You just need two measurements: the radius (or diameter) of the circular base and the height of the cylinder. Enter those values, select your unit of measurement, and the calculator spits out the volume instantly.

  • Radius: The distance from the center of the circle to its edge.
  • Diameter: If you measured across the full circle instead, enter that in the diameter field. The calculator will handle the conversion.
  • Height: The straight-line distance from the bottom base to the top base.

Make sure your radius (or diameter) and height are in the same unit before entering them. Mixing inches and centimeters, for example, will give you a meaningless result. Once you hit calculate, you can usually convert the output to a different unit right on the same screen.

Calculate Cylinder Volume

Calculating cylinder volume comes down to a simple concept: find the area of the circular base, then multiply it by the height. That's it. The circle's area tells you how much space is covered at one cross-section, and the height tells you how far that cross-section extends.

The result is expressed in cubic units. So if your measurements are in inches, the volume comes out in cubic inches. If you're working in centimeters, you get cubic centimeters (also written as cm³ or milliliters when dealing with liquids).

Most everyday calculations only require a few seconds once you know which values to plug in. The trickier part is usually making sure you're measuring the right thing — radius versus diameter trips people up more often than the math itself does.

Cylinder Volume Formula

The standard formula for cylinder volume is built on the area of a circle. There are two versions depending on whether you measured the radius or the diameter. Both give the same result; it just depends on what measurement you have on hand.

Volume Using Radius and Height

This is the most common version of the formula:

V = π × r² × h

  • V = volume
  • π = approximately 3.14159
  • r = radius of the circular base
  • h = height of the cylinder

So if a cylinder has a radius of 4 cm and a height of 10 cm, the volume is π × 4² × 10 = π × 16 × 10 ≈ 502.65 cm³. Square the radius first, then multiply by π and by the height. That order matters if you're doing it by hand.

Volume Using Diameter and Height

If you measured the diameter instead of the radius, use this version:

V = π × (d/2)² × h

  • d = diameter of the circular base
  • h = height of the cylinder

You're essentially dividing the diameter by 2 to get the radius, then applying the same formula. For example, a cylinder with a diameter of 8 cm and a height of 10 cm: V = π × (8/2)² × 10 = π × 16 × 10 ≈ 502.65 cm³. Same numbers, same answer — just a different starting point.

Some calculators let you enter the diameter directly so you don't have to do the halving step yourself. Handy if you're working with pipes or round containers where diameter is the easier measurement to take.

Hollow Cylinder Volume Calculator

A hollow cylinder (sometimes called a cylindrical shell or annular cylinder) has a tube-like shape with empty space running through the middle. Think of a pipe, a cardboard toilet paper roll, or a section of PVC tubing. To find how much material fills the walls of that shape, or how much fluid it can carry in its hollow core, you need a slightly different approach.

The calculator for a hollow cylinder asks for three inputs: the outer radius, the inner radius, and the height. With those three values, it calculates the volume of just the solid portion of the walls, not the empty space inside.

Hollow Cylinder Volume Formula

The formula subtracts the volume of the inner (empty) cylinder from the volume of the full outer cylinder:

V = π × (R² − r²) × h

  • R = outer radius
  • r = inner radius
  • h = height

For example, a pipe with an outer radius of 6 cm, an inner radius of 4 cm, and a height of 20 cm: V = π × (6² − 4²) × 20 = π × (36 − 16) × 20 = π × 20 × 20 ≈ 1,256.64 cm³. That's the volume of the pipe material itself, not the empty channel running through it.

If you want the volume of the hollow interior instead (how much liquid a pipe can hold, for instance), just use the inner radius in the standard cylinder formula: V = π × r² × h.

Inner vs Outer Radius

Getting these two values mixed up is one of the most common errors when working with hollow cylinders. Here's the simple distinction:

  • Outer radius (R): Measured from the center of the cylinder to the outside edge of the wall. This is the larger number.
  • Inner radius (r): Measured from the center to the inside edge of the wall (the boundary of the hollow space). This is the smaller number.

The difference between them is the wall thickness. If someone tells you the wall is 2 cm thick and the outer radius is 6 cm, then the inner radius is 4 cm. Sometimes you're given the wall thickness directly rather than both radii, so it's worth knowing how to work backward from that.

Oblique Cylinder Volume

An oblique cylinder is one where the sides lean at an angle instead of standing perfectly vertical. Picture a can that's been tilted or a stack of coins that's been pushed sideways. It looks more complicated, but the volume formula is actually identical to that of a right (straight) cylinder.

V = π × r² × h

The key is using the perpendicular height, not the slant height. The perpendicular height is the straight vertical distance between the two circular bases, measured at a right angle to the base. If you accidentally use the longer slant-side measurement instead, you'll overestimate the volume.

This is a consequence of Cavalieri's principle, which says that if two solids have the same cross-sectional area at every level and the same height, they have the same volume regardless of how the shape leans. So don't overthink the tilt. Just get the true vertical height and use the standard formula.

Convert Cylinder Volume Units

Once you've calculated a volume, you might need it in a different unit. Here are the most common conversions you'll run into:

FromToMultiply By
Cubic inches (in³)Cubic feet (ft³)0.000579
Cubic feet (ft³)Cubic inches (in³)1,728
Cubic centimeters (cm³)Liters (L)0.001
Liters (L)Cubic centimeters (cm³)1,000
Cubic meters (m³)Liters (L)1,000
Cubic inches (in³)US gallons0.004329
US gallonsCubic inches (in³)231

For liquid-capacity problems, converting to liters or gallons usually makes the result more intuitive. For construction or material volume, sticking with cubic feet or cubic meters tends to be more practical. Most online calculators offer a unit dropdown so you can skip the conversion math entirely.

Step-by-Step Cylinder Volume Examples

Sometimes seeing the work done out in full is more useful than just reading a formula. Here are a few examples covering different scenarios.

Example 1: Water tank (radius given)
A cylindrical water tank has a radius of 3 feet and a height of 8 feet.
V = π × 3² × 8 = π × 9 × 8 = 72π ≈ 226.19 cubic feet

Example 2: Soup can (diameter given)
A can has a diameter of 7.4 cm and a height of 11.2 cm.
Radius = 7.4 / 2 = 3.7 cm
V = π × 3.7² × 11.2 = π × 13.69 × 11.2 ≈ 481.87 cm³

Example 3: Pipe wall material (hollow cylinder)
A steel pipe has an outer diameter of 10 cm, inner diameter of 8 cm, and length of 50 cm.
Outer radius = 5 cm, Inner radius = 4 cm
V = π × (5² − 4²) × 50 = π × (25 − 16) × 50 = π × 9 × 50 ≈ 1,413.72 cm³

Working through examples like these helps you catch errors before they matter. If an answer seems wildly off, double-check whether you squared the radius (not the diameter) and whether you used the right height.

Radius, Diameter, Height, and Volume Relationship

Understanding how these four values relate to each other helps you think about cylinders more intuitively, not just plug numbers into a formula.

Radius and diameter are directly linked: diameter is always twice the radius. Simple enough. But because the radius gets squared in the volume formula, doubling the radius doesn't double the volume. It quadruples it. A cylinder with a radius of 4 cm holds four times the volume of one with a radius of 2 cm (assuming the same height). That's easy to underestimate.

Height has a straightforward linear relationship with volume. Double the height, double the volume. No squaring involved. So if you're trying to maximize capacity, increasing the radius has a much bigger payoff than increasing the height by the same amount.

This relationship matters in practical design. A wider, shorter cylinder holds more than a tall, narrow one with the same total surface area. Engineers and designers account for this all the time when sizing tanks, containers, and pipes.

Common Applications of Cylinder Volume

Cylinder volume calculations show up in more places than most people realize.

  • Plumbing and piping: Estimating flow capacity and the amount of material needed to manufacture pipe sections.
  • Water and fuel storage: Sizing tanks for homes, farms, and industrial facilities.
  • Cooking and food packaging: Determining fill volumes for cans, jars, and cylindrical molds.
  • Construction: Calculating how much concrete is needed to fill cylindrical columns or posts.
  • Engine design: Engine displacement is based on the combined volume of all cylinders in the engine block.
  • HVAC and ventilation: Sizing cylindrical ductwork for proper airflow.
  • Manufacturing: Calculating material volume for cylindrical parts to estimate weight and cost.

Even something as simple as figuring out how much soil to pour into a round planter or how much paint a cylindrical column needs involves this calculation. It's a surprisingly practical skill once you start noticing cylinders everywhere.

Common Mistakes When Calculating Cylinder Volume

A few errors come up over and over, especially for people who don't do this calculation regularly.

  • Using diameter instead of radius: This is the most frequent mistake. The formula uses radius. If you plug in the diameter without dividing by 2 first, your volume will be off by a factor of 4.
  • Forgetting to square the radius: V = π × r² × h, not π × r × h. Skipping the square is a quick way to get a completely wrong answer.
  • Mixing units: Measuring the radius in inches and the height in feet without converting leads to nonsense results. Pick one unit and stick with it throughout.
  • Using slant height on an oblique cylinder: Always use the perpendicular height, the true vertical distance between the bases.
  • Confusing inner and outer radius on hollow cylinders: Using the wrong one changes the answer significantly, especially when wall thickness is a large portion of the overall size.
  • Rounding π too early: Using 3.14 instead of 3.14159 (or your calculator's π key) introduces rounding error that compounds in larger calculations. Let the calculator handle π until the very last step.

Most of these are easy to avoid once you're aware of them. When in doubt, write out each step rather than trying to do it all in your head.

Other Maths Calculators

Explore all