Cylinder Volume Calculator

In short: the volume of a cylinder is V = π · r² · h, which is the area of the circular base times the height. With a radius of 5 cm and a height of 10 cm you get 785.40 cm³, or 0.785 liters. If you have the diameter, use V = π · d² · h ÷ 4.

Calculate the volume of a cylinder online: enter your measurements and the result shows up right away in cm³, liters and m³, with the steps written out like a school exercise.

  • A scale drawing that changes as you type
  • A liters chart and a printable calibration table
  • Hollow cylinder, oblique cylinder, horizontal tank and other known values
  • A shareable link and your saved recent calculations

Calculate the volume

Enter the radius (or diameter) and the height.

More options: hollow, oblique, tank, other data, weight

Cylinder volume formula

V = π · r² · h

with the diameter: V = π · d² · h ÷ 4

π ≈ 3,14159

Cylinder volume formula

The volume of a cylinder is the space it takes up, in other words how much it can hold. You get it by multiplying the area of the circular base by the height: the base area is π · r², so the volume is V = π · r² · h.

If you know the diameter and not the radius, divide the diameter by 2 or use V = π · d² · h ÷ 4 directly. The result is the same. All the other formulas (area, surface, inverse formulas) are collected on the cylinder formulas page.

The same formula applies to engines: each cylinder has the bore as its diameter and the piston stroke as its height, and that is where the engine displacement calculation comes from.

Radius and height need the same unit: with centimeters you get cm³, with meters you get m³. The calculator accepts a different unit for each measurement and converts on its own.

Inverse formulas

Height from the volume: h = V ÷ (π · r²). Radius from the volume: r = √(V ÷ (π · h)).

How to calculate the volume of a cylinder

You calculate the volume of a cylinder in three steps: find the radius, work out the area of the circular base, and multiply it by the height.

Measure the radius

Take the diameter of the base and divide it by 2. On a pipe or a drum it's easier to measure the diameter.

Find the base area

Square the radius and multiply it by π. With r = 5 cm: 3.14159 · 25 = 78.54 cm².

Multiply by the height

Base area times height gives the volume. With h = 10 cm: 78.54 · 10 = 785.40 cm³, which is 0.785 liters.

Worked examples

Here are five complete cylinder volume calculations, from the school exercise to the tank, with all the numbers.

1. A middle school exercise. A cylinder has a radius of 5 cm and a height of 10 cm.

V = π · 5² · 10 = 3.14159 · 25 · 10 = 785.40 cm³ (0.785 liters).

2. How many liters does a drum hold? Diameter 60 cm, height 90 cm. The radius is 30 cm.

V = π · 30² · 90 = 254,469 cm³ = 254.47 liters. Every centimeter of height holds 2.83 liters.

3. Pipe (hollow cylinder). Outer radius 5 cm, inner radius 4 cm, length 100 cm.

V = π · 100 · (5² − 4²) = π · 100 · 9 = 2,827.43 cm³ of material. Multiplying by the density of steel (7.85 g/cm³), the pipe weighs about 22.2 kg. For commercial pipes with diameter and wall thickness in mm, use the steel pipe weight calculator.

4. Horizontal tank. Diameter 100 cm, length 200 cm, liquid 30 cm deep.

Full, it holds 1,570.80 liters, but with 30 cm of liquid there are only 396.34 liters (25.2%). That's not 30%, because a tank lying on its side is narrower at the bottom.

5. Height from the volume. You need a cylindrical container of 1,000 liters with a radius of 50 cm.

1,000 liters = 1,000,000 cm³. h = 1,000,000 ÷ (π · 50²) = 127.32 cm.

You can find more graded exercises, with liters, cones and spheres, in the cylinder problems.

Cylinder volume from other data

In exercises you often don't get the radius and height, but an area or the circumference. First you find the missing measurement, then you apply V = π · r² · h. In the calculator, choose “Volume from other data” under More options. If you need the surface instead, use the cylinder area calculator.

Known valuesFirst findExample
Base area Ab and height hV = Ab · hAb 78.54 cm², h 10 cm: V = 785.4 cm³
Circumference C and height hr = C ÷ 2πC 31.42 cm: r ≈ 5 cm, V ≈ 785.6 cm³
Lateral area Al and radius rh = Al ÷ (2π · r)Al 314.16 cm², r 5 cm: h = 10 cm
Lateral area Al and height hr = Al ÷ (2π · h)Al 314.16 cm², h 10 cm: r = 5 cm
Total area At and radius rh = (At − 2π · r²) ÷ (2π · r)At 471.24 cm², r 5 cm: h = 10 cm
Equilateral cylinderh = 2r, so V = 2π · r³r 3 cm: V = 169.65 cm³

