Home › Math Calculators › Cylinder Calculator

Cylinder Calculator

Find the volume, surface area, height, or radius of a cylinder — plus hollow cylinder (pipe) volume — with instant step-by-step results.

🥫 Cylinder Calculator — Choose What to Find

r h
Enter volume in cubic units of your selected dimension (e.g. cm³)
Enter volume in cubic units of your selected dimension (e.g. cm³)
Must be smaller than the outer radius — e.g. a pipe's inner bore
Advertisement
240 × 600
Ad Space
Paste your ad tag here

What Is a Cylinder? A Complete Guide

A cylinder is a three-dimensional solid with two parallel, identical circular bases connected by a curved surface. Picture a soda can, a length of pipe, a cardboard tube, or a fuel drum — all of these are everyday cylinders. Mathematically, a right circular cylinder (the type this calculator handles, and by far the most common in practice) has its axis running perpendicular to both circular bases, meaning the sides go straight up rather than leaning.

Two measurements completely define a cylinder's size: the radius (r) of its circular base, and the height (h) — the perpendicular distance between the two bases. From just these two numbers, every other property of the cylinder (volume, surface area, circumference, diameter) can be calculated directly.

Key Definition: Volume measures how much space is inside the cylinder (cubic units), while surface area measures the total area of its outer "skin" (square units) — the two circular ends plus the curved side wrapped around them.
V = πr²h
Volume Formula
2πrh
Lateral Area
2
Values Needed
4
Calculator Modes

Where Cylinders Show Up in Everyday Life

  • Packaging: Soda cans, paint buckets, oil drums, and shipping tubes
  • Plumbing and construction: Pipes, columns, silos, and concrete pillars
  • Storage and industry: Water tanks, fuel tanks, and chemical storage vessels
  • Everyday objects: Candles, batteries, drinking glasses, and rolling pins
  • Engineering: Engine cylinders, hydraulic rams, and rotating shafts

Right Cylinder vs. Oblique Cylinder

A right cylinder has its sides perpendicular to its circular bases — like a can standing upright. An oblique cylinder leans to one side, with its sides at an angle to the bases, like a stack of coins pushed slightly sideways. Despite looking different, both share the exact same volume formula, V = πr²h, as long as the height is measured as the perpendicular distance between the two base planes rather than along the slanted side — a consequence of a geometric principle known as Cavalieri's principle, which states that two solids with the same base area and height contain the same volume, regardless of how the material is offset or sheared between the two ends.

Cylinder Formulas — Volume, Surface Area, and More

Every property of a cylinder builds from the same two starting values: radius and height. Here's the complete formula set this calculator uses, with a worked example for each.

1. Volume

Volume is the base's circular area multiplied by the height — essentially stacking the circular base upward through the cylinder's full height.

V = π × r² × h
✔ Example

A cylinder has radius 4 cm and height 10 cm. V = π × 4² × 10 = π × 16 × 10 ≈ 502.65 cm³

2. Lateral (Side) Surface Area

The lateral surface area is the curved wall of the cylinder — imagine peeling off the paper label from a soda can and laying it flat: it forms a rectangle whose width is the base's circumference and whose height matches the cylinder's height.

L = 2 × π × r × h
✔ Example

Using the same cylinder (r = 4 cm, h = 10 cm): L = 2 × π × 4 × 10 ≈ 251.33 cm²

3. Total Surface Area

Total surface area adds the two circular end caps to the lateral area.

T = 2πrh + 2πr²    =    2πr(h + r)
✔ Example

T = 251.33 + 2 × π × 4² = 251.33 + 100.53 ≈ 351.86 cm²

4. Finding Height from Volume

Rearranging the volume formula solves for height when the volume and radius are already known — useful for sizing a tank or container to hold a specific quantity.

h = V ÷ (πr²)
✔ Example

A tank needs to hold 500 liters (500,000 cm³) with a radius of 40 cm. h = 500,000 ÷ (π × 40²) ≈ 99.47 cm

5. Finding Radius from Volume

Rearranging the same formula the other way solves for radius when volume and height are known.

r = √(V ÷ (πh))
✔ Example

A cylinder needs to hold 500 cm³ at a height of 10 cm. r = √(500 ÷ (π × 10)) ≈ 3.99 cm

6. Hollow Cylinder (Pipe) Volume

A pipe or tube is a hollow cylinder — the material volume is the outer cylinder's volume minus the inner (hollow) cylinder's volume.

Material Volume = π(R² − r²)h    (R = outer radius, r = inner radius)
✔ Example

A steel pipe has outer radius 5 cm, inner radius 4 cm, and length 20 cm. Material Volume = π(5² − 4²) × 20 = π × 9 × 20 ≈ 565.49 cm³ of steel

Quick Formula Reference

Volume
V = πr²h
Lateral Area
L = 2πrh
Total Surface Area
T = 2πrh + 2πr²
Base Area
B = πr²
Circumference
C = 2πr
Height (from V, r)
h = V ÷ πr²
Radius (from V, h)
r = √(V ÷ πh)
Hollow Volume
π(R²−r²)h

