ES EN FR PT DE IT

Cylinder Volume Calculator

Cylinder Volume Calculator. Free online calculator with formula, examples and step-by-step guide.

The Cylinder Volume Calculator is a free online math calculator. Cylinder Volume Calculator. Free online calculator with formula, examples and step-by-step guide. Get instant results with the detailed formula and step-by-step examples.
Inputs
Technical Parameters
Dimensions
Result
Enter values and press Calculate

What is Cylinder Volume?

Cylinder volume calculates the three-dimensional space inside any cylindrical object — shapes with two parallel circular bases connected by a curved surface. Cylinders dominate engineering, manufacturing, and daily life: water pipes and hydraulic systems, food cans and propane tanks, engine cylinders and storage silos, syringes and drinking glasses, pillars and columns.

Volume tells you capacity (how much liquid a tank holds), material requirements (how much concrete fills a column), or displacement (how much fluid a piston moves). The formula is straightforward: V = π × r² × h, where r is the radius of the circular base and h is the height or length of the cylinder.

Practical example: A standard propane tank has a diameter of 30 cm and length of 60 cm. Radius = 15 cm. Volume = π × 15² × 60 = π × 225 × 60 = 42,412 cm³ = 42.4 liters. But propane tanks are only filled to 80% capacity for safety — usable volume is 33.9 liters, which holds about 17 kg of propane. This calculation determines refill costs, exchange frequency, and whether a tank meets your cooking or heating needs.

Formulas Explained with Actual Calculations

Basic Cylinder Volume Formula: V = π × r² × h. This formula stacks circular disks of area πr² to height h. Example: A hydraulic cylinder has bore (diameter) 80 mm and stroke (travel length) 450 mm. Radius = 40 mm = 4 cm. Volume = π × 4² × 45 = π × 16 × 45 = 2,262 cm³ = 2.26 liters. This cylinder displaces 2.26 liters of hydraulic fluid per full stroke — critical for pump sizing and reservoir capacity.

Diameter-Based Formula: V = (π/4) × d² × h. When you have diameter instead of radius, use this directly. Since r = d/2, we get r² = d²/4, so V = π × (d²/4) × h = (π/4) × d² × h. The factor π/4 ≈ 0.7854. Example: A pipe has 150 mm diameter and 6 m length. V = 0.7854 × 15² × 600 = 0.7854 × 225 × 600 = 106,029 cm³ = 106 liters. This pipe holds 106 liters when full — important for water hammer calculations and chemical dosing.

Hollow Cylinder (Pipe) Volume: V = π × (R² - r²) × h, where R is outer radius and r is inner radius. This calculates the material volume of the pipe wall itself. Example: A steel pipe has outer diameter 114 mm, wall thickness 6 mm, length 12 m. Outer radius R = 57 mm = 5.7 cm. Inner radius r = 57 - 6 = 51 mm = 5.1 cm. Material volume = π × (5.7² - 5.1²) × 1200 = π × (32.49 - 26.01) × 1200 = π × 6.48 × 1200 = 24,429 cm³. Steel density is 7.85 g/cm³, so weight = 24,429 × 7.85 = 191,768 g = 192 kg per pipe. Order 10 pipes: 1,920 kg total weight for shipping and structural calculations.

Partial Fill Volume (Horizontal Tank): For horizontal cylindrical tanks partially filled, use V = L × [r² × arccos((r-h)/r) - (r-h) × √(2rh - h²)], where h is liquid depth from bottom. Example: A 2,000-liter fuel tank (diameter 120 cm, length 180 cm) is filled to 45 cm depth. Radius = 60 cm. V = 180 × [60² × arccos((60-45)/60) - (60-45) × √(2×60×45 - 45²)] = 180 × [3600 × arccos(0.25) - 15 × √(5400 - 2025)] = 180 × [3600 × 1.318 - 15 × 58.09] = 180 × [4745 - 871] = 180 × 3874 = 697,320 cm³ = 697 liters. Tank is 35% full by depth but holds 35% of volume at midpoint — the relationship is nonlinear.

Surface Area Formulas: Lateral surface area (curved side only): A_lateral = 2 × π × r × h. Total surface area (including ends): A_total = 2πrh + 2πr². Example: A cylindrical water tank (radius 85 cm, height 150 cm) needs painting. Lateral area = 2 × π × 85 × 150 = 80,111 cm² = 8.01 m². End areas = 2 × π × 85² = 2 × π × 7225 = 45,396 cm² = 4.54 m². Total area = 12.55 m². Paint coverage is 10 m² per liter — you need 1.26 liters, round up to 1.5 liters for two coats.