Volume of an oblique cylinder

An oblique cylinder has its bases shifted relative to each other, but the volume uses the same formula: V = π · r² · h. By Cavalieri's principle, two solids of the same height in which every horizontal section has the same area have the same volume: in the oblique cylinder every horizontal section is a circle equal to the base, just like in the right cylinder.

The one mistake to avoid: h is the vertical height between the two bases, not the length of the slanted side. If you know the side L and the angle θ with the base, h = L · sin θ.

Example: r = 4 cm, L = 10 cm, θ = 60°. h = 10 · sin 60° = 8.66 cm, so V = π · 16 · 8.66 = 435.31 cm³.

Cylinder, cone and sphere compared (r = 5 cm)

SolidVolume
Cylinder, h = 10 cm785.40 cm³
Cone, h = 10 cm (⅓ of the cylinder)261.80 cm³
Sphere (⅔ of the equilateral cylinder)523.60 cm³

Table: cylinder volume in liters

Liters held by a cylinder, by diameter and height, calculated with V = π · d² · h ÷ 4 and rounded to two decimals. To calculate the cylinder volume in liters online with your own measurements, use the calculator at the top, which converts automatically, and open the calibration table under the result.

1 liter = 1,000 cm³. For a different height a simple proportion is enough: at 300 cm the volume is three times the volume at 100 cm.
Diameterh 10 cmh 50 cmh 100 cmh 150 cmh 200 cm
10 cm0,793,937,8511,7815,71
20 cm3,1415,7131,4247,1262,83
30 cm7,0735,3470,69106,03141,37
40 cm12,5762,83125,66188,50251,33
50 cm19,6398,17196,35294,52392,70
60 cm28,27141,37282,74424,12565,49
80 cm50,27251,33502,65753,981.005,31
100 cm78,54392,70785,401.178,101.570,80
120 cm113,10565,491.130,971.696,462.261,95
150 cm176,71883,571.767,152.650,723.534,29

Useful conversions

1 liter = 1 dm³ = 1,000 cm³ = 1,000 ml. 1 m³ = 1,000 liters. 1 cm³ = 1 ml. 1 US gallon = 3.785 liters; 1 UK gallon = 4.546 liters.

For the liters per meter held in a pipe, with the real sizes of copper, multilayer and steel, see the guide to the volume of a pipe.

Partly filled horizontal tank

In a tank lying on its side the liters don't grow in proportion to the level: with 30 cm of liquid in a tank 100 cm in diameter you're at 25.2%, not 30%. The calculator solves it with the circular segment formula: choose “Partly filled horizontal tank” under More options.

For measuring a real tank (inner diameter, dipstick, domed ends) and for ready-made tables for the most common diameters, see the guide to liters in a tank.

For a silo with a cone hopper and the weight in metric tons, use the silo volume guide. For rainwater, read how many liters the tank needs.

Practice: a random exercise

Try to solve it on your own, then check. Using π = 3.14 is fine: the check accepts a small rounding difference.

Press “New exercise” to start.

Sources on cylinder volume

The formulas are the standard ones from geometry; the technical data come from these sources, checked in October 2026.

Frequently asked questions about cylinder volume

How do you calculate the volume of a cylinder?

You multiply the area of the base by the height: V = π · r² · h. First square the radius, then multiply by π (about 3.14159) and finally by the height.

What is the cylinder volume formula with the diameter?

V = π · d² · h ÷ 4. It's the same formula written with the diameter, because the radius is half the diameter.

How do you convert cylinder volume to liters?

1 liter equals 1 dm³, or 1,000 cm³. If you have the volume in cm³, divide by 1,000; if you have it in m³, multiply by 1,000. For other values use the cm³ to liters converter.

How do you calculate the volume of a hollow cylinder?

You subtract the inner cylinder from the outer one: V = π · h · (R² − r²), where R is the outer radius and r is the inner one.

Is the volume of an oblique cylinder calculated the same way?

Yes, V = π · r² · h, but h is the height measured vertically between the two bases, not the length of the slanted side. If you know the side L and the angle θ with the base, h = L · sin θ.

How do I find the height of a cylinder if I know the volume?

Use the inverse formula h = V ÷ (π · r²). The volume and the radius must be in the same unit of measure.

How do you calculate the volume of a cylindrical tank?

If the tank stands upright, the volume is π · r² · h like any cylinder, and with measurements in decimeters the result is already in liters. If it lies on its side and is only partly full, you need the circular segment formula: you'll find it on the page about tank liters.