Cylinder Volume Units — Quick Conversion Reference

Cylinder volume is naturally expressed in cubic units matching whatever length unit was used for the radius and height (cm → cm³, m → m³, and so on). Since liquid capacity is often described in liters or gallons instead, this calculator automatically shows a practical "also equals" conversion alongside every volume result.

Unit³Equal to (liters)Typical Use
1 mm³0.000001 LTiny components, droplets
1 cm³ (= 1 mL)0.001 LCans, bottles, small containers
1 m³1,000 LWater tanks, storage silos
1 in³0.0163871 LUS small parts, engine displacement
1 ft³28.3168 LUS tanks and drums
Typical Volumes of Everyday Cylindrical Objects (liters, log scale)

Real-World Cylinder Calculation Examples

Cylinder calculations come up constantly in packaging, plumbing, construction, and everyday problem-solving. The following worked examples show the formulas applied to practical situations.

Example 1 — Soda Can Volume

A standard soda can has an inner radius of about 3.2 cm and a height of about 12.2 cm.

  • V = π × 3.2² × 12.2 ≈ 392.5 cm³ (≈ 392.5 mL, close to the standard 355 mL can once wall thickness and headspace are accounted for)

Example 2 — Sizing a Cylindrical Water Tank

A homeowner needs a tank that holds 1,000 liters (1,000,000 cm³) and wants to know the height if the tank has a 50 cm radius.

  • h = 1,000,000 ÷ (π × 50²) ≈ 127.32 cm tall

Example 3 — Concrete Needed for a Cylindrical Pillar

A support pillar has a radius of 20 cm and a height of 300 cm.

  • V = π × 20² × 300 ≈ 376,991 cm³ ≈ 377 liters of concrete (≈ 0.377 m³)

Example 4 — Steel Volume for a Pipe Section

A steel pipe has an outer radius of 6 cm, an inner radius of 5 cm, and is 150 cm long.

  • Material Volume = π(6² − 5²) × 150 = π × 11 × 150 ≈ 5,183.6 cm³ of steel

Example 5 — Paint Needed for an Oil Drum

A standard 55-gallon (≈208 L) drum has a radius of about 29 cm and a height of about 88 cm, and needs full exterior painting.

  • Total Surface Area = 2π(29)(88) + 2π(29²) ≈ 16,041 + 5,281 ≈ 21,322 cm² ≈ 2.13 m² of surface to paint

Reference: Common Cylindrical Object Sizes

ObjectApprox. RadiusApprox. HeightApprox. Volume
Standard soda can3.2 cm12.2 cm≈ 355 mL
Toilet paper roll (tube)2.1 cm11 cm≈ 152 cm³
Standard candle (pillar)3.5 cm15 cm≈ 577 cm³
55-gallon oil drum29 cm88 cm≈ 208 L
Small residential water tank50 cm127 cm≈ 1,000 L
Standard AA battery0.7 cm5 cm≈ 7.7 cm³

How to Measure a Real Cylinder

Getting an accurate volume or surface area starts with accurate measurements. A soft measuring tape or a rigid ruler both work, depending on the object's size and accessibility.

Measuring Radius

It's usually easier to measure the diameter — the full distance straight across the circular top or bottom, through the center — and then divide by two to get the radius. Measuring diameter directly tends to be more accurate than trying to locate the exact center point by eye for a direct radius measurement.

Measuring Height

Measure the straight, perpendicular distance between the two circular bases. For an upright object like a can or tank, this is simply how tall it stands. For a cylinder lying on its side, such as a horizontal pipe or tank, measure along the central axis from one flat end to the other rather than diagonally.

Practical Tip: For a hollow object like a pipe, measure both the outer diameter and the inner (bore) diameter separately — this calculator's Hollow/Pipe mode needs both radii to calculate the actual material volume, not just the overall size.

Cylinder Volume Compared to Other Common Shapes

Cylinders share the same base-area-times-height logic as several other common 3D shapes, which makes them a useful reference point for understanding volume formulas more broadly.

ShapeVolume FormulaRelationship to Cylinder
CylinderV = πr²hBase reference shape
ConeV = ⅓πr²hExactly one-third the volume of a cylinder with the same base and height
SphereV = 4/3πr³A sphere inscribed in a cylinder (touching top, bottom, and sides) fills exactly two-thirds of the cylinder's volume
Rectangular PrismV = l × w × hSame "base area × height" logic, using a rectangular base instead of a circular one

The cone relationship is especially useful to remember: given identical radius and height, a cone always holds exactly one-third the volume of a cylinder — which is why three cone-shaped scoops of ice cream, by volume, would fill one cylindrical container of the same width and height. If you need to calculate volumes for these related shapes directly, the Volume Calculator and Surface Area Calculator cover cones, spheres, and several other solids using the same step-by-step approach as this page.

Common Mistakes When Calculating Cylinder Volume

