Home / Cylinder Volume Formula
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 type | Formula | Calculator |
|---|---|---|
| Right (normal) cylinder | V = π r² h | Main calculator |
| From diameter | V = π (d/2)² h | Main calculator |
| Hollow cylinder / tube | V = π (R² - r²) h | Hollow |
| Oblique (slanted) | V = π r² x slant x sin(angle) | Oblique |
| Elliptical (oval) | V = π a b h | Elliptical |
| Half cylinder | V = (1/2) π r² h | Partially filled |
| Horizontal, partly filled | V = [r² cos-1((r - d)/r) - (r - d) √(2rd - d²)] x L | Horizontal |
| Engine cylinder (swept) | V = (π/4) bore² x stroke | Engine |
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
The main calculator: radius or diameter plus height, every unit out.
Wall material volume from outer and inner radius.
Water inside a pipe: gallons and liters per foot, with Schedule 40 sizes.
Vertical tank capacity in gallons and liters.
Partly filled horizontal tank: volume and percent full from liquid depth.
Vertical tank filled to any depth or percent, plus half cylinder mode.