Cylinder Volume Calculator

Cylinder Volume Calculator


r h
V = π · r² · h
R r h
V = π · h · (R² − r²)
Link copied to clipboard!

Instantly calculate the volume of any cylinder. Choose between solid and hollow cylinders, enter your dimensions, and get results in 15+ volume units — from cubic centimeters to gallons.

Cylinder Volume Definition

Cylinder volume is the total amount of space enclosed within a cylinder — a 3D solid with two parallel circular bases connected by a curved surface. Cylinder volume is measured in cubic units such as cubic centimeters (cm³), cubic meters (m³), cubic inches (cu in), or liters (l).

Cylinder Volume Formula

The cylinder volume formula for a right cylinder is:

V = π × × h
π (Pi) = 3.14159… — the ratio of a circle's circumference to its diameter
r = radius of the cylinder — the distance from the center of the circular base to the edge
h = cylinder's height — the perpendicular distance between the two circular bases

The formula works by first calculating the area of the circular base (π × r²), then multiplying the base area by the cylinder's height. The result is the cylinder volume in cubic units.

When using diameter instead of radius, the cylinder volume formula becomes: V = π × (d/2)² × h, or equivalently V = (π × d² × h) / 4, where d is the diameter of the cylinder.

Cylinder Volume Diagram

The cylinder volume diagram below shows all dimensions needed to calculate the volume of a cylinder. Hover over each labeled dimension to see its role in the cylinder volume formula.

r (radius) h (height) d (diameter = 2r)

Hover over a dimension to learn more

How to Calculate Volume of a Cylinder

To calculate the volume of a cylinder, follow these 3 steps:

  1. Measure the radius of the cylinder. Measure the distance from the center of the circular base to its edge. The radius can be in any unit — centimeters (cm), meters (m), inches (in), or feet (ft). Use a ruler or measuring tape for physical cylinders.
  2. Square the radius and multiply the result by Pi (π). This calculates the area of the circular base. For a cylinder with a radius of 5 cm: π × 5² = π × 25 = 78.54 cm².
  3. Multiply the base area by the cylinder's height. The final result is the cylinder volume. For a cylinder with radius 5 cm and height 10 cm: 78.54 × 10 = 785.40 cm³ (0.785 liters or about 0.21 US gallons).

Interactive Step Calculator

cm
cm
r = 5 h = 10
Step 1: r = 5 cm
Step 2: π × 5² = π × 25 = 78.54 cm²
Step 3: 78.54 × 10 = 785.40 cm³

Volume of a Hollow Cylinder

A hollow cylinder, also called a cylindrical shell, is a cylinder with a smaller cylinder removed from its center. Both cylinders share the same vertical axis. Drinking straws, water pipes, and toilet paper rolls are examples of hollow cylinders.

The volume of a hollow cylinder formula is:

V=π×h×(R² − r²)

Where R is the external radius, r is the internal radius, and h is the cylinder's height.

The same formula can use the external diameter (D) and internal diameter (d): V = π × h × [(D² − d²) / 4].

For a toilet paper roll with an external diameter of 11 cm (5.5 cm external radius), an internal diameter of 4 cm (2 cm internal radius), and a height of 9 cm: V = π × 9 × (5.5² − 2²) = π × 9 × (30.25 − 4) = π × 9 × 26.25 = 742.2 cm³. This volume represents the space occupied by the paper and cardboard.

R r h

Adjust the slider to change the internal radius

Volume of an Oblique Cylinder

An oblique cylinder (or slanted cylinder) is a cylinder where the sides are not perpendicular to the bases. The oblique cylinder leans to one side, unlike a standard right cylinder that stands straight.

The cylinder volume formula for an oblique cylinder is the same as for a right cylinder: V = π × r² × h. The key difference is that the height (h) must be the perpendicular height — the shortest distance between the two parallel bases — not the length of the slanted side.

This works because of Cavalieri's principle: two 3D solids with equal cross-sectional areas at every height have the same volume. Tilting a cylinder does not change the area of circular cross-sections at any height.

h (perp.) slant side

Slide to tilt the cylinder and see how perpendicular height stays constant

Volume of a Slanted Cylinder

The volume of a slanted cylinder uses the slant angle and the side length instead of the perpendicular height. This approach is practical when the perpendicular height is difficult to measure directly.

The slanted cylinder volume formula is:

V=π××L×sin(θ)

Where r is the radius of the cylinder, L is the side length (slant length), and θ is the slant angle between the side and the base.

To calculate the volume of a slanted cylinder, follow these 6 steps:

  1. Find the radius, side length, and slant angle of the cylinder.
  2. Square the radius.
  3. Multiply the result by Pi (π).
  4. Take the sin of the angle.
  5. Multiply the sin by the side length.
  6. Multiply the results from steps 3 and 5 together. The result is the slanted cylinder volume.
L (side) θ h = L·sin(θ)
sin(65°) = 0.906 → h = L × 0.906

Volume of an Elliptical Cylinder

