Skip to content
Cylinder VolumeFormula · πr²h
Units
Formula · calculator · worked steps

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).

r h BASE AREA = πr² · V = BASE × h
Method

How to find the volume of a cylinder in three steps

  1. Measure the radius r. If you measured across the circle, halve the diameter: r = d ÷ 2.
  2. Square the radius and multiply by π to get the area of the base: π × r².
  3. 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.

Why it works

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 knowFormulaExample (h = 8 in)
Radius rV = π r² hr = 3 in → 226.19 in³
Diameter dV = π d² h ÷ 4d = 6 in → 226.19 in³
Circumference CV = 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².

Worked examples

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".

CylinderRadius or diameterHeightVolumeCapacity
Small canr = 3 in8 in226.19 in³0.979 US gal
Kitchen jard = 10 cm15 cm1,178.1 cm³1.178 L
Water tankd = 4 ft6 ft75.398 ft³564.0 US gal
Pipe run, 2 in insided = 2 in50 ft1,885.0 in³8.16 US gal
Round concrete columnd = 12 in8 ft6.2832 ft³0.2327 yd³
Drumd = 58 cm88 cm0.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.

Units

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 inTo getDo this
cubic inchesUS gallonsdivide by 231 (exact)
cubic feetUS gallonsmultiply by 7.48052
cubic feetcubic yardsdivide by 27 (exact)
cubic inchescubic feetdivide by 1,728 (exact)
cubic centimeterslitersdivide by 1,000 (exact)
cubic meterslitersmultiply by 1,000 (exact)
cubic inchescubic centimetersmultiply 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.

Check your work

Common mistakes with the volume of a cylinder

Index

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.