Free online tool

Cylinder Volume Calculator

Enter the radius or diameter and the height. Get the volume in cubic units, liters and gallons, the surface areas, and the full step by step working.

Home / Home

Quick answer: The volume of a cylinder is V = π r² h. Enter the radius (half the diameter) and the height in the same unit, and this calculator does the rest, including solving backwards for height or radius.

Cylinder Volume Calculator

Liquid fill preview

rh

Diagram is a visual guide, not to scale. It fills as your numbers change.

How this calculator works

Every answer starts from one formula: multiply pi by the radius squared, then by the height. The calculator first works out the area of the round base (π r²), then multiplies by the height, which is exactly how the volume of any straight sided round container is built up. It then converts the result into cubic inches, cubic feet, cubic meters, liters, US gallons and Imperial gallons so you never have to convert by hand.

Use the mode menu to solve backwards: give it a volume and a radius and it finds the height, or give it a volume and a height and it finds the radius. That covers the three questions almost every cylinder problem asks.

The number one mistake to avoid

Most wrong answers come from one slip: using the diameter where the formula needs the radius. Because the radius is squared, that single slip makes the answer exactly 4 times too big. This calculator lets you enter the diameter directly and halves it for you. Read more on the common mistakes page.

Which cylinder do you have?

A plain upright cylinder is covered here. If yours is a tube or pipe shape with a hole through it, use the hollow cylinder calculator. A tank lying on its side that is only partly full needs the horizontal cylinder calculator, because a partly filled round tank does not fill in a straight line. A slanted cylinder uses the oblique cylinder calculator.

Frequently asked questions

What is the formula for the volume of a cylinder?

V = π r² h, where r is the radius of the round base and h is the height. Multiply pi by the radius squared, then multiply by the height.

How do you find the volume of a cylinder with the diameter?

Halve the diameter to get the radius, then use V = π r² h. Or enter the diameter in this calculator and pick Diameter in the Given menu.

How do I find the height of a cylinder from its volume?

Rearrange the formula: h = V / (π r²). Pick Height in the mode menu above and enter the volume and radius.

How do I find the radius of a cylinder from its volume?

Use r = square root of (V / (π h)). Pick Radius in the mode menu above and enter the volume and height.

Why is the answer in cubic units?

Volume measures three dimensional space, so it is always length x length x length. Inches give cubic inches, feet give cubic feet, centimeters give cubic centimeters.

What value of pi should I use?

Use the full pi value (3.14159...) for real world measuring. For school work, some teachers ask for the answer in terms of pi, or using 3.14 or 22/7; the method is the same.

All cylinder calculators

Hollow Cylinder Volume Calculator

Wall material volume from outer and inner radius.

Pipe Volume Calculator

Water inside a pipe: gallons and liters per foot, with Schedule 40 sizes.

Cylinder Tank Volume Calculator

Vertical tank capacity in gallons and liters.

Horizontal Cylinder Volume Calculator

Partly filled horizontal tank: volume and percent full from liquid depth.

Partially Filled Cylinder Calculator

Vertical tank filled to any depth or percent, plus half cylinder mode.

Surface Area of a Cylinder Calculator

Total, lateral and base area from radius and height.

Cylinder Volume in Gallons

Diameter and height straight to US and Imperial gallons.

Cylinder Volume in Liters

Centimeter and meter inputs straight to liters and cubic meters.

Oblique Cylinder Volume Calculator

Slanted cylinder volume from slant length and angle, or perpendicular height.

Engine Cylinder Volume Calculator

Swept volume and displacement from bore, stroke and cylinder count.

Cylinder Volume in Cubic Feet

Cubic feet plus a cubic-feet-per-foot table by diameter.

Concrete Column Calculator

Sonotube and round column concrete: cubic yards and bag estimate.

Cylinder Weight Calculator

Weight of a solid cylinder from volume and material density.

Guides, charts and examples

Cylinder Volume Formula

V = pi r squared h, plus every variant formula in one table.

How to Calculate Cylinder Volume

Step by step method with worked examples.

Volume of a Cylinder

What it means, the types of cylinder, and real life examples.

How to Find the Height of a Cylinder

Reverse solving: find height or radius from volume, with a mini solver.

How to Calculate Tank Volume in Gallons

Measure a cylindrical tank and turn it into gallons, step by step.

Horizontal Tank Volume Chart

Dipstick chart: percent of depth to percent of volume.

Gallons Per Foot of Pipe

Reference table by nominal pipe size, Schedule 40.

Cylinder Volume Examples

Ten plus fully solved examples, from homework to tanks.

Volume of a Cylinder for Kids

A simple coins and pancakes explanation with practice questions.

Cylinder Volume vs Surface Area

The common mistakes, including the diameter as radius error that makes answers 4 times too big.

Elliptical Cylinder Volume

Oval cylinder volume with a mini calculator: V = pi a b h.

Related calculators and guides

Hollow Cylinder Volume Calculator

Wall material volume from outer and inner radius.

Pipe Volume Calculator

Water inside a pipe: gallons and liters per foot, with Schedule 40 sizes.

Cylinder Tank Volume Calculator

Vertical tank capacity in gallons and liters.

Horizontal Cylinder Volume Calculator

Partly filled horizontal tank: volume and percent full from liquid depth.

Partially Filled Cylinder Calculator

Vertical tank filled to any depth or percent, plus half cylinder mode.

Surface Area of a Cylinder Calculator

Total, lateral and base area from radius and height.