6 Step-by-Step Instructions

  1. Identify what you're calculating: Determine if you need internal capacity (fluid volume), material volume (pipe wall), or surface area (paint/coating). For capacity, use inner dimensions. For material weight, use outer minus inner dimensions. For coating, use surface area formulas. Example: Calculating how much water a PVC pipe holds — use inner diameter. Calculating pipe weight for shipping — use outer and inner diameters to find wall volume.
  2. Measure diameter (or radius) and length/height: Use calipers for small objects (under 30 cm), tape measure for larger ones. For pipes, measure outer diameter — wall thickness is often marked (e.g., "PN16" or "Schedule 40"). Measure length along the cylinder's axis, not diagonally. Example: A concrete column measures 45 cm diameter, 3.2 m height. For a pipe: 50 mm outer diameter, 3.5 mm wall thickness, 4.5 m length.
  3. Convert diameter to radius if using V = πr²h: Radius = diameter ÷ 2. For 45 cm column: r = 45 ÷ 2 = 22.5 cm. For the pipe with 50 mm OD: outer radius = 25 mm, inner radius = 25 - 3.5 = 21.5 mm. Keep units consistent — if radius is in cm, convert length to cm (3.2 m = 320 cm).
  4. Square the radius: Multiply radius by itself. For the column: 22.5² = 506.25. For the pipe's inner capacity: 2.15² = 4.6225 cm². Use calculator precision — don't round intermediate steps. The squaring operation amplifies small measurement errors, so measure accurately.
  5. Multiply by π and height: V = π × r² × h. Column: π × 506.25 × 320 = 3.14159 × 506.25 × 320 = 509,066 cm³ = 0.509 m³ of concrete. Pipe capacity: π × 4.6225 × 450 = 3.14159 × 4.6225 × 450 = 6,536 cm³ = 6.54 liters. This pipe holds 6.5 liters per meter — useful for water volume calculations in plumbing systems.
  6. Convert to practical units and apply safety factors: For liquids: 1,000 cm³ = 1 liter. For construction: 1,000,000 cm³ = 1 m³. Add 5-15% for waste, spillage, or variations. Concrete column: 0.509 m³ × 1.10 (10% waste) = 0.56 m³ to order. Water tank at 80% fill: 500 liters × 0.80 = 400 liters usable. Fuel tanks: never fill beyond 90% for thermal expansion. Hydraulic cylinders: account for rod displacement (rod volume reduces return-stroke volume).

5 Real-World Examples with Specific Numbers

Example 1 — Hydraulic Press Cylinder Sizing: An industrial press must generate 35 metric tons of force at 180 bar operating pressure. Force = Pressure × Area, so Area = Force ÷ Pressure. 35,000 kg ÷ 180 bar = 350,000 N ÷ (180 × 10⁵ Pa) = 0.0194 m² = 194 cm². Area = πr², so r = √(194/π) = √61.76 = 7.86 cm. Diameter = 15.7 cm. Select standard 160 mm bore cylinder. At 180 bar, this generates: F = 180 × π × 8² = 180 × 201.06 = 36,191 kg = 36.2 tons — meets requirement. For a 500 mm stroke: Volume = π × 8² × 50 = π × 64 × 50 = 10,053 cm³ = 10 liters per stroke. Pump must deliver 10 liters per stroke at 180 bar — a 2.2 kW electric pump at 20 L/min fills cylinder in 30 seconds.

Example 2 — Residential Water Well Capacity: A well has 15 cm casing diameter. Static water level is 18 m below ground, well depth is 42 m. Water-filled height = 42 - 18 = 24 m. Radius = 7.5 cm = 0.075 m. Volume = π × 0.075² × 24 = π × 0.005625 × 24 = 0.424 m³ = 424 liters. This is the well's static storage — critical for pump selection. If household uses 600 liters/day and well recovery rate is 1.2 liters/minute (72 liters/hour), the well can sustain: 72 × 24 = 1,728 liters/day recharge plus 424 liters storage = 2,152 liters/day total capacity. For a family of 4 using 150 liters/person/day = 600 liters/day, this well is adequate with 3.6× safety margin. During drought, recovery may drop to 0.5 L/min — still adequate at 720 + 424 = 1,144 liters/day.

