Cylinder Calculator

A cylinder calculator takes the guesswork out of geometry. Whether you're figuring out how much water fits in a tank, estimating the paint needed for a pipe, or just working through a math problem, the formulas involved aren't complicated once you know what you're doing. This guide walks through everything: the formulas, the step-by-step math, how to work backwards from a known volume or area, and where cylinders actually show up in real life. No fluff, just the stuff you need.

Enter Details

Result

V = πr²h · Surface = 2πr(r + h)

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

What Is a Cylinder?

A cylinder is a three-dimensional shape with two flat, circular ends (called bases) connected by a curved surface. Think of a soup can, a drinking glass, or a length of PVC pipe. The distance between the two bases is the height (h), and the distance from the center of a base to its edge is the radius (r).

More specifically, what most people picture is a right circular cylinder, meaning the sides are perfectly perpendicular to the bases and both bases are identical circles. That's the type covered here, and it's the one you'll encounter in almost every practical situation.

Two measurements define everything about a cylinder's size: the radius and the height. Get those two numbers and you can calculate its volume, surface area, and more.

Cylinder Volume Formula (πr²h)

The volume of a cylinder tells you how much space is inside it, or how much liquid it can hold.

Formula: V = πr²h

  • V = volume
  • π (pi) ≈ 3.14159
  • r = radius of the circular base
  • h = height of the cylinder

The logic behind it is straightforward. The area of a circle is πr², so the formula is really just saying: take the area of the base and multiply it by the height. You're stacking up circular layers from the bottom to the top.

Units matter here. If the radius is in inches and the height is in inches, the volume comes out in cubic inches. If you're working in centimeters, you get cubic centimeters. Keep your units consistent before you plug anything in.

Cylinder Surface Area Formula (2πr(r + h))

Surface area measures the total area of the outside of a cylinder, both circular ends plus the curved side. This is what you'd need if you were wrapping the cylinder in material or calculating how much paint to buy.

Formula: SA = 2πr(r + h)

It helps to break this into parts:

  • 2πr² covers the two circular bases (top and bottom)
  • 2πrh covers the lateral (curved) surface area

Combined, those two pieces give you 2πr² + 2πrh, which factors neatly into 2πr(r + h). If you only need the lateral surface area (say, you're not counting the ends), just use 2πrh on its own.

Like volume, the units here are squared. If r and h are both in feet, surface area is in square feet.

How to Calculate Cylinder Volume Step by Step

Let's say you have a cylinder with a radius of 4 cm and a height of 10 cm.

  1. Square the radius: 4² = 16
  2. Multiply by π: 16 × 3.14159 ≈ 50.265
  3. Multiply by the height: 50.265 × 10 = 502.65 cm³

That's it. The volume is approximately 502.65 cubic centimeters.

A quick tip: if you're given the diameter instead of the radius, just divide it by 2 first. Diameter is the full width across the circle, so a diameter of 8 cm means a radius of 4 cm. Easy to miss if you're rushing.

Also worth double-checking: make sure both measurements are in the same unit before you start. Mixing inches and feet, or centimeters and meters, is the most common source of errors in these calculations.

How to Calculate Cylinder Surface Area Step by Step

Using the same cylinder: radius = 4 cm, height = 10 cm.

  1. Add the radius and height: 4 + 10 = 14
  2. Multiply by the radius: 14 × 4 = 56
  3. Multiply by 2π: 56 × 2 × 3.14159 ≈ 351.86 cm²

The total surface area is approximately 351.86 square centimeters.

If you want to check your work, you can also calculate it in two pieces. The lateral surface area is 2 × 3.14159 × 4 × 10 ≈ 251.33 cm². The area of each circular base is π × 4² ≈ 50.27 cm², and there are two of them, so that's about 100.53 cm². Add those together: 251.33 + 100.53 = 351.86 cm². Same answer, different path.

Find Radius or Height from Given Values

Sometimes you already know the volume or surface area and need to work backwards. Here's how to rearrange the formulas.

Finding height from volume:
Start with V = πr²h and solve for h:
h = V / (πr²)

Finding radius from volume:
Solve V = πr²h for r:
r = √(V / (πh))

For surface area, things get a bit more involved because the formula 2πr(r + h) has both r and h mixed together. If you know the surface area and the radius, you can find the height like this:

h = (SA / (2πr)) − r

Solving for the radius when you know the surface area and height requires the quadratic formula, since expanding 2πr(r + h) gives you a term with r². In practice, most people either use a calculator or plug known values into a solver for that scenario.

A quick example: if a cylinder has a volume of 502.65 cm³ and a radius of 4 cm, the height is 502.65 / (π × 16) ≈ 502.65 / 50.27 ≈ 10 cm. Checks out.

Cylinder Volume and Capacity Conversions

Raw cubic units are useful for math, but real-world problems often need different units. Here are the most common conversions:

Cubic UnitEquivalent
1 cubic inch (in³)0.004329 gallons
1 cubic foot (ft³)7.48052 gallons
1 cubic centimeter (cm³)1 milliliter (mL)
1 cubic decimeter (dm³)1 liter (L)
1 cubic meter (m³)1,000 liters
1 liter (L)0.264172 gallons

The cm³ to mL conversion is one of the most useful ones in everyday life. If you calculate that a cylindrical container has a volume of 500 cm³, you immediately know it holds 500 mL, which is half a liter.

For larger tanks measured in feet, multiply the cubic feet result by 7.48 to get gallons. A tank that's 2 feet in radius and 5 feet tall has a volume of π × 4 × 5 ≈ 62.83 ft³, which is about 470 gallons.

Real-Life Applications of Cylinders

Cylinders are everywhere. Once you start looking, you see them in pretty much every industry.

  • Tanks and containers: Water heaters, propane tanks, chemical storage drums, and fuel tanks are all cylinders. Engineers calculate volume to determine capacity and surface area for insulation or coating materials.
  • Pipes and plumbing: Flow rate through a pipe depends on its cross-sectional area, which ties directly back to πr². Plumbers and civil engineers use these calculations constantly.
  • Food and beverage packaging: Cans, bottles, and cups are designed as cylinders. Manufacturers optimize the radius-to-height ratio to minimize material use (surface area) while hitting a specific volume target.
  • Construction and concrete: Concrete columns and cylindrical footings require volume calculations to estimate how much material is needed. Getting it wrong means either running short or wasting money on excess concrete.
  • Manufacturing and machining: Drill bits, pistons, shafts, and rollers are all cylindrical. Tolerances in machining depend on precise radius and height measurements.
  • Medical devices: Syringes are cylinders. The volume of a syringe barrel is calculated using the same formula, which is why the markings on the side correspond directly to how far the plunger travels.

The math is simple, but the applications are surprisingly broad. Mastering the cylinder formulas gives you a tool that's genuinely useful well beyond the classroom.

Other Maths Calculators

Explore all