What is a cylinder?
A cylinder is one of those shapes you already know even if you don't think you do.
Picture a soda can. That's a cylinder. A pipe? Cylinder. Those big oil drums? Also cylinders.
In geometry terms, it's a 3D shape with two flat circular ends that are parallel to each other. Same size circles, facing the same direction, connected by a curved surface that wraps around.
Think of it like stacking circles on top of each other, infinitely, until you get height. That's basically what a cylinder is.
It's one of the more common shapes in the real world because it's strong, efficient, and easy to manufacture. There's a reason so many containers are cylindrical.
Parts of a cylinder
Three measurements matter here:
- Radius (r) — The distance from the center of the circular base to its edge. If you drew a line from the middle of the circle straight out to the rim, that's your radius.
- Diameter (d) — The distance all the way across the circle, passing through the center. It's basically twice the radius. Sometimes this is easier to measure directly, especially on physical objects.
- Height (h) — The distance between the two circular bases. How tall the cylinder stands. Some people call this length instead of height, especially for horizontal cylinders like pipes. Same thing though.
That's it. Those three numbers (really just two, since diameter and radius are related) give you everything you need to calculate volume.
Types of cylinders
There are two main types, and one matters way more than the other for everyday use.
Right cylinder — The axis (imaginary line through the center) is perpendicular to the bases. Meaning the cylinder stands straight up. The sides go straight up and down. This is what most people picture when they think "cylinder."
Oblique cylinder — The axis is tilted. So the top circle is shifted to the side relative to the bottom. Like a stack of coins that's been pushed over slightly but hasn't fallen.
This calculator focuses on right cylinders. They're what you'll encounter 99% of the time. Cans, tanks, pipes, drums — all right cylinders.
Oblique cylinders exist, but they're rare in practical applications. Different formula situation too.
How to calculate the volume of a cylinder?
Volume tells you how much space is inside something. For a cylinder, you're measuring the three-dimensional space enclosed by those curved walls and circular ends.
Think of it as: how much liquid could this hold? How much material would it take to fill this completely?
The calculation combines two ideas. First, you figure out the area of the circular base. Then you multiply by height to extend that area through the whole cylinder.
It makes intuitive sense. A bigger circle at the bottom means more volume. A taller cylinder means more volume. The formula captures both.
Cylinder volume formula
Here it is:
Let me break that down:
- V = volume (what we're solving for)
- π = pi, approximately 3.14159 (the famous never-ending number)
- r = radius of the circular base
- h = height of the cylinder
The r² part (radius squared) gives you the area of the circle. That's just how circle area works — πr². Then multiplying by height extends that flat circle into a 3D space.
I think of it like this: you're calculating one "slice" of the cylinder (the circular base area) and then stacking that slice h times.
Alternative cylinder volume formulas
Sometimes you have the diameter instead of the radius. Which is actually pretty common when you're measuring real objects. Easier to measure across than to find the exact center.
When you know diameter:
You're just converting diameter to radius first (divide by 2), then using the same formula.
Simplified diameter version:
Same thing, just cleaned up mathematically. Some people prefer this because you don't have to do the division separately.
Both give identical results. Use whichever matches the numbers you have.
Step-by-step: How to find the volume of a cylinder
If you want to do this manually, here's the process:
- Measure the radius of the circular base. If you only have diameter, divide it by 2.
- Measure the height of the cylinder.
- Square the radius. Multiply it by itself.
- Multiply that result by π (use 3.14159 or just hit the π button on your calculator).
- Multiply by the height.
- Add your units. This is important — volume is always in cubic units. So if you measured in centimeters, your answer is cm³. Inches become in³. And so on.
That's it. Five math steps plus remembering your units.
Cylinder volume calculation examples
Let's run through some actual numbers. Seeing it done helps more than just staring at formulas.
Example 1: Finding volume with radius and height
Say you have a cylinder with:
- Radius = 5 cm
- Height = 10 cm
Here's the calculation:
So this cylinder holds about 785.4 cubic centimeters of space.
Pretty straightforward once you see it laid out.
Example 2: Finding volume with diameter and height
Now let's say you measured across the circle instead:
- Diameter = 8 inches
- Height = 12 inches
First, convert diameter to radius: r = 8 ÷ 2 = 4 inches
Then calculate:
About 603 cubic inches.
See how the extra step is just that one division? Not a big deal.
Example 3: Real-world application (water tank)
Here's something more practical. You've got a cylindrical water storage tank and want to know its capacity.
Tank measurements:
- Diameter = 1.2 meters
- Height = 2 meters
First, find the radius: r = 1.2 ÷ 2 = 0.6 meters
Calculate volume:
Now here's where it gets useful. To convert to liters (which most people actually care about for water):
That tank holds roughly 2,262 liters of water. Now you know whether it's big enough for your needs.
How to use this cylinder volume calculator
It's not complicated:
- Enter the radius of your cylinder. Or enter the diameter — the calculator handles the conversion.
- Enter the height.
- Pick your units. Centimeters, inches, meters, feet, whatever you're working with.
- Hit calculate. Done.
The calculator shows you the result plus the step-by-step work. So you can actually see how it got there. Useful if you need to show your work or just want to understand what's happening.
Units and conversions
Common units you might work with:
- Centimeters (cm) → volume in cm³
- Meters (m) → volume in m³
- Inches (in) → volume in in³
- Feet (ft) → volume in ft³
The calculator handles conversions automatically if you switch units.
Some handy conversions to know:
- 1 m³ = 1,000 liters
- 1,000 cm³ = 1 liter
- 1 ft³ ≈ 28.317 liters
- 1 in³ ≈ 16.387 cm³
Don't memorize these. Just know they exist.
How do you calculate the volume of a cylinder?
Multiply π times the radius squared times the height. That's V = πr²h.
Or just use this calculator and skip the math entirely.
What is the formula for cylinder volume?
Or if you have diameter instead:
Same formula, slightly different input.
How do you find the radius if you know diameter?
Divide diameter by 2.
That's it. If diameter is 10, radius is 5.
Can I calculate cylinder volume without pi?
No. Pi is baked into the formula because cylinders have circular bases. And circle area requires pi. No way around it.
You can approximate with 3.14 if you're doing rough mental math. For accurate results, use 3.14159 or let a calculator handle it with more decimal places.
What's the difference between volume and surface area?
Volume = the space inside. How much stuff fits in there. Measured in cubic units (cm³, m³, in³).
Surface area = the outside covering. How much material covers the exterior. Measured in square units (cm², m², in²).
Different formulas, different purposes. Volume for capacity questions. Surface area for wrapping or coating questions.
How many liters in a cylinder?
Depends on the cylinder's size, obviously.
But here's how to convert:
- Calculate volume in cm³
- Divide by 1,000
- That's your liters
Or:
- Calculate volume in m³
- Multiply by 1,000
- That's your liters
Example: A cylinder with volume of 5,000 cm³ holds 5 liters.