notAcalculator logo

Cylinder Calculator

Enter a cylinder's radius and height to instantly calculate its volume, total surface area, lateral area, and base area, with formulas and worked examples.

Cylinder Calculator

Give us your feedback! Was this useful?

Introduction

A cylinder is the three-dimensional solid traced by a circle swept along a straight line perpendicular to its plane. Every cross-section parallel to the base is an identical circle, and every cross-section through the axis is a rectangle. That combination of a circular profile and a constant height is why the cylinder is one of the two or three most common shapes in the built world: cans, pipes, tanks, pillars, batteries, rolls of tape, and engine cylinders are all approximations of it.

Because the cylinder has a circular base, its formulas inherit π from the circle and multiply by a linear height. The volume is therefore the base area (πr²) times the height, and the surface area is the two circular end-caps plus the rectangular sheet you would get by unrolling the curved side. That unrolling is the key intuition: the lateral surface is a rectangle whose width is the circumference of the base and whose height is the cylinder's height, so its area is 2πr × h.

[wolfram-cylinder]

This calculator takes the radius and the height and returns five properties at once: volume, total surface area, lateral (curved) surface area, base area, and diameter. Those are the numbers that matter in practice. Volume tells you how much a tank or can holds; total surface area tells you how much material (or paint, or label) is needed; lateral area separates the curved wall from the flat ends so that a label or a wrap can be sized on its own.

Cylinders sit at the center of a family of solids. A sphere is the shape with the least surface area for a given volume, a cone tapers to a point, and a rectangular prism has flat faces instead of a circular wall. Comparing them with the same radius and height is a standard exercise: with r = 3 and h = 6 the cylinder holds about 170 cubic units, while the sphere holds about 113 and the cone about 57. The cylinder is the middle case — more capacity than a cone, less material-efficient than a sphere.

Why the Cylinder Is Special

The cylinder occupies a distinctive place among solids: it is the natural result of any process that extrudes, pulls, or bores. Rolling a flat sheet into a tube, forcing molten plastic through a circular die, or drilling a round hole all produce cylinders, and none of those processes has a cheap rectangular equivalent. This is why pipes, cans, and containers are round. A circular cross-section also resists internal pressure evenly in every direction, so a cylindrical pressure vessel can use less wall thickness than a rectangular one of the same capacity. The same even distribution makes cylinders strong under bending, which is why columns, pillars, and structural tubes are round rather than square. The trade-off is packing: cylinders leave gaps when stacked in a box, so warehouses pay a small space penalty in exchange for the strength and manufacturability of the round profile.

How to Use

Enter the radius of the circular base and the height of the cylinder. If you only know the diameter, divide it by two first. The calculator updates instantly and returns the volume in cubic units, the surface areas in square units, and the diameter in linear units.

Example 1: A water tank. A cylindrical tank has a radius of 3 ft and a height of 8 ft. Its volume is V = π × 3² × 8 = 72π ≈ 226.2 cubic feet, which is about 1,692 US gallons (1 ft³ ≈ 7.48 gal). The surface area to be painted is SA = 2π × 3² + 2π × 3 × 8 = 18π + 48π = 66π ≈ 207.3 square feet, and the curved wall alone is 48π ≈ 150.8 square feet.

Example 2: A soda can. A standard 12-ounce can is about 2.6 inches in diameter and 4.83 inches tall, so r ≈ 1.3 in and h ≈ 4.83 in. Volume = π × 1.3² × 4.83 ≈ 25.6 cubic inches, which is about 14.2 fluid ounces — the extra headspace above 12 oz accounts for the difference. The lateral area (the label) is 2π × 1.3 × 4.83 ≈ 39.5 square inches.

Example 3: A concrete pillar. A cylindrical column has a radius of 0.5 m and a height of 3 m. Volume = π × 0.25 × 3 ≈ 2.36 cubic meters, so at roughly 2,400 kg/m³ the column weighs about 5,650 kg. Knowing the volume before ordering ready-mix concrete prevents both short pours and expensive leftovers.

The Formula

All cylinder properties derive from the radius r and the height h.

V=πr2hV = \pi r^{2} h

The volume equals the area of the circular base times the height. Because the base area grows with r², doubling the radius quadruples the volume for the same height; doubling the height only doubles it. This asymmetry is why fat tanks hold disproportionately more than tall thin ones of the same surface area.

SA=2πr2+2πrhSA = 2\pi r^{2} + 2\pi r h

The total surface area is the sum of the two circular caps (2πr²) and the curved lateral surface (2πrh). [khan-cylinder] To see why the lateral term is 2πrh, imagine cutting the curved wall along a vertical line and unrolling it flat: you get a rectangle of width equal to the base circumference (2πr) and height h.

L=2πrhL = 2\pi r h

The lateral area L isolates the curved wall. It is the number to use when sizing a wrap, a label, or a coat of paint that does not cover the ends. The base area is simply the circle formula πr², and the diameter is twice the radius.

Abase=πr2A_{base} = \pi r^{2}
rh
A right circular cylinder: base radius r and height h. Unrolled, the curved wall is a rectangle 2πr wide and h tall.

Reference Table

The table below shows how radius, height, volume, and total surface area relate for cylinders of various sizes (height fixed at 10 units).

11031.4269.1262.83
210125.66150.80125.66
310282.74245.04188.50
510785.40471.24314.16
10103,141.591,256.64628.32
201012,566.373,769.911,256.64
Cylinder volume (cubic units) grows with the square of the radius for a fixed height: doubling r quadruples the volume.

