CompoundPage

Volume of a cylinder calculator

The volume of a cylinder with a radius of 3 cm and a height of 10 cm is 90π cm³, about 282.74 cm³, just over a quarter of a liter.

Radius for a cylinder, sphere, hemisphere, cone or capsule. Side of a cube. Length of a box or pyramid base. Triangle base of a triangular prism. Bottom radius of a frustum. First semi-axis of an ellipsoid. Outside diameter of a pipe.

Width of a box or pyramid base. Triangle height of a triangular prism. Top radius of a frustum. Second semi-axis of an ellipsoid. Inside diameter of a pipe. Not used by the other shapes.

Height of a box, cylinder, cone, pyramid or frustum. Length of a triangular prism or a pipe. Straight length between the two domes of a capsule. Third semi-axis of an ellipsoid. Not used by a cube, sphere or hemisphere.

Volume282.7433 cm³

Volume The exact answer is the form before the ≈ sign. Keep it that way until the last step if more arithmetic follows.
90π ≈ 282.7433 cm³
Formula A prism with a circular base: base area πr² times height. Any solid with a constant cross-section works the same way.
V = πr²h = π × 3² × 10 = 90π ≈ 282.7433
Measurements used
r = 3 cm, h = 10 cm
Total surface area A = 2πr² + 2πrh = 2π × 3 × (3 + 10).
78π ≈ 245.0442 cm²
Lateral area (the curved side) Unroll the side and it is a rectangle: the circumference 2πr by the height h.
188.4956 cm²
In liters 1 liter is 1,000 cubic centimeters, the volume of a 10 cm cube.
0.2827433 L
In US gallons A US gallon is defined as exactly 231 cubic inches, 3.785411784 liters. An imperial gallon is about 20% larger.
0.07469289 gal
In other cubic units Cubic conversions cube the length factor: a yard is 3 feet, so a cubic yard is 27 cubic feet.
0.0002827433 m³ = 0.009984987 ft³ = 0.0003698143 yd³
Scale every length and see what happens
Every length timesVolumeSurface area
0.535.34292 cm³ (×0.125)61.26106 cm² (×0.25)
1282.7433 cm³ (×1)245.0442 cm² (×1)
22,261.947 cm³ (×8)980.1769 cm² (×4)
37,634.07 cm³ (×27)2,205.398 cm² (×9)
10282,743.3 cm³ (×1,000)24,504.42 cm² (×100)
  • Volume scales with the cube of length and surface area with the square. Double every measurement and the volume goes up 8 times while the surface only goes up 4. That is why large animals keep heat better and why small ice cubes melt faster.

How the Volume Calculator works

The volume of a cylinder is V = πr²h: the area of the circular end, πr², times the height. A cylinder is a prism with a round cross-section, and every prism has the same rule: the area of the slice times how many slices are stacked. For a radius of 3 cm and a height of 10 cm, the end has an area of π × 3² = 9π cm², and ten centimeters of those stacked up is 90π cm³, about 282.743 cm³.

The answer is in cubic units because it multiplies three lengths: r, r and h. Centimeters in give cubic centimeters out, and a cubic centimeter is a milliliter, so this cylinder holds about 282.7 mL, or 0.2827 liters. In US units, a cubic foot is 1,728 cubic inches and a US gallon is exactly 231, so a cubic foot holds about 7.48 gallons. A round tank 2 feet in radius and 5 feet tall holds 20π, about 62.83 cubic feet, which is about 470 gallons.

The mistake that matters is the diameter. Most real cylinders are measured across, and the formula wants half of that. Put the 6 cm diameter in as the radius and the answer is 360π, about 1,131 cm³. That is four times too big, because the radius is squared. If you only have the diameter, either halve it first or use V = πd²h / 4. The second slip is mixing units: a radius in inches and a height in feet give a number that is neither, so convert both to one unit before multiplying.

The formula does not care whether the cylinder leans. An oblique cylinder, like a stack of coins pushed sideways, has the same volume as the upright one with the same radius and vertical height, because every slice still has area πr². Measure the height straight up, not along the slanted side.

A hollow cylinder, such as a pipe or a tube, is the outer cylinder minus the inner one: V = π(R² - r²)h. A pipe 10 cm long with an outer radius of 3 cm and an inner radius of 2 cm contains π(9 - 4) × 10 = 50π, about 157.08 cm³ of material. For the water inside it, use the inner radius alone.

The cylinder is also the yardstick for the round solids next to it. A cone with the same base and height is exactly a third of it, 30π here. A sphere that fits snugly inside a cylinder (radius r, height 2r) is exactly two-thirds of that cylinder, which is how Archimedes found the sphere's formula. For paint, label or sheet-metal questions you want the surface area instead, which this calculator shows under the volume: 2πr² for the two ends plus 2πrh for the side.

Volume Calculator FAQ

What is the formula for the volume of a cylinder?

V = πr²h, where r is the radius of the circular end and h is the height. A cylinder with radius 3 cm and height 10 cm holds 90π, about 282.74 cubic centimeters.

How do I find the volume of a cylinder from the diameter?

Halve the diameter to get the radius, or use V = πd²h / 4. Using the diameter as if it were the radius makes the answer four times too big.

How many liters or gallons does a cylinder hold?

Work out the volume in cubic centimeters and divide by 1,000 for liters, or in cubic inches and divide by 231 for US gallons. A cubic foot holds about 7.48 US gallons.

How do I find the height of a cylinder from its volume?

Rearrange the formula: h = V / (πr²). A cylinder of radius 3 holding 90π has a height of 90π / 9π = 10.

More from the Volume Calculator

Related calculators

Embed this calculator
<div id="compoundpage-volume-calculator"></div>
<script src="https://compoundpage.com/embed/volume-calculator.js" async></script>

The same calculation as JSON