Cylinder Volume Calculator
This cylinder volume calculator works out V = πr²h from the radius and height, and converts the answer to liters and US gallons, so it doubles as a round tank calculator. It also gives the surface area and draws the cylinder to scale. The answer updates as you type.
Cylinder Volume Calculator
Cylinder volume formula
A cylinder is a circle stretched straight up, so its volume is the area of the circle times the height. The circle's area is πr², which gives the formula:
V = π × r² × h r = radius of the circular end (half the diameter) h = height (or length, for a cylinder lying on its side) Surface area = 2πr² + 2πrh = 2πr(r + h)Here's why it works. Slice the cylinder into thin discs: every disc has the same area, πr², so stacking them up to height h gives πr² × h. That's also why it doesn't matter whether the cylinder stands up or lies on its side. Only the radius and the length along the axis count.
Worked example: a round water tank
A tank is 6 ft across and 5 ft tall. Its radius is 6 ÷ 2 = 3 ft.
V = π × 3² × 5 = π × 45 = 141.37 ft³ 141.37 ft³ × 28.3168 = 4,003.2 liters 4,003.2 ÷ 3.785 = 1,057.53 US gallonsSo the tank holds about 141.37 ft³, which is 4,003.2 liters or 1,057.53 US gallons when it's full. Its surface area, both ends and the side, is 2π × 3 × (3 + 5) = 150.8 ft², which is what you'd paint or insulate.
Common mistakes
- Using the diameter as the radius. This is the most common error, and because r is squared it makes the answer four times too big.
- Mixing units. Measure the radius and height in the same unit. A radius in inches with a height in feet gives a meaningless number.
- A partly full tank. This calculator gives the full volume. For an upright tank, enter the depth of the liquid as the height. A tank on its side needs a different formula, because the liquid's cross-section isn't a full circle.
For other shapes, the volume calculator has a quick calculator for each one, and links to its own page.
Frequently asked questions
What is the formula for the volume of a cylinder?
V = πr²h: the area of the circular end, πr², times the height. A cylinder with a 3 ft radius and 5 ft height holds π × 9 × 5 ≈ 141.37 cubic feet.
How do I use the diameter instead of the radius?
Halve it first. A 6 ft wide tank has a 3 ft radius. If you'd rather use the diameter d directly, the formula becomes V = π × d² × h ÷ 4.
How many gallons are in a cylindrical tank?
Work out the volume in cubic feet and multiply by 7.48 (one cubic foot holds about 7.48 US gallons). The 3 ft by 5 ft tank above holds about 1,057.5 gallons when full. The calculator does the conversion for any unit.
See also
- Cone Volume Calculator: Volume, slant height and surface area of a cone.
- Sphere Volume Calculator: Volume of a sphere or ball from its radius.
- Capsule Volume Calculator: Volume of a cylinder with rounded (hemispherical) ends.
- Tube Volume Calculator: Volume of a pipe's wall and how much the pipe holds.
Last updated: November 28, 2026