Example 3 — Motorcycle Engine Displacement and Compression Ratio: A single-cylinder motorcycle has bore 89 mm, stroke 66.8 mm. Radius = 44.5 mm = 4.45 cm. Displacement = π × 4.45² × 6.68 = π × 19.80 × 6.68 = 414.7 cm³ — marketed as a "400cc" motorcycle. Compression ratio affects power and fuel requirements. If combustion chamber volume (at top dead center) is 48 cm³: Compression ratio = (displacement + chamber volume) ÷ chamber volume = (414.7 + 48) ÷ 48 = 462.7 ÷ 48 = 9.64:1. This requires 95-octane fuel. To increase compression to 11:1 (for racing, 98-octane fuel): solve 11 = (414.7 + V) ÷ V, giving V = 41.5 cm³. Mill 6.5 cm³ from cylinder head — but verify piston-to-valve clearance remains safe.

Example 4 — Agricultural Grain Silo Capacity and Structural Load: A corn silo measures 7 m diameter, 18 m height to eaves. Radius = 3.5 m. Volume = π × 3.5² × 18 = π × 12.25 × 18 = 692.7 m³. Corn bulk density: 720 kg/m³. Maximum capacity: 692.7 × 720 = 498,744 kg = 499 metric tons. Grain settles and forms a conical peak (about 8% loss): usable capacity = 499 × 0.92 = 459 tons. At €165/ton corn price: silo holds €75,735 worth of grain. Structural load on foundation: 499,000 kg × 9.81 m/s² = 4,895,190 N = 4.9 MN. Foundation area (8 m diameter base): π × 4² = 50.27 m². Ground pressure: 4.9 MN ÷ 50.27 m² = 97.5 kPa. Soil bearing capacity must exceed 100 kPa — typical for compacted gravel, marginal for clay. Engineer may require wider footing or pilings.

Example 5 — Copper Pipe Material Cost for Commercial Building: A hospital requires 450 meters of 35 mm outer diameter copper pipe (type L, 2.5 mm wall thickness) for medical gas lines. Outer radius = 17.5 mm, inner radius = 15 mm. Copper volume per meter: π × (1.75² - 1.5²) × 100 = π × (3.0625 - 2.25) × 100 = π × 0.8125 × 100 = 255.25 cm³/m. Total copper: 255.25 × 450 = 114,863 cm³. Copper density: 8.96 g/cm³. Weight: 114,863 × 8.96 = 1,029,172 g = 1,029 kg. At €9.20/kg copper: material cost = 1,029 × €9.20 = €9,467. Add fittings (elbows, tees, valves) at 35% of pipe cost: €9,467 × 1.35 = €12,780 total material. Labor (€85/hour, 3.5 m/hour installation): 450 ÷ 3.5 = 129 hours × €85 = €10,965. Total installed cost: €23,745 — budget accordingly.

4 Common Mistakes

Mistake 1: Using Diameter Directly in πr²h Formula
Plugging diameter into the radius position quadruples your result (since 2² = 4). For a 20 cm diameter, 50 cm tall cylinder: WRONG: π × 20² × 50 = 62,832 cm³. CORRECT: radius = 10 cm, π × 10² × 50 = 15,708 cm³. The error is 4× — you'd order 4× too much concrete, design a tank 4× too large, or specify a pump 4× oversized. Always halve diameter first. Quick check: if your result seems too large, verify you didn't use diameter as radius. Mnemonic: "Radius is half, don't forget to halve."

Mistake 2: Mixing Units (Centimeters with Meters, Inches with Feet)
Using radius in cm and height in meters produces nonsense. A cylinder with r = 25 cm and h = 4 m: WRONG: π × 25² × 4 = 7,854 (units? cm²·m? meaningless). CORRECT approaches: (a) All cm: π × 25² × 400 = 785,398 cm³ = 785 liters. (b) All m: π × 0.25² × 4 = 0.785 m³ = 785 liters. Same answer, consistent units. Convert ALL measurements to the same unit BEFORE calculating. Common trap: pipe diameter in inches, length in feet — convert both to inches or both to feet. 6-inch diameter, 20-foot pipe: r = 3 inches, h = 240 inches, V = π × 9 × 240 = 6,786 in³ = 29.3 gallons.

