Cylinder volume formula
V = πr²h volume = pi × radius²
× height
The cylinder volume formula is V = πr²h: the area of the circular base, πr², multiplied by the height h. Enter a radius or a diameter and a height in any unit below. The meter shows the volume, the capacity in gallons and liters, and each step of the calculation.
- r
- radius of the base, half of the diameter
- h
- height (or length), measured square to the base
- π
- pi, 3.14159…; the calculator keeps full precision
V = π × r² × h. With r = 3 in and h = 8 in: π × 9 × 8 = 226.19 in³ (0.979 US gal).
How to find the volume of a cylinder in three steps
- Measure the radius r. If you measured across the circle, halve the diameter:
r = d ÷ 2. - Square the radius and multiply by π to get the area of the base:
π × r². - Multiply the base area by the height h. The answer is in cubic units: in³, ft³, cm³ or m³.
The full method, with examples in inches, feet and centimeters and the mistakes to avoid, is in the guide on how to find the volume of a cylinder.
What the cylinder volume formula means
A cylinder is a circle pushed straight along a line. Every slice cut parallel to the base is the same circle, so the volume is simply that circle's area repeated over the whole height. The area of a circle is πr²; stack it to a height h and you get V = πr²h. This is the same rule as for any prism, "base area times height", applied to a round base.
Two consequences are worth remembering. Volume grows with the square of the radius: double the radius and the cylinder holds four times as much, while doubling the height only doubles it. And because only the base and the perpendicular height matter, a slanted cylinder with the same base and the same vertical height holds exactly as much as a straight one, which is explained on the page about the volume of an oblique cylinder. For a proof by stacking thin disks or by integration, see why the volume of a cylinder is πr²h.
Three equivalent forms of the formula
| You know | Formula | Example (h = 8 in) |
|---|---|---|
| Radius r | V = π r² h | r = 3 in → 226.19 in³ |
| Diameter d | V = π d² h ÷ 4 | d = 6 in → 226.19 in³ |
| Circumference C | V = C² h ÷ (4π) | C = 18.85 in → 226.2 in³ |
The diameter form is handy when you measure a pipe or a can with a ruler across the top; the page on the volume of a cylinder with the diameter works through it. The circumference form suits large tanks and tree trunks, where a tape wrapped around the outside is easier than reaching the center. If you know the volume and need a dimension instead, solve the formula backwards: the radius of a cylinder is √(V ÷ πh), and the height of a cylinder is V ÷ πr².
Volume of a cylinder: examples with real objects
Each line below is computed with the formula above and full-precision π, then rounded. Measurements are inside dimensions when the question is "how much does it hold".
| Cylinder | Radius or diameter | Height | Volume | Capacity |
|---|---|---|---|---|
| Small can | r = 3 in | 8 in | 226.19 in³ | 0.979 US gal |
| Kitchen jar | d = 10 cm | 15 cm | 1,178.1 cm³ | 1.178 L |
| Water tank | d = 4 ft | 6 ft | 75.398 ft³ | 564.0 US gal |
| Pipe run, 2 in inside | d = 2 in | 50 ft | 1,885.0 in³ | 8.16 US gal |
| Round concrete column | d = 12 in | 8 ft | 6.2832 ft³ | 0.2327 yd³ |
| Drum | d = 58 cm | 88 cm | 0.2325 m³ | 232.5 L |
Take the water tank: the radius is 4 ÷ 2 = 2 ft, the base area is π × 2² = 12.566 ft², and the volume is 12.566 × 6 = 75.398 ft³. One cubic foot holds 7.48052 US gallons, so the tank holds about 564 gallons when full. For tanks that are only partly filled, especially tanks lying on their side, use the cylindrical tank volume calculator; for runs of pipe, the pipe volume calculator gives gallons per foot.
From cubic units to gallons and liters
The formula gives a volume in the cube of the unit you measured in. Keep both measurements in the same unit before multiplying: a radius in inches and a height in feet will give a meaningless number. Then convert the result with an exact factor.
| Volume in | To get | Do this |
|---|---|---|
| cubic inches | US gallons | divide by 231 (exact) |
| cubic feet | US gallons | multiply by 7.48052 |
| cubic feet | cubic yards | divide by 27 (exact) |
| cubic inches | cubic feet | divide by 1,728 (exact) |
| cubic centimeters | liters | divide by 1,000 (exact) |
| cubic meters | liters | multiply by 1,000 (exact) |
| cubic inches | cubic centimeters | multiply by 16.387064 (exact) |
Dedicated pages cover each case with its own table of common sizes: cylinder volume in gallons, cylinder volume in liters and cubic feet of a cylinder. To turn a volume into a weight, multiply by the density of the material with the cylinder weight calculator.
Common mistakes with the volume of a cylinder
- Using the diameter as the radius. The answer comes out four times too big, because the radius is squared.
- Mixing units. A 6 in radius and a 2 ft height must become 0.5 ft and 2 ft (or 6 in and 24 in) before you multiply.
- Squaring the wrong thing. Only the radius is squared: π × r² × h, not (π × r × h)².
- Rounding π too early. Using 3.14 instead of π changes the result by about 0.05 %. That is fine for homework, but over a 10,000 gallon tank it is about 5 gallons.
- Outside instead of inside dimensions. For capacity, measure inside the walls. The walls of a pipe or a tank take up room; the hollow cylinder volume page computes the material and the bore separately.
- Confusing volume and surface area. Volume is the space inside (cubic units). The surface area of a cylinder, 2πr² + 2πrh, is the material needed to cover it (square units).
Every cylinder calculation
One page per question, each with its own calculator, the formula, a worked example and the usual traps. Start with the definition of a cylinder if the vocabulary is new.
FAQ
What is the formula for the volume of a cylinder?
V = πr²h, where r is the radius of the circular base and h is the height. The base area πr² is multiplied by the height. With the diameter d instead of the radius, the same formula reads V = πd²h ÷ 4.
How do you find the volume of a cylinder step by step?
Measure the radius (half the diameter) and the height in the same unit. Square the radius, multiply by π (about 3.14159), then multiply by the height. A radius of 3 in and a height of 8 in give π × 9 × 8 ≈ 226.19 in³.
What unit is the volume of a cylinder in?
A cubic unit: the length unit you measured in, cubed. Inches give cubic inches (in³), feet give cubic feet (ft³), centimeters give cm³. To get a capacity, divide in³ by 231 for US gallons, or divide cm³ by 1,000 for liters.
Do I use the radius or the diameter?
The formula uses the radius. If you measured straight across the circle, that is the diameter: halve it first. Using the diameter by mistake gives a volume four times too large.
Does the formula work for a cylinder lying on its side?
Yes. Orientation does not change the volume: use the length of the cylinder as h. Only a partly filled horizontal cylinder needs a different calculation, because the liquid forms a circular segment, not a smaller circle.