Cylinder Volume Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Calculate the volume of a cylinder, such as a tank, pipe, can or post hole, from its radius and height.
Result
Volume πr²h (cubic units)
Area of one base πr² (square units)
- Lateral area 2πrh (square units)
- Total surface area 2πr(r + h) (square units)
- Longest straight line inside √((2r)² + h²)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Radius r (any unit): enter 0 or more.
- Height h (same unit): enter 0 or more.
- Read the result: Volume πr²h (cubic units); the panel also shows Area of one base πr² (square units), Lateral area 2πrh (square units), Total surface area 2πr(r + h) (square units) and Longest straight line inside √((2r)² + h²).
How this calculator works
Volume = π × radius² × height. If you measured the diameter, halve it first. The result is in cubic units of what you entered: inches give cubic inches.
For gallons, divide cubic inches by 231 or multiply cubic feet by about 7.48; the volume calculator converts to liters and gallons directly.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Radius r | any unit | |
| Height h | same unit | |
| Volume πr²h | cubic units |
Worked example
| Radius r (any unit) | 3 |
|---|---|
| Height h (same unit) | 5 |
| Area of one base πr² (square units) | 28.2743 |
|---|---|
| Lateral area 2πrh (square units) | 94.2478 |
| Total surface area 2πr(r + h) (square units) | 150.7964 |
| Longest straight line inside √((2r)² + h²) | 7.8102 |
Volume πr²h (cubic units) 141.3717
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the volume of a cylinder with radius 2 and height 10?
40π ≈ 125.6637 cubic units.
Do I use the radius or the diameter?
The formula uses the radius, half the diameter.