Volume equals cross-sectional area multiplied by height when the shape has the same cross-section all the way through. This calculator finds the volume of a cylinder from its base radius and height, returning cubic units and liters.
Formula
For a cylinder, volume is the area of its circular base multiplied by its height:
V = A × h = πr²h
- V is cylinder volume, in cubic units. This calculator reports cubic centimeters (cm³).
- A is the circular base area, in square units: A = πr².
- r is the base radius, in centimeters (cm).
- h is the perpendicular distance between the bases, in centimeters (cm).
- π is pi, approximately 3.14159265.
Because the inputs are in centimeters, the result is in cm³. One liter is exactly 1,000 cm³, so the second result converts the volume to liters by dividing by 1,000. The calculator rounds the displayed cylinder volume to two decimal places and liters to three; calculations use the unrounded value.
Worked Example
Using the calculator’s default radius of 5 cm and height of 10 cm:
- Find the base area: A = π × (5 cm)² = 78.53981634 cm².
- Multiply by the height: V = 78.53981634 cm² × 10 cm = 785.3981634 cm³.
- Round the displayed cylinder volume: 785.40 cm³.
- Convert to liters: 785.3981634 cm³ ÷ 1,000 = 0.7853981634 L, or 0.785 L as displayed.
Assumptions
- The object is a right circular cylinder with a constant circular cross-section.
- The entered height is measured perpendicular to the circular bases.
- The result is the cylinder’s geometric capacity; it does not account for wall thickness, internal fittings, or material that occupies space.
Why Area Times Height Works
Area measures how much flat surface the base covers. Extending that same area through a perpendicular distance creates a three-dimensional volume. A prism works the same way: its volume is the area of its cross-section times its length. Cylinders follow this rule because every cross-section parallel to the circular bases has the same area.
The general relationship is therefore V = A × h for a prism or cylinder with a uniform cross-section. For a cylinder, the base is a circle, whose area is πr², producing V = πr²h. The formula does not apply unchanged to shapes whose cross-section varies with height, such as cones or spheres.
Radius, Diameter, and Units
A frequent source of error is entering the diameter where the formula needs the radius. The radius is the distance from the circle’s center to its edge; the diameter crosses the circle through its center and equals twice the radius. If you know the diameter, divide it by 2 before using the formula.
- If a cylinder has a diameter of 10 cm, its radius is 5 cm.
- If its height is 10 cm, its volume is π × 5² × 10 = 785.40 cm³.
- Using 10 as the radius instead would give four times the correct volume, because squaring the radius squares that mistake.
Keep length units consistent. A radius in centimeters and height in meters cannot be multiplied directly without converting one measurement. For example, 1 m = 100 cm. Volume units are cubic: cm × cm × cm gives cm³. A cubic centimeter is also called a milliliter, so 785.40 cm³ is 785.40 mL, or about 0.785 L.
Using the Result for Real Objects
The calculated value is the volume of an ideal cylinder with the supplied dimensions. It is useful for comparing dimensions, estimating a container’s geometric capacity, or checking a textbook problem. For a real container, measurements should describe the inside dimensions if the goal is usable capacity. Measuring the outside radius and height includes the space taken up by the walls and may overstate how much the container holds.
Even an accurate geometric capacity does not guarantee that a container can safely or practically be filled to its rim. Leave appropriate headspace where needed, and account for rounded ends, a tapered body, seams, or internal components by measuring or calculating those features separately. This calculator treats the object as a perfect, straight-sided cylinder.
Common Mistakes and Limits
- Using diameter as radius: halve the diameter first. Since the radius is squared, this error changes the result substantially.
- Using slanted length as height: h is the perpendicular distance between the bases, not a diagonal measurement along a tilted side.
- Mixing units: convert all lengths to the same unit before calculating, then label the answer in cubic units.
- Confusing capacity with contents: the result is a geometric volume, not the mass or weight of whatever is inside. Those require density or other information.
- Overinterpreting precision: displayed decimal places do not make rough measurements exact. The result’s meaningful precision depends on the accuracy of the radius and height.
For a hollow cylinder’s material volume, subtract the inner-cylinder volume from the outer-cylinder volume, provided both share the same axis and height. For a cylinder with a conical top or rounded ends, calculate the component shapes separately and combine their volumes rather than treating the whole object as a cylinder.
Frequently Asked Questions
Is volume always area times height?
It is for shapes with a constant cross-sectional area along the height, such as prisms and cylinders. For a cone or other shape whose cross-section changes, a different formula or a sum of sections is needed.
How do I calculate cylinder volume from diameter?
Divide the diameter by 2 to get the radius, then calculate V = πr²h. Use the perpendicular height and keep all lengths in the same unit.
Is a cubic centimeter the same as a milliliter?
Yes. One cubic centimeter equals one milliliter; 1,000 cm³ equals 1 liter.
Does this give the amount a container can hold?
It gives the ideal cylinder’s geometric volume. For usable capacity, use internal dimensions and account for any features or space that cannot be filled.
Why does doubling the radius quadruple the volume?
The base area contains the squared radius, πr². Doubling r multiplies that area by 2², or 4, so the volume also becomes four times as large if height stays unchanged.
Related
Formula used
in r | Base radius | cm | 5 | 0 in h | Cylinder height | cm | 10 | 0 out v | Cylinder volume | cm^3 | pi * r ^ 2 * h | 2 out l | Cylinder volume | L | v / 1000 | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Liters to Cubic Meters: Conversion and Examples0.001000 m³
- Normal Cubic Meter to Liters Calculator1,000.00 L
- Qt to Liters Conversion: US and Imperial Quarts0.946353 L
- Meters to Liters Formula: Convert Length to Volume?1,000.000 L
- Meters to Litres: Why Length Alone Is Not Enough1,000.00 L
- Cubic Meters per Hour to Liters per Second0.2778 L/s