Article
Volume of a Cylinder: Formula, Examples and Liters
The volume of a cylinder is the area of the circular base multiplied by the height, that is, V = π · r² · h. This article gives you the formula, shows how to work from the radius or the diameter, explains the conversion to liters and walks through four worked examples. You can test your own dimensions in the cylinder volume calculator.
Last updated:
For related tasks see the lateral area of a cylinder, the volume of a cone and the cylinder volume from circumference.
The formula for the volume of a cylinder
A cylinder has two parallel circular bases and a height measured between them. You find the volume by multiplying the base area πr² by the height h. The radius r is half the diameter d, so r = d ÷ 2.
V = π · r² · h
r = d ÷ 2
example: r = 5, h = 10 → V = 250π ≈ 785.40
| Radius r | Height h | Base area πr² | Volume V |
|---|---|---|---|
| 1 | 1 | 3.14 | 3.14 |
| 2 | 10 | 12.57 | 125.66 |
| 3 | 8 | 28.27 | 226.19 |
| 5 | 10 | 78.54 | 785.40 |
| 7 | 4 | 153.94 | 615.75 |
| 6 | 12 | 113.10 | 1357.17 |
The radius and the height must use the same unit. The result is in cubic units of that unit, for example cm³ or m³.
Try it with an example
Example: a cylinder with radius 4 and height 9. Both values are already stored in the link to the calculator.
- Radius r
- 4
- Height h
- 9
- Result
- V = 144π ≈ 452.39
Open the calculator with these numbers
The calculator reads the values from the page address and shows the result right away. You can change them freely.
How the calculator works
The calculator computes V = π · r² · h from the radius r and the height h, which must be greater than zero, and shows r² and the base area π · r². The required input is the radius, not the diameter, so halve the diameter first. The unit switch in the header changes only the labels, not the numbers, and the calculator does not convert the result to liters or gallons. You can do the conversion yourself: 1000 cm³ is 1 liter.
How to calculate the volume of a cylinder step by step
First find the radius. If you know the diameter, divide it by 2. Then square the radius and multiply by π to get the base area. Finally, multiply the base area by the height of the cylinder.
For r = 3 and h = 8 the base area is 9π ≈ 28.27 and the volume is 226.19. In the calculator you enter the radius and the height, and the result appears immediately. The area of the base alone is described in the article Area of a circle.
If you know the circumference of the base instead of the radius, use the cylinder volume from circumference calculator.
Converting the volume of a cylinder to liters
One liter is one cubic decimeter, and one milliliter is one cubic centimeter. The simplest approach is to enter the radius and the height in decimeters, because a result in dm³ is directly a result in liters. One cubic meter is 1,000 liters.
A barrel with a diameter of 60 cm and a height of 90 cm has a radius of 3 dm and a height of 9 dm. The volume is π · 3² · 9 = 81π ≈ 254.47 dm³, which is about 254.47 liters.
| Volume unit | Equals |
|---|---|
| 1 cm³ | 1 mL |
| 1 dm³ | 1 L |
| 1 m³ | 1,000 L |
Tank capacity in liters, US gallons and cubic feet
The capacity of a cylindrical tank is its volume expressed in capacity units. Calculate V = π · r² · h in one unit, then convert: 1 liter is 1000 cm³, 1 US gallon is 231 cubic inches (about 3.7854 liters) and 1 cubic foot is about 28.3168 liters.
| Container | Volume in liters | US gallons | Cubic feet |
|---|---|---|---|
| Tank, diameter 2 ft and height 3 ft | 266.88 L | 70.50 US gal | 9.425 ft³ |
| Barrel, diameter 60 cm and height 90 cm | 254.47 L | 67.22 US gal | 8.986 ft³ |
| Cylinder, radius 6 cm and height 12 cm | 1.36 L | 0.36 US gal | 0.048 ft³ |
Write all dimensions in the same unit before you calculate, and halve the diameter to get the radius. The result describes a full container; for a partly filled one, use the height of the liquid as h.
Cylinder, cone and other solids
A cone with the same radius and height has a volume equal to one third of the cylinder’s. For r = 3 and h = 8 the cone has 75.40 and the cylinder 226.19. You can compute the cone in the cone volume calculator and the sphere in the sphere volume calculator.
The lateral surface of a cylinder is given by 2πrh, which the lateral area of a cylinder calculator handles. The total surface area is 2πr² + 2πrh.
For a pipe, which is a hollow cylinder, the volume of material is the difference between two cylinders: V = π · h · (R² − r²), where R is the outer radius and r is the inner radius.
Hollow cylinder: pipe and sleeve
The volume of material in a pipe or sleeve is the difference between two cylinders: the outer one with radius R and the inner one with radius r. The formula is V = π · h · (R² − r²). For R = 5, r = 4 and h = 10 you get V = π · 10 · (25 − 16) = 90π ≈ 282.74.
To find the capacity of the inside of a pipe, that is, how much fluid it holds, use only the inner radius r and V = π · r² · h.
Surface area of a cylinder: lateral and total
The lateral surface of a cylinder is a rectangle whose sides equal the circumference of the base and the height: A_lateral = 2π · r · h. The total surface adds the two bases: A = 2π · r · (r + h). For r = 5 and h = 10 the lateral area is 314.16, the two bases together are 157.08, and the total area is 471.24.
The calculator on this page computes volume and does not return surface area, so apply the area formulas yourself.
Where the volume of a cylinder is useful
Tanks, barrels and pipes. Capacity in liters tells you how much water, fuel or another liquid a container can hold.
Concrete columns and pier footings. A column with a radius of 0.15 m and a height of 3 m has a volume of about 0.21 m³. An order with an allowance can be calculated in the concrete calculator, which supports round columns.
Kitchen and preserving. A pot or a jar is close to a cylinder, so the formula lets you check how much it holds.
Four worked examples
You can check each example in the cylinder volume calculator.
1. Radius 5 cm and height 10 cm
A classic textbook problem.
- Enter r = 5 and h = 10.
- The base area is π · 5² = 25π.
- Multiply by the height: 25π · 10 = 250π.
- The volume is about 785.40 cm³.
2. A barrel with a diameter of 60 cm and a height of 90 cm
Capacity in liters.
- Convert to decimeters: diameter 6 dm, radius 3 dm, height 9 dm.
- Compute π · 3² · 9 = 81π.
- A result in dm³ is a result in liters.
- The capacity is about 254.47 L.
3. A concrete column with a radius of 15 cm and a height of 3 m
Ordering concrete.
- Convert the radius to meters: 0.15 m.
- Compute π · 0.15² · 3 = π · 0.0225 · 3.
- The volume is about 0.2121 m³.
- With a 5% allowance you order about 0.223 m³.
4. A cylinder and a cone with r = 3 and h = 8
Comparing two solids.
- Enter r = 3 and h = 8.
- The cylinder volume is π · 9 · 8 = 72π ≈ 226.19.
- The cone has one third of that value.
- The cone volume is about 75.40.
Common mistakes when calculating the volume of a cylinder
- Using the diameter instead of the radius — the diameter must be divided by 2. Substituting the diameter gives a result four times too large.
- Forgetting to square the radius — the formula contains r², not r.
- Mixing units — a radius in centimeters and a height in meters give a wrong result. Convert both to one unit.
- Confusing volume with surface area — volume is expressed in cubic units and area in square units.
- Not converting to liters — 1 m³ is 1,000 liters, and 1 dm³ is one liter.
- Using the cylinder formula for a cone — a cone has only one third of the volume of a cylinder with the same dimensions.
- Rounding π too early — round only the final result.
Frequently asked questions
What is the formula for the volume of a cylinder?
The volume is V = π · r² · h, where r is the base radius and h is the height.
How do you find the volume of a cylinder from the diameter?
Divide the diameter by 2 to get the radius, then use V = π · r² · h. For a diameter of 6 and a height of 8 the radius is 3 and the volume is about 226.19.
How do you convert the volume of a cylinder to liters?
Enter the dimensions in decimeters, because 1 dm³ is 1 liter. You can also convert the result: 1 m³ is 1,000 liters, and 1 cm³ is 1 milliliter.
What is the volume of a cylinder with a radius of 6 cm and a height of 12 cm?
Substitute into V = π · r² · h: V = π · 36 · 12 = 432π ≈ 1357.17 cm³. That is about 1.36 liters.
How do you find the height of a cylinder from its volume?
Rearrange the formula: h = V ÷ (π · r²).
How do you find the volume of a cone with the same dimensions?
A cone has one third of the volume of a cylinder with the same radius and height.
What is the formula for the surface area of a cylinder?
The lateral area is 2πrh and the total area is 2πr² + 2πrh. These are separate calculations and not the volume.
How do you find the volume of a pipe?
Compute the volume of the outer cylinder and subtract the volume of the inner one: V = π · h · (R² − r²).
Calculate the volume of your own cylinder
Enter the radius and the height in the cylinder volume calculator to read the result at once. If you know the circumference of the base, use the circumference version.
For related solids continue with the cone volume, the sphere volume and the lateral area of a cylinder.