Cylinder Volume Calculator
Works out the volume of a cylinder from its radius or diameter and height, and the volume of material in a hollow cylinder such as a pipe or tube from its outer and inner diameters. Use it for a water tank, a can, a round column or a post hole. The volume is given in your cubic unit and also in litres, US gallons, cubic metres and cubic feet, with the surface areas of a solid cylinder alongside.
- The ends are circles of equal size and parallel to each other.
- For a hollow cylinder the hole runs the full height and is centred.
Formula
V = π r² h = π d² h ÷ 4; hollow: V = π (D² − d²) h ÷ 4
- A cylinder is a circle (area πr²) extruded through the height h, so its volume is base area × height.
- For a hollow cylinder, subtract the volume of the hole from the volume of the outer cylinder: π(R² − r²)h, or π(D² − d²)h ÷ 4 with diameters.
- The same formula holds for an oblique cylinder if h is the perpendicular height between the two ends.
- 1 m³ = 1,000 L; 1 US gallon = 3.785411784 L and 1 ft³ = 0.028316846592 m³ exactly.
- Results of 1 or more are rounded to 4 decimal places, smaller ones to 6 significant figures; results of 10¹⁵ or more, or below 10⁻⁶, use scientific notation.
A cylinder 10 cm tall with a 5 cm radius
Inputs
- Cylinder type: solid
- Length unit: cm
- Measure across with the: r
- Radius or diameter: 5
- Height (h): 10
V = π × 5² × 10 = 250π = 785.3982 cm³, which is 0.7854 L. The total surface area is 2π × 25 + 2π × 5 × 10 = 471.2389 cm².
Sources & references
Frequently asked questions
How do I calculate the volume of a cylinder?
Square the radius, multiply by π and then by the height: V = πr²h. A tank 1.2 m across and 1.5 m tall holds π × 0.6² × 1.5 = 1.696 m³, or 1,696 L.
How do I use the diameter instead of the radius?
Halve the diameter first, or use V = πd²h ÷ 4. A can 7.5 cm across and 11 cm tall holds π × 7.5² × 11 ÷ 4 = 486 cm³.
How do I find the volume of a pipe or tube?
Subtract the hole from the whole: V = π(D² − d²)h ÷ 4. A pipe 10 cm outside, 8 cm inside and 10 cm long has π × 36 × 10 ÷ 4 = 282.74 cm³ of material.
How many litres does a cylinder hold?
Work out the volume in cubic centimetres and divide by 1,000 (1 L = 1,000 cm³), or in cubic metres and multiply by 1,000.
Does the formula work for a slanted cylinder?
Yes, as long as h is the perpendicular height between the ends, not the length of the slanted side (Cavalieri's principle).
Related calculators
Cone Volume Calculator Calculates the volume of a cone from its base radius and height, and the volume of a truncated cone (frustum) from its base radius, top radius and height. Use it for an ice-cream cone, a funnel, a heap of sand or gravel, a lampshade or a flower pot. For a right cone you also get the slant height and the surface areas, and every volume is converted to litres, US gallons, cubic metres and cubic feet. Cube Volume Calculator Finds the volume of a cube from its side length, and also works from the surface area, the face diagonal, the space diagonal or the volume itself, so you can get the side of a cube that holds a given amount. Every measurement of the cube is shown together, with the volume converted to litres, US gallons, cubic metres and cubic feet: useful for boxes, storage bins, dice, ice cubes or concrete blocks. Area of a Circle Calculator Finds the area of a circle from its radius, diameter or circumference, and works backwards from a known area to the radius. All four measurements are shown together, so you can use it for a round table top, a pizza, a garden bed, a pipe cross-section or a circular room. Pick the length unit and the area comes out in the matching square unit, also converted to square metres and square feet. Liters to Gallons Converter Converts litres to gallons and gallons to litres, and keeps the three different gallons apart: the US liquid gallon (3.785 L) used at American fuel pumps and in recipes, the larger imperial gallon (4.546 L) used in the UK, and the US dry gallon. Kitchen and lab units such as millilitres, cups, pints, quarts, fluid ounces, cubic inches and cubic feet are included, and every result is also shown in litres, US and imperial gallons, quarts, cups and fluid ounces.