Home › Math & Science › Cylinder Volume Calculator

Cylinder Volume Calculator

Tanks, cans, pipes, planters, pools — cylinders are everywhere, and their volume is never written on the side. This free cylinder volume calculator needs only the radius (or diameter) and the height, and gives you the volume, the surface areas, and the capacity in liters, in metric or imperial units.

—

How it works

A cylinder is a circle stretched along a straight line, so its volume is the area of that circle multiplied by the length of the stretch — the height. The circle's area is π × r², which makes the full formula one short line. Surface area comes from the same parts: unroll the curved wall and it is a rectangle whose width is the circumference (2 × π × r) and whose height is h; the two caps are just two more circles.

Volume V = π × r² × h  ·  Lateral area = 2 × π × r × h  ·  Total area = 2 × π × r × (r + h)

The radius is the distance from the center of the circular end to its edge — half the diameter, which is the number most people actually measure with a ruler or tape. That is why the tool accepts either: choose "diameter" and it halves the value before calculating, so a 10 cm wide can and a radius of 5 cm give identical answers. Every measurement must share one unit; mixing a radius in inches with a height in centimeters silently breaks the math, so the unit selector applies to all inputs at once. The liters line converts the finished volume using the exact size of the chosen unit (1 liter = 1,000 cm³; a cubic foot is 28.3168 liters).

Worked example

A storage tin has a radius of 5 cm and is 10 cm tall. Step 1: square the radius — 5² = 25. Step 2: multiply by π — the circular base covers 78.54 cm². Step 3: multiply by the height — 78.5398 × 10 = 785.40 cm³, which is 0.785 liters. The same tin's curved wall (its label) measures 2 × π × 5 × 10 = 314.16 cm², and its total surface area including both ends is 471.24 cm². Enter radius 5, height 10, unit cm above and the calculator shows the same figures.

Tips for measuring real cylinders

For a tank or bucket, measure the inside dimensions if you want capacity — wall thickness counts twice on a diameter. If the end is not perfectly round (dented cans, flexible tubs), measure the diameter in two directions and average them before halving. And for anything you plan to fill, remember the brim is not the working volume: leave headroom for sloshing, expansion, or a lid, exactly as fuel tanks and paint cans do.

FAQ

How do you calculate the volume of a cylinder?

Multiply the area of the circular base by the height: V = π × r² × h. A cylinder with radius 5 cm and height 10 cm has a base area of π × 25 = 78.54 cm², so its volume is 78.54 × 10 = 785.40 cm³ — about 0.785 liters.

What if I only know the diameter?

Halve it to get the radius (radius = diameter ÷ 2), or simply choose "diameter" in this calculator and enter it directly. A 10 cm wide, 10 cm tall can has radius 5 cm, so its volume is the same 785.40 cm³ as the radius example.

What is the difference between lateral and total surface area?

Lateral surface area is just the curved wall: 2 × π × r × h — the label around a can. Total surface area adds the two circular caps: 2 × π × r² more. For an open-top tank, the material you need is the lateral area plus one cap, not two.

How do I convert cylinder volume to gallons?

First get the volume in liters (this calculator shows it): divide liters by 3.78541 for US gallons, or by 4.54609 for UK gallons. A 200-liter drum, for example, holds 52.8 US gallons.

Does the formula work for a pipe or a hollow cylinder?

Not directly — a pipe is a cylinder with a cylinder removed. Work out the outer cylinder using the outside radius, the inner cylinder using the inside radius, and subtract. The same goes for the material in a rolled sheet or the empty space inside a tube.

Disclaimer: Results assume a perfect right circular cylinder and are estimates for planning. Real containers vary with wall thickness, dents and fill level — measure inside dimensions for capacity.