How to calculate cylinder volume in liters
Use radius, height and π to estimate cylindrical tanks and containers.
What the calculation represents
Round drums and vertical tanks use the inside radius and liquid height. Keeping inch measurements is fine when the final cubic-inch value is converted rather than treated as liters.
- Reference formula
V = π × r² × h- Unit reference
- 1 L = 1,000 cm³ · 1 m³ = 1,000 L · 1 US gal = 231 in³ = 3.785411784 L
A practical workflow
- Measure the maximum and minimum inside diameters on perpendicular axes. If they are nearly equal, halve their average; if not, model the cross-section as an ellipse using π × (d₁/2) × (d₂/2).
- Measure vertical liquid height from the usable bottom to the operating fill line, excluding a neck or lid space.
- Square the radius and multiply by π and height while retaining full calculator precision.
- Convert cubic inches using 231 in³ per US gallon, or convert the metric result to liters. Account separately for domed ends and fittings that are not already included. Height measured to the operating fill line already excludes headspace; do not subtract it again.
Worked example
An 18-inch inside diameter and a 30-inch fill height give a 9-inch radius. The resulting 7,634 in³ is approximately 125.1 liters.
Cylinder height for a target volume
Choose the target volume unit and the unit for inside dimensions. The required height is also shown in your selected dimension unit.
Reading the answer correctly
A domed base, rounded shoulders or a fill line below the lid means the usable capacity is lower than a perfect cylinder.
Radius is squared, so diameter error has twice the approximate percentage effect on cross-sectional area. A careful diameter measurement usually improves the answer more than extra decimal places.
Cylinder examples using inside measurements
These examples use the inside diameter and fill height of an upright cylinder, measured in centimeters. Account for domed ends and internal fittings separately. Measuring to the fill line already excludes headspace; subtract it separately only if the height used reaches the inside rim.
Swipe horizontally to see every column
| Inside diameter | Fill height | Volume |
|---|---|---|
| 20 cm | 30 cm | 9.42 L |
| 40 cm | 50 cm | 62.83 L |
| 60 cm | 90 cm | 254.47 L |
| 100 cm | 100 cm | 785.40 L |
Checks before relying on the number
- The value squared in the formula is radius rather than the full diameter.
- Diameter and fill height are inside measurements expressed in a consistent unit.
- The formula describes an upright cylinder; a partly filled horizontal tank needs circular-segment geometry.
- An oval section retains both diameters instead of forcing one circular radius; domed ends and baffles are handled separately.
Practical questions
Should I enter the diameter or the radius?
The formula squares the radius. The calculator lets you choose radius or diameter. With diameter selected, enter the measured inside diameter directly; do not halve it first.
Does this formula work for a horizontal cylindrical tank?
It gives the total capacity when the cylinder is completely full. At partial fill, liquid height is not proportional to volume; use a circular-segment calculation or a tank calibration chart.
Sources and references
These references support the units, method, or limitations explained in this guide.
- NIST — SI Units: Volume
Definitions and exact relationships between liters and cubic units.
- OpenStax — Prealgebra 2e, §9.6
Ideal rectangular-solid, cylinder, sphere and cone formulas; not a certification of product capacity.
Keep the measured diameter, derived radius and liquid height together, then label the final figure as gross or working capacity.
See how formulas, examples, and updates are reviewed.