An elliptical cylinder has an ellipse as its base instead of a circle. An ellipse has two radii: the major axis (largest radius, often labeled a) and the minor axis (smallest radius, often labeled b).

The elliptical cylinder volume formula is:

V=π×a×b×h

Where a is the major axis (largest radius), b is the minor axis (smallest radius), and h is the cylinder's height.

When a = b, the ellipse becomes a circle and the formula reduces to the standard cylinder volume formula: V = π × r² × h.

a (major) b (minor)

Volume of an Oval Cylinder

An oval cylinder has an oval (ellipse) as its base rather than a circle. The terms "oval cylinder" and "elliptical cylinder" describe the same 3D solid — a cylinder with an elliptical cross-section.

To find the volume of an oval cylinder, follow these 4 steps:

  1. Multiply the smallest radius of the oval (minor axis) by the largest radius (major axis).
  2. Multiply the product by Pi (π). This gives the area of the elliptical base.
  3. Multiply the base area by the cylinder's height.
  4. The result is the volume of the oval cylinder.

For an oval cylinder with a major axis of 8 cm, a minor axis of 5 cm, and a height of 12 cm: V = π × 8 × 5 × 12 = π × 480 = 1,507.96 cm³ (1.508 liters or about 0.398 US gallons).

a b h
V = π × a × b × h

Volume of a Right Cylinder

A right cylinder is a cylinder where the sides are perpendicular (at a 90° angle) to the circular bases. The term "right" means the axis connecting the centers of the two bases is at a right angle to the bases. Most cylinders encountered in everyday life — cans, bottles, pipes — are right cylinders.

The volume of a right cylinder uses the standard cylinder volume formula: V = π × r² × h, where r is the radius of the cylinder and h is the cylinder's height.

The difference between a right cylinder and an oblique cylinder is the orientation of the axis. A right cylinder stands straight, while an oblique cylinder tilts. Both have the same volume when the perpendicular height and radius are equal.

Right (90°)
Oblique (tilted)
Both: 785.40 cm³ — equal volume when r and h (perpendicular) match

Cylinder vs Sphere Volume

A sphere inscribed inside a cylinder (touching both bases and the side) has a specific volume relationship to that cylinder. The sphere volume equals two-thirds (⅔) of the cylinder volume.

The formulas are:

  • Cylinder volume = π × r² × h = π × r² × 2r = 2πr³
  • Sphere volume = (4/3) × π × r³ = (4/3)πr³
  • Ratio: Sphere / Cylinder = (4/3)πr³ / 2πr³ = 2/3

For a cylinder with radius 5 cm and height 10 cm (2r): cylinder volume = 2π × 125 = 785.40 cm³. The inscribed sphere volume = (4/3) × π × 125 = 523.60 cm³, which is exactly ⅔ of 785.40.

Cylinder: 2πr³
vs
r Sphere: ⅔ × 2πr³
Cylinder: 785.40 cm³  |  Sphere: 523.60 cm³  |  Ratio:

Volume: Cylinder vs Cone

A cone with the same radius and height as a cylinder has exactly one-third (⅓) the volume. This relationship is a fundamental property of 3D solids.

The formulas show the relationship:

  • Cylinder volume = π × r² × h
  • Cone volume = (1/3) × π × r² × h
  • Ratio: Cone / Cylinder = 1/3

3 cones with identical radius and height fill exactly 1 cylinder. This can be demonstrated by filling a cone with water three times and pouring the water into a cylinder of the same dimensions — the cylinder fills completely.

Cylinder: πr²h
= 3×
Cone: ⅓πr²h
Cylinder: 785.40 cm³  |  Cone: 261.80 cm³  |  Ratio:

Calculator Tools

Explore our 39 specialized cylinder calculators — each tailored for a specific calculation need.

FAQs