How the Cylinder Compares to Other Solids

Placing the cylinder beside the other common solids makes its trade-offs clear. With the same base radius and height, a cone holds exactly one third of the cylinder's volume, while a sphere of the same radius holds a little under two thirds of it. For material efficiency the ranking reverses: the sphere encloses a given volume with the least surface area, the cylinder is next, and a long thin box is the least efficient of the three. That is why a spherical tank is preferred when material cost dominates, while a cylindrical tank is preferred when the tank must sit on a flat base or be fabricated by rolling sheet metal. A rectangular prism of the same volume packs more tightly in a warehouse but needs more surface material, so the right choice depends on whether the binding constraint is floor space, material cost, or resistance to internal pressure. A cylinder is also a prism in disguise: any prism volume formula (base area times height) applies to it, which is why the cylinder formula is simply the circle area multiplied by the height rather than a special case. [libretexts-geometry]

Practical Tips

  • Radius, not diameter. The single most common error is plugging the diameter into the radius field, which inflates the volume by a factor of four. Halve the diameter first.
  • Keep units consistent. If the radius is in inches, the volume is in cubic inches. Convert once, at the start, rather than mixing inches and feet.
  • Use lateral area for wraps. A label, a paint coat, or an insulation wrap covers the curved wall only — use L = 2πrh, not the total surface area.
  • Hollow vs solid. This calculator gives the solid volume. For a pipe or a tube, subtract the inner volume (πr_inner²h) from the outer volume to get the material volume.
  • Reverse the volume. If you know the volume and the height, the radius is r = √(V / (πh)). If you know the volume and the radius, the height is h = V / (πr²).

Real-World Applications

Cylinders appear wherever storage, transport, or flow is involved. [nist-measurement]

  • Storage tanks. Water, fuel, and propane tanks are cylindrical because the round wall carries internal pressure evenly and the shape rolls and stacks for transport. A tank's usable volume is the cylinder volume minus a small headspace allowance.
  • Pipes and tubes. The material volume of a pipe is πh(r_outer² − r_inner²). Plumbers and engineers use this to estimate the weight of a pipe run and the volume of fluid it holds per meter.
  • Cans and containers. Beverage and food cans are cylinders optimized for a balance of capacity, material, and stackability. The printable label area equals the lateral surface area, so a label quote starts from 2πrh.
  • Manufacturing and machining. Bored holes, turned shafts, and extruded profiles are all cylinders. Machinists compute the volume to estimate material removal and the surface area to estimate finishing time and coating cost.
  • Everyday objects. Candles, batteries, rolls of tape, and tree trunks are all modeled as cylinders for a first-order volume estimate.

Limitations

The formulas assume a right circular cylinder — a perfectly circular base with a vertical axis. Real objects deviate: a can has a seam and a rim, a pipe has wall thickness, and a tilted (oblique) cylinder has a different volume relationship with its axis length. For a hollow cylinder or a tube, the calculator returns the outer solid volume and you must subtract the inner volume manually. Finally, unit conversion is not automatic: the calculator treats every input as being in the same unit system, so convert to a single unit before entering values.

Frequently Asked Questions

❓ How do I calculate the volume of a cylinder?
✅ Multiply the area of the circular base by the height: V = πr²h. For a cylinder with radius 3 and height 5, V = π × 9 × 5 ≈ 141.37 cubic units.
❓ What is the difference between total and lateral surface area?
✅ Total surface area includes the two circular end-caps plus the curved wall: SA = 2πr² + 2πrh. Lateral surface area is the curved wall alone: L = 2πrh. Use lateral area for labels, wraps, and paint that does not cover the ends.
❓ How do I find the radius if I only know the diameter?
✅ Divide the diameter by two. A can 2.6 inches across has a radius of 1.3 inches. Using the diameter in place of the radius would overestimate the volume by a factor of four.
❓ How do I calculate the volume of a pipe or tube?
✅ Compute the outer volume with the outer radius, compute the inner volume with the inner radius, and subtract: V = πh(r_outer² − r_inner²). This gives the volume of the material, not the space inside.
❓ Why does doubling the radius quadruple the volume?
✅ The base area is πr², so it scales with the square of the radius. Doubling r multiplies the base area by four, and since volume is base area times height, the volume also multiplies by four (at constant height).
❓ What everyday objects are cylinders?
✅ Cans, bottles, pipes, columns, batteries, candles, rolls of tape and paper, water tanks, and engine cylinders. Most are close enough to a right circular cylinder that the standard formulas apply within a small percentage.

References

  1. [1]Weisstein, Eric W. "Cylinder." From MathWorld--A Wolfram Web Resource. Retrieved from https://mathworld.wolfram.com/Cylinder.html.
  2. [2]Wikipedia. "Cylinder." Retrieved from https://en.wikipedia.org/wiki/Cylinder.
  3. [3]Khan Academy. "Volume and Surface Area of Cylinders." Retrieved from https://www.khanacademy.org/math/geometry.
  4. [4]National Institute of Standards and Technology. "Geometric Measurement." Retrieved from https://www.nist.gov/pml.
  5. [5]NASA Glenn Research Center. "Volume of a Cylinder." Retrieved from https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/.
  6. [6]LibreTexts Mathematics. "Geometry." Retrieved from https://math.libretexts.org/Bookshelves/Geometry.

Last updated: October 16, 2026

1b

UnByte — Independent Software Engineering

Every calculator references authoritative sources — Editorial policy