Mistake 3: Confusing Lateral Area with Volume
Lateral surface area (2πrh) and volume (πr²h) share similar terms but differ by a factor of r/2. For r = 12 cm, h = 30 cm: Lateral area = 2 × π × 12 × 30 = 2,262 cm². Volume = π × 144 × 30 = 13,572 cm³. Area is measured in square units (surface to paint or wrap), volume in cubic units (capacity to fill). Don't interchange them — painting a tank requires 2,262 cm² of coverage, filling it requires 13,572 cm³ of liquid. The numerical values differ by 6× in this case (r/2 = 6).

Mistake 4: Forgetting End Caps When Calculating Total Surface Area
For a closed cylindrical tank, lateral area alone misses the two circular ends. Tank with r = 40 cm, h = 100 cm: Lateral = 2 × π × 40 × 100 = 25,133 cm². Ends = 2 × π × 40² = 2 × π × 1600 = 10,053 cm². Total = 35,186 cm². If you order sheet metal for 25,133 cm² (lateral only), you're 28.6% short — the tank has no top or bottom! Always clarify: lateral area (curved side only) versus total surface area (including ends). Open-top tanks (some chemical storage) need lateral + one end. Closed tanks need lateral + two ends.

4-5 Pro Tips

Tip 1: Memorize the Diameter Formula V = 0.7854 × d² × h
Since π/4 = 0.785398..., you can calculate cylinder volume directly from diameter without halving first. For diameter 18 cm, height 45 cm: V = 0.7854 × 18² × 45 = 0.7854 × 324 × 45 = 11,451 cm³. This eliminates the r = d/2 step and reduces rounding errors. The factor 0.7854 is worth memorizing if you calculate cylinder volumes frequently (plumbers, mechanical engineers, machinists). Bonus: for quick mental estimates, use 0.8 instead of 0.7854 — results are 1.8% high, acceptable for rough sizing.

Tip 2: Memorize Common Pipe Volumes per Meter/Foot
Standard pipe capacities speed up estimates. Metric pipes (liters per meter): DN20 (25 mm OD) = 0.30 L/m, DN25 (32 mm) = 0.55 L/m, DN40 (50 mm) = 1.23 L/m, DN50 (63 mm) = 2.41 L/m, DN80 (90 mm) = 4.91 L/m, DN100 (110 mm) = 7.36 L/m, DN150 (160 mm) = 15.7 L/m. Imperial pipes (gallons per foot): ½" = 0.013 gal/ft, ¾" = 0.023 gal/ft, 1" = 0.041 gal/ft, 1½" = 0.093 gal/ft, 2" = 0.163 gal/ft, 3" = 0.367 gal/ft, 4" = 0.653 gal/ft, 6" = 1.47 gal/ft. Use these for water volume in plumbing (heat content calculations), drainage capacity, or chemical dosing without recalculating each time.

Tip 3: Use the Chord Formula for Horizontal Tank Partial Fill
Horizontal tanks (fuel, propane, septic) are often partially filled. The exact formula is V = L × [r² × arccos((r-h)/r) - (r-h) × √(2rh - h²)], but for quick field estimates use percentage tables. Depth as % of diameter → Volume as % of total: 10% depth = 5% volume, 20% = 14%, 30% = 25%, 40% = 37%, 50% = 50%, 60% = 63%, 70% = 75%, 80% = 86%, 90% = 95%. A 1,000-liter tank at 30 cm depth (40% of 75 cm diameter) holds about 37% = 370 liters, not 40% = 400 liters. The relationship is nonlinear — bottom and top 10% of depth contain only 5% of volume each.

Tip 4: Account for Wall Thickness in Hollow Cylinders
For pipes, tubes, and sleeves, material volume = π × (R² - r²) × h. A steel tube with OD 80 mm, wall 5 mm, length 6 m: R = 40 mm, r = 35 mm. Volume = π × (40² - 35²) × 6000 = π × (1600 - 1225) × 6000 = π × 375 × 6000 = 7,068,583 mm³ = 7,069 cm³. Steel density 7.85 g/cm³: weight = 7,069 × 7.85 = 55,492 g = 55.5 kg per tube. For structural calculations, also compute moment of inertia: I = (π/4) × (R⁴ - r⁴) = 0.7854 × (40⁴ - 35⁴) = 0.7854 × (2,560,000 - 1,500,625) = 831,947 mm⁴. This determines beam strength and deflection under load.