Where can you find cylinders in nature?
Cylinders appear throughout nature. Tree trunks and plant stems grow in approximately cylindrical shapes. Bones in the human body — such as the femur — have cylindrical segments. The flagella of microscopic organisms are cylindrical. Pringles cans, drinking straws, and water pipes are man-made cylindrical objects found in everyday life on Earth.
How do I draw a cylinder?
To draw a cylinder, follow these 4 steps: (1) Draw a slightly flattened circle (ellipse) for the top face. The more flattened the ellipse, the more "side-on" the viewing angle. (2) Draw two equal, parallel vertical lines from the far sides of the ellipse going downward. (3) Connect the ends of the two lines with a semi-circular curve matching the bottom half of the top ellipse. (4) Add shading to the curved surface to create the appearance of a 3D solid.
How do you calculate the weight of a cylinder?
To calculate the weight of a cylinder: (1) Square the radius of the cylinder. (2) Multiply the squared radius by Pi (π) and the cylinder's height to get the cylinder volume. (3) Multiply the cylinder volume by the density of the material. The result is the cylinder's weight. For example, a steel cylinder (density: 7,850 kg/m³) with radius 0.1 m and height 0.5 m: V = π × 0.01 × 0.5 = 0.01571 m³. Weight = 0.01571 × 7,850 = 123.3 kg (271.8 pounds).
How do you calculate the surface area to volume ratio of a cylinder?
To calculate the surface area to volume ratio of a cylinder: (1) Find the cylinder volume using the formula πr²h. (2) Find the surface area using the formula 2πrh + 2πr². (3) Create a ratio: πr²h : (2πrh + 2πr²). (4) Simplify the ratio to rh : 2(h + r). (5) Divide both sides by one term to get the ratio in simplest form.
How do you find the height of a cylinder?
Find the height of a cylinder from the volume and radius: (1) Confirm the volume and radius use compatible units (e.g., cm³ and cm). (2) Square the radius. (3) Divide the volume by the squared radius and Pi (π). The result is the cylinder's height: h = V / (π × r²). For a cylinder with volume 500 cm³ and radius 4 cm: h = 500 / (π × 16) = 500 / 50.27 = 9.95 cm.
How do I find the radius of a cylinder?
Find the radius of a cylinder from the volume and height: (1) Confirm the volume and height use compatible units (e.g., cm³ and cm). (2) Divide the volume by Pi (π) and the height. (3) Take the square root of the result. The formula is: r = √(V / (π × h)). For a cylinder with volume 1,000 cm³ and height 12 cm: r = √(1000 / (π × 12)) = √(26.53) = 5.15 cm.
How to find the volume of a cylinder?
To find the volume of a cylinder: (1) Measure the radius of the cylinder (distance from center to edge of the circular base). (2) Square the radius and multiply by Pi (π) to get the base area. (3) Multiply the base area by the cylinder's height. The formula is V = π × r² × h. Use our cylinder volume calculator at the top of this page for instant results with automatic unit conversion.
How do you calculate the swept volume of a cylinder?
To compute the swept volume of a cylinder (commonly used in engine displacement calculations): (1) Divide the bore diameter by 2 to get the bore radius. (2) Square the bore radius. (3) Multiply the squared radius by Pi (π). (4) Multiply the result by the stroke length (distance the piston travels). The swept volume formula is: V = π × (bore/2)² × stroke. Confirm the bore and stroke use the same units.
How much volume does a cylinder have?
The volume of a cylinder depends on its radius and height. A cylinder with radius 1 cm and height 1 cm has a volume of 3.14 cm³. A cylinder with radius 5 cm and height 10 cm has a volume of 785.40 cm³ (0.785 liters). A cylinder with radius 10 cm and height 20 cm has a volume of 6,283.19 cm³ (6.283 liters or about 1.66 US gallons). Use the cylinder volume calculator above to calculate the volume for any radius and height.
How much volume can a cylinder hold?
The volume a cylinder can hold equals its internal volume: V = π × r² × h, where r is the internal radius and h is the internal height. A standard coffee mug (radius 4 cm, height 9.5 cm) holds about 478 cm³ or 0.478 liters (16.2 US fluid ounces). A 2-liter soda bottle is approximately cylindrical with radius 5.2 cm and height 23.5 cm, holding about 2,000 cm³ (2 liters or 0.528 US gallons).
How do you calculate cylinder volume in litres?
To calculate cylinder volume in litres: (1) Calculate the cylinder volume using V = π × r² × h with measurements in centimeters. The result is in cubic centimeters (cm³). (2) Divide the result by 1,000 to convert cm³ to litres (1 litre = 1,000 cm³). For a cylinder with radius 7 cm and height 15 cm: V = π × 49 × 15 = 2,309.07 cm³ = 2.309 litres. One litre equals 1 cubic decimetre (dm³) or 0.264 US gallons.
How do you express cylinder volume in cubic inches?
To express cylinder volume in cubic inches: (1) Measure the radius and height in inches. (2) Apply the formula V = π × r² × h. The result is in cubic inches (cu in). To convert from cm³ to cubic inches, divide by 16.387 (1 cubic inch = 16.387 cm³). To convert from litres to cubic inches, multiply by 61.024 (1 litre = 61.024 cubic inches).
Why is the volume of a cone one-third of a cylinder?
The volume of a cone is one-third of a cylinder with the same radius and height because of how the cone's cross-sectional area decreases from base to apex. At height y from the base, the cone's cross-sectional radius is r × (h − y)/h, giving an area of π × r² × ((h − y)/h)². Integrating this area from 0 to h yields (1/3) × π × r² × h — exactly one-third of the cylinder volume πr²h. This can be physically demonstrated by filling a cone with water 3 times and pouring the water into a cylinder of the same dimensions.
Why is the volume of a cylinder πr²h?
The volume of a cylinder equals πr²h because of 2 geometric facts: (1) The area of a circle is πr². (2) A cylinder is formed by stacking identical circles (cross-sections) along a height h. The volume of any prism-like shape equals the base area multiplied by the height. Since the cylinder's base is a circle with area πr², and the cylinder's height is h, the total volume is πr² × h. This principle applies to all right and oblique cylinders with circular cross-sections.