Formula guide

Cylinder Volume Formula

One main formula, and a short table of variants for every cylinder shape you will actually meet.

Home / Cylinder Volume Formula

Quick answer: V = π r² h. Square the radius, multiply by pi, then multiply by the height. The radius is half the diameter, and all measurements must be in the same unit.

Why the formula works

Think of a cylinder as a stack of identical round slices. One slice is a circle with area π r². Stack the slices to a height of h and the total space is the slice area times the height: V = π r² h. That is also why the volume of a cylinder is just the base area times the height, a fact that solves the Reddit homework question where only the base area (30 cm²) and height (6 cm) are given: V = 30 x 6 = 180 cm³.

Every variant formula in one table

Cylinder typeFormulaCalculator
Right (normal) cylinderV = π r² hMain calculator
From diameterV = π (d/2)² hMain calculator
Hollow cylinder / tubeV = π (R² - r²) hHollow
Oblique (slanted)V = π r² x slant x sin(angle)Oblique
Elliptical (oval)V = π a b hElliptical
Half cylinderV = (1/2) π r² hPartially filled
Horizontal, partly filledV = [r² cos-1((r - d)/r) - (r - d) √(2rd - d²)] x LHorizontal
Engine cylinder (swept)V = (π/4) bore² x strokeEngine

Finding height or radius instead

The same formula rearranges two ways. Height: h = V / (π r²). Radius: r = √(V / (π h)). Worked examples of both are on the find the height page, and the main calculator solves both backwards.

Frequently asked questions

What is the formula for the volume of a cylinder?

V = π r² h, where r is the radius of the base and h is the height.

What do r and h stand for?

r is the radius, half the distance across the round base. h is the height, the straight line distance between the two round ends.

Can I use the formula with the diameter?

Yes, replace r with d/2: V = π (d/2)² h. Forgetting to halve the diameter is the most common error and makes the answer 4 times too big.

What is the formula in terms of pi?

Leave π as a symbol: for r = 3 and h = 7, V = π x 9 x 7 = 63π. Teachers ask for this form so the answer stays exact.

Where can you find cylinders in real life?

Cans, mugs, water tanks, pipes, tree trunks, drinking straws, batteries and concrete columns are all cylinders or close to them.

Related calculators and guides

Cylinder Volume Calculator

The main calculator: radius or diameter plus height, every unit out.

Hollow Cylinder Volume Calculator

Wall material volume from outer and inner radius.

Pipe Volume Calculator

Water inside a pipe: gallons and liters per foot, with Schedule 40 sizes.

Cylinder Tank Volume Calculator

Vertical tank capacity in gallons and liters.

Horizontal Cylinder Volume Calculator

Partly filled horizontal tank: volume and percent full from liquid depth.

Partially Filled Cylinder Calculator

Vertical tank filled to any depth or percent, plus half cylinder mode.