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
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.
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.
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.
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 = 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.
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.
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.
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
V = πr²hL = 2πrhT = 2πrh + 2πr²B = πr²C = 2πrh = V ÷ πr²r = √(V ÷ πh)π(R²−r²)hCylinder 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 L | Tiny components, droplets |
| 1 cm³ (= 1 mL) | 0.001 L | Cans, bottles, small containers |
| 1 m³ | 1,000 L | Water tanks, storage silos |
| 1 in³ | 0.0163871 L | US small parts, engine displacement |
| 1 ft³ | 28.3168 L | US tanks and drums |
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
| Object | Approx. Radius | Approx. Height | Approx. Volume |
|---|---|---|---|
| Standard soda can | 3.2 cm | 12.2 cm | ≈ 355 mL |
| Toilet paper roll (tube) | 2.1 cm | 11 cm | ≈ 152 cm³ |
| Standard candle (pillar) | 3.5 cm | 15 cm | ≈ 577 cm³ |
| 55-gallon oil drum | 29 cm | 88 cm | ≈ 208 L |
| Small residential water tank | 50 cm | 127 cm | ≈ 1,000 L |
| Standard AA battery | 0.7 cm | 5 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.
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.
| Shape | Volume Formula | Relationship to Cylinder |
|---|---|---|
| Cylinder | V = πr²h | Base reference shape |
| Cone | V = ⅓πr²h | Exactly one-third the volume of a cylinder with the same base and height |
| Sphere | V = 4/3πr³ | A sphere inscribed in a cylinder (touching top, bottom, and sides) fills exactly two-thirds of the cylinder's volume |
| Rectangular Prism | V = l × w × h | Same "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.
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.
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.
Related Calculators