A few recurring errors account for most incorrect cylinder calculations — worth double-checking before finalizing any result, especially for material or capacity planning where a mistake can be costly.

  • Using diameter instead of radius: The volume and surface area formulas both call for radius, not diameter. Plugging in a diameter value directly (without dividing by two first) roughly quadruples the calculated volume, since radius is squared in the formula.
  • Mixing units: Radius and height must be in the same unit before calculating. Mixing centimeters and meters, or inches and feet, without converting first produces a meaningless result.
  • Measuring slant height instead of true height: For a leaning or tilted cylinder, height must be the perpendicular distance between the two base planes — not the longer distance measured along the angled side.
  • Forgetting the end caps for total surface area: Lateral surface area alone only covers the curved side. Painting or wrapping a fully enclosed cylinder requires the total surface area, which adds both circular ends.
  • Confusing volume with capacity after accounting for wall thickness: For real containers like tanks or pipes, the outer dimensions and the usable internal capacity can differ once wall thickness is considered — the Hollow/Pipe mode in this calculator is built specifically for that distinction.

Advanced Cylinder Concepts

How Scaling Affects Volume vs. Surface Area

When every dimension of a cylinder is scaled by a factor of k, its surface area scales by k², while its volume scales by k³. This means doubling both the radius and height of a cylinder doesn't just double its capacity — it multiplies it by eight.

Scale factor k: Surface Area × k²   |   Volume × k³
✔ Example

A cylinder with r = 2 cm, h = 5 cm has V ≈ 62.8 cm³ and total SA ≈ 87.9 cm². Doubling both dimensions (r = 4, h = 10) gives V ≈ 502.7 cm³ (8× larger) and SA ≈ 351.9 cm² (4× larger) — volume grows twice as fast as surface area.

Volume vs. Surface Area Growth When Scaling a Cylinder

Why This Matters for Tank and Container Design

Because volume scales faster than surface area, larger cylindrical tanks are more material-efficient per unit of capacity than smaller ones — a large tank holds proportionally more liquid relative to the amount of steel or plastic used to build its walls. This is part of why industrial storage tends toward fewer, larger tanks rather than many small ones when capacity requirements allow it.

Cylinders vs. Prisms

A cylinder is sometimes described as a special case of a more general shape called a prism — specifically, a prism with a circular cross-section repeated (or "extruded") along its height. Like any prism, its volume is simply the base area multiplied by height, which is exactly why the cylinder volume formula (V = πr²h) has the same basic shape as the volume formula for a rectangular prism (V = length × width × height) — only the shape of the base differs.

Cavalieri's Principle and Oblique Cylinders

Cavalieri's principle states that two solids with matching cross-sectional areas at every height contain the same volume, even if one solid is sheared or offset compared to the other. This is exactly why an oblique (leaning) cylinder has the same volume formula as a right cylinder — provided height is always measured as the perpendicular distance between the two parallel base planes, not along the slanted side wall.

Frequently Asked Questions About Cylinder Calculations

Answers to the most commonly searched cylinder calculation questions — from basic formulas to real-world applications.

V = π × r² × h, where r is the base radius and h is the height. Example: r = 4 cm, h = 10 cm → V = π × 16 × 10 ≈ 502.65 cm³.
Total surface area is T = 2πrh + 2πr², combining the curved lateral surface with the two circular ends. For r = 4 cm, h = 10 cm, total SA ≈ 351.86 cm².
Use h = V ÷ (πr²). Example: V = 500,000 cm³, r = 40 cm → h = 500,000 ÷ (π × 1600) ≈ 99.47 cm.
Use r = √(V ÷ (πh)). Example: V = 500 cm³, h = 10 cm → r = √(500 ÷ 31.42) ≈ 3.99 cm.
Lateral area (2πrh) is just the curved side, excluding top and bottom. Total area (2πrh + 2πr²) adds both circular end caps. Use lateral area for open-topped containers, total for fully enclosed ones.
Material volume = π(R² − r²)h, where R is outer radius and r is inner radius. Example: R = 5 cm, r = 4 cm, h = 20 cm → π(25−16)×20 ≈ 565.49 cm³.
Yes — as long as height is the perpendicular distance between the two base planes (not the slanted side length), V = πr²h still applies, per Cavalieri's principle.
Doubling both radius and height multiplies volume by 2³ = 8, while surface area only increases by 2² = 4 — volume scales with the cube of the scale factor, surface area with the square.
Volume comes out in cubic units matching your radius/height unit (cm → cm³, which equals mL). For larger tanks, converting to liters or gallons is usually more practical — this calculator shows that conversion automatically.
Exactly 1,000 liters, regardless of the container's shape — a convenient unit for sizing larger cylindrical tanks.
Radius runs from the center to the edge; diameter runs all the way across through the center — exactly double the radius. Cylinder formulas use radius, so divide a measured diameter by two first.
Yes — select inches or feet as your unit before entering values, and all results including the liters/gallons conversion will adjust accordingly.

Related Calculators