Tip 5: Build Intuition with Reference Cylinders
Memorize benchmark volumes for sanity checks. Standard soda can (r = 3.3 cm, h = 12 cm): V = π × 10.89 × 12 = 410 cm³ — actual is 355 mL due to tapered top and headspace. 55-gallon drum (r = 29 cm, h = 88 cm): V = π × 841 × 88 = 232,000 cm³ = 232 liters — actual 208 L due to curved ends. 4-inch Schedule 40 pipe: 0.653 gallons per foot. Car engine cylinder (86 mm bore, 86 mm stroke): π × 4.3² × 8.6 = 500 cm³ per cylinder — a 4-cylinder is 2,000 cc = 2.0L. Use these to catch calculation errors: if your "soda can" calculates to 2 liters, you made a mistake.

4 Frequently Asked Questions

How do I calculate volume of an oblique (tilted) cylinder?

Use the same formula V = πr²h — but h must be the PERPENDICULAR height between bases, not the slanted edge length. If a cylinder is tilted at angle θ from vertical with slanted length L, the perpendicular height is h = L × cos(θ). Example: A cylinder tilted 30° from vertical has slanted length 80 cm. Perpendicular height = 80 × cos(30°) = 80 × 0.866 = 69.3 cm. With radius 10 cm: V = π × 10² × 69.3 = 21,771 cm³. If you incorrectly used slanted length: π × 10² × 80 = 25,133 cm³ — 15% too high. Cavalieri's principle guarantees volume depends only on perpendicular height, not tilt angle. This applies to tilted silos, angled drill holes, and sloped pipes.

What's the difference between cylinder volume and pipe capacity?

A solid cylinder has one volume: V = πr²h. A pipe (hollow cylinder) has TWO volumes: (1) Internal capacity (what flows through it) uses INNER radius: V_capacity = π × r_inner² × h. (2) Material volume (the pipe itself) uses wall cross-section: V_material = π × (r_outer² - r_inner²) × h. Example: 4-inch Schedule 40 steel pipe has OD 4.500", ID 4.026". Per foot: Capacity = π × (4.026/2)² × 12 = 153 in³ = 0.66 gallons (flow capacity). Material = π × [(4.500/2)² - (4.026/2)²] × 12 = 38.5 in³ = 0.63 lb steel per foot (for weight calculations). Know which you need: plumbers care about capacity, structural engineers care about material weight.

How do I find height if I know volume and radius?

Rearrange the formula: h = V ÷ (πr²). Example 1: A tank must hold 3,000 liters (3 m³) with diameter 1.4 m. Radius = 0.7 m. h = 3 ÷ (π × 0.49) = 3 ÷ 1.539 = 1.95 m. This tank needs minimum 1.95 m height. Add 15 cm headspace: total height 2.10 m. Example 2: A hydraulic cylinder must displace 8 liters with 70 mm bore. Radius = 3.5 cm. h = 8,000 ÷ (π × 3.5²) = 8,000 ÷ 38.48 = 208 cm = 2.08 m stroke. That's impractically long — redesign with larger bore. At 120 mm bore (r = 6 cm): h = 8,000 ÷ (π × 36) = 70.7 cm — much more practical. Iterative design uses volume formulas in reverse.

Can I use this formula for oval or elliptical cylinders?

No — elliptical cylinders require V = π × a × b × h, where a is the semi-major axis (half the long diameter) and b is the semi-minor axis (half the short diameter). Example: An oval duct is 40 cm wide and 25 cm tall, length 3 m. a = 20 cm, b = 12.5 cm. V = π × 20 × 12.5 × 300 = π × 250 × 300 = 235,619 cm³ = 236 liters. A circular cylinder with diameter 40 cm would be π × 20² × 300 = 377 liters — 60% larger. Elliptical cylinders are common in architectural columns (fit narrow spaces), aircraft fuselages (aerodynamic), and specialized tanks (low-profile under vehicles). For approximate mental math, use average diameter: (40 + 25) ÷ 2 = 32.5 cm, then calculate as circular — results are within 5% for mild ellipses.

See also: Sphere Volume Calculator, Cone Volume Calculator, Pipe Volume Calculator, Cylinder Surface Area Calculator, Volume Converter

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-04-29.

Frequently Asked Questions

15% of 200 is 30. Calculated as 200 × 15 / 100 = 30.
Percentage change = ((final − initial) / |initial|) × 100. From 80 to 100 it is (20/80)×100 = 25%.
The Pythagorean theorem states that in a right triangle, c² = a² + b², where c is the hypotenuse and a, b are the legs.
If A corresponds to B, and we want what corresponds to C: X = (B × C) / A.