Skip to main content
🔬 Advanced

Cylinder Volume Calculator

Calculate the volume and surface area of a cylinder. Enter radius and height to get instant results. This free math tool gives instant, accurate results.

★★★★★ 4.8/5 · 📊 0 calculations · 🔒 Private & free

Cylinder Volume and Surface Area Formulas

A cylinder is a three-dimensional solid with two parallel circular bases connected by a curved lateral surface. The key measurements are the radius (r) of the circular bases and the height (h) between them. Understanding these formulas unlocks a vast range of practical calculations, from estimating how much water a tank holds to calculating the amount of sheet metal needed to fabricate a pipe.

Volume = πr²h — the base area (πr²) times the height. Intuitively: stacking infinite thin circular discs of area πr² along the height h gives total volume πr²h. Lateral surface area = 2πrh — unrolling the curved surface gives a rectangle of width 2πr (circumference) and height h. Total surface area = 2πr(r+h) = 2πrh + 2πr² — lateral area plus two circular caps.

Example: a cylinder with r=3 cm and h=10 cm has volume = π×9×10 = 90π ≈ 282.74 cm³, lateral surface = 2π×3×10 = 60π ≈ 188.50 cm², total surface = 2π×3×(3+10) = 78π ≈ 245.04 cm². This corresponds to a container roughly the size of a standard soup can, holding just over a quarter of a liter.

The value of π (pi) used in all cylinder calculations is approximately 3.14159265358979. For most practical purposes, rounding to 3.14159 is sufficient. Scientific calculators and our tool use the full IEEE 754 double-precision value, giving results accurate to at least 10 significant figures.

Step-by-Step Cylinder Volume Calculation

Follow these steps to manually calculate cylinder volume and surface area for any cylinder. This walkthrough is helpful for verifying calculator results and for understanding the mathematics in academic settings.

  1. Identify the radius (r) and height (h) — if you're given the diameter d, divide by 2: r = d/2.
  2. Calculate r² — square the radius. For r = 5: r² = 25.
  3. Multiply by π and h — Volume = π × r² × h = 3.14159 × 25 × h. For h = 8: V = 3.14159 × 200 = 628.32 cubic units.
  4. For lateral surface area — compute 2 × π × r × h. For r=5, h=8: LSA = 2 × 3.14159 × 5 × 8 = 251.33 square units.
  5. For total surface area — compute 2 × π × r × (r + h). For r=5, h=8: TSA = 2 × 3.14159 × 5 × 13 = 408.41 square units.

A common mistake is using the diameter instead of the radius in the formula. Remember: the diameter appears in the circumference formula (C = πd), but the radius is used in area and volume formulas (πr²). Always halve the diameter before computing volume.

MeasurementFormulaExample (r=5, h=8)
Base Areaπr²78.54 sq units
Volumeπr²h628.32 cu units
Lateral Surface Area2πrh251.33 sq units
Total Surface Area2πr(r+h)408.41 sq units
Circumference of Base2πr31.42 units

Types of Cylinders and Related Solids

A right cylinder (the standard type) has its axis perpendicular to its bases. An oblique cylinder has a tilted axis — like a leaning stack of coins. The volume formula πr²h still applies to oblique cylinders (Cavalieri's principle: slices at every height have the same area). However, the surface area of an oblique cylinder is more complex, as the lateral surface is a parallelogram rather than a rectangle when unrolled.

A hollow cylinder (like a pipe or a tube) has volume = πh(R²−r²), where R is the outer radius and r is the inner radius. This formula simply subtracts the inner cylinder volume from the outer. Surface area for hollow cylinders adds the two annular rings (πR² − πr² each) to the outer and inner lateral surfaces. These calculations are critical in plumbing, pipe insulation, and structural engineering.

The cylinder relates elegantly to other solids. A cone with the same base and height has exactly 1/3 the cylinder's volume — a fact proved by Archimedes using exhaustion methods. A sphere fits exactly inside a cylinder of equal radius and height (h=2r), and has 2/3 the cylinder's volume — a result Archimedes considered his greatest discovery, and reportedly had inscribed on his tombstone. A hemisphere inside a cylinder equals 2/3 of the cylinder's volume as well.

SolidVolume FormulaRatio to Cylinder (same r, h=2r)
Cylinderπr²h1 (reference)
Sphere (inscribed)(4/3)πr³2/3
Cone (same base/height)(1/3)πr²h1/3
Hemisphere(2/3)πr³1/3 (per hemisphere)

Real-World Applications of Cylinder Calculations

Cylinder volume calculations are essential across dozens of industries and everyday situations. Understanding how to apply the formula correctly saves time, money, and material.

Beverage containers: A standard 12 oz soda can has r ≈ 3.2 cm, h ≈ 12.2 cm, giving volume ≈ 392 cm³ ≈ 392 mL — matching the 355 mL fill volume (there's headspace above the liquid). The exact can dimensions are optimized for stacking, manufacturing, and material use.

Engine displacement: The swept volume of an engine cylinder equals πr²×stroke length. A 4-cylinder engine with bore diameter 86 mm (r=43 mm) and stroke 86 mm: single cylinder = π×43²×86 ≈ 499,640 mm³ ≈ 0.5 L. Four cylinders = 2.0 L total displacement. This explains why "a 2.0L engine" has four cylinders of ~500 cc each.

Concrete pillars and swimming pools: Estimating material quantities for construction projects. A cylindrical concrete column with r=0.3 m and h=4 m requires π×0.09×4 ≈ 1.131 m³ of concrete, which at ~2,400 kg/m³ weighs roughly 2.7 metric tons.

Water towers: A cylindrical water tower with r=5 m and h=10 m holds π×25×10 ≈ 785 m³ ≈ 785,000 liters — enough for a small neighborhood's daily water needs. Utilities use these calculations to plan storage and distribution capacity.

Food canning and packaging: The optimal cylinder (minimizing surface area for a given volume) has height = diameter (h = 2r). This minimizes packaging material. Real-world cans deviate slightly for manufacturing, shelf stacking, and ergonomic reasons, but the mathematical optimum informs sustainable packaging design.

Cylinder Volume in Engineering and Manufacturing

In engineering, the cylinder is one of the most fundamental geometric shapes used in design. From hydraulic cylinders to pressure vessels, accurate volume and surface area calculations are critical for safety, material sourcing, and performance specifications.

Hydraulic cylinders in heavy machinery use volume calculations to determine fluid displacement, which directly affects the force and speed of the cylinder stroke. Engineers calculate the exact internal volume to size hydraulic pumps and reservoir tanks appropriately.

Pressure vessels (boilers, gas tanks, compressed air cylinders) must be designed to withstand internal pressure safely. The wall thickness required is calculated based on internal radius, internal pressure, and material yield strength (using the thin-walled pressure vessel formula: t = pR / (2σ), where t is wall thickness, p is internal pressure, R is radius, and σ is allowable stress). A cylinder with larger radius requires thicker walls for the same pressure rating.

Heat exchangers consist of hundreds of small tubes (cylinders) arranged to transfer heat between fluids. Engineers calculate total internal volume (sum of all tube volumes) to determine fluid residence time, and total external surface area (sum of lateral surfaces) to determine heat transfer capacity.

ApplicationKey CalculationTypical Units
Tank capacityVolume = πr²hLiters, gallons, m³
Pipe insulationHollow cylinder surface aream², ft²
Engine displacementVolume × number of cylinderscc, L
Concrete pourVolume × concrete densitym³, kg
Paint/coatingLateral surface aream², ft²

Common Cylinder Sizes and Volume Reference

This reference table shows common cylindrical objects, their approximate dimensions, and calculated volumes. Use it to build intuition for cylinder sizes before using the calculator for your specific dimensions.

ObjectRadius (cm)Height (cm)Volume (mL/cm³)
Standard soda can (12 oz)3.212.2≈ 393
Tall beer can (16 oz)3.316.0≈ 548
Standard wine bottle3.7530.0≈ 1,326
Coffee mug (12 oz)4.09.5≈ 478
Gallon paint can8.020.3≈ 4,073
50-gallon water heater22.0130.0≈ 198,000

Notice how volume scales with the square of the radius. Doubling the radius quadruples the volume (for the same height). A cylinder with r=6 holds four times as much as r=3 at the same height. This nonlinear relationship explains why wide, short tanks often hold far more than they appear to.

Units and Unit Conversion for Cylinder Calculations

Cylinder calculations can be performed in any consistent unit system, but care is required when mixing units. The volume unit will always be the cube of the length unit: centimeters → cubic centimeters (cm³), meters → cubic meters (m³), inches → cubic inches (in³), feet → cubic feet (ft³).

Converting between volume units is essential in practical applications:

When working in imperial units (inches, feet), remember to convert all dimensions to the same unit before calculating. A cylinder with radius in inches and height in feet must first convert: if r=2 in and h=1 ft=12 in, then V = π×4×12 ≈ 150.8 cubic inches ≈ 2.47 liters.

How to Use This Cylinder Volume Calculator

Using our calculator is straightforward. Enter the radius of the circular base and the height of the cylinder, then click Calculate. Results appear instantly, showing volume, lateral surface area, and total surface area.

Tips for accurate input:

Results are given to 6 decimal places for precision, though most practical applications only need 2–3. The calculator uses JavaScript's Math.PI constant, which provides the most accurate floating-point representation of π available in modern browsers.

Frequently Asked Questions

What are the units for cylinder volume?

Volume is in cubic units: if radius and height are in cm, volume is in cm³. If in meters, volume is in m³. 1 liter = 1,000 cm³ = 1 dm³. 1 m³ = 1,000 liters. For imperial: 1 cubic inch = 16.387 cm³; 1 cubic foot = 28.317 liters.

How much does a cylinder hold compared to a cone of the same size?

A cone with the same base radius and height holds exactly 1/3 the volume of the cylinder. Cylinder volume = πr²h; Cone volume = (1/3)πr²h. Three cones exactly fill one cylinder of the same dimensions — a classic demonstration in geometry classes.

What is the difference between lateral surface area and total surface area?

Lateral surface area is just the curved side (2πrh) — like the label on a can. Total surface area includes both circular caps (adding 2πr²), giving 2πr(r+h). Use lateral area for problems like painting or wrapping the curved side only. Use total surface area when enclosing the entire solid, such as calculating material for a closed tank.

What is the optimal cylinder shape to minimize material for a given volume?

The optimal cylinder has height equal to diameter (h = 2r). This minimizes total surface area for a fixed volume, meaning least material. For example, a 1-liter optimal cylinder has r ≈ 5.42 cm, h ≈ 10.84 cm. Real-world cans deviate from this for manufacturing and shelf-packing convenience.

How do I calculate the volume of a hollow cylinder (pipe)?

Volume of hollow cylinder = π × h × (R² − r²), where R is the outer radius and r is the inner radius. For a pipe with outer diameter 10 cm (R=5), inner diameter 8 cm (r=4), and length 100 cm: V = π × 100 × (25−16) = 900π ≈ 2,827 cm³.

Does the cylinder volume formula work for oblique cylinders?

Yes! Cavalieri's principle states that if two solids have equal cross-sectional areas at every height, they have equal volumes. An oblique cylinder has the same circular cross-sections as a right cylinder, so V = πr²h applies regardless of tilt angle. However, the surface area of an oblique cylinder is larger than for a right cylinder of the same dimensions.

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

Rearrange the formula: V = πr²h → r² = V/(πh) → r = √(V/(πh)). For a cylinder with volume 500 cm³ and height 10 cm: r = √(500/(π×10)) = √(15.915) ≈ 3.99 cm.

What is the difference between volume and capacity?

Volume is the total geometric space occupied by or enclosed within an object. Capacity refers to how much a container can hold, which may be slightly less than the geometric volume due to wall thickness, fill lines, or head space. For a thin-walled container, volume ≈ capacity. For thick-walled containers, use the inner dimensions to calculate useful capacity.

How is cylinder volume used in engine specifications?

Engine displacement is the total volume swept by all pistons in one complete cycle. Each cylinder's swept volume = π × (bore/2)² × stroke. "Bore" is the inner cylinder diameter and "stroke" is the piston travel distance. A 4-cylinder 2.0L engine has each cylinder displacing 500 cc. More displacement generally means more power potential (though efficiency and design matter too).

Can I use this calculator for metric and imperial units?

Yes — the calculator works with any unit system. Simply enter radius and height in the same unit (both in inches, both in centimeters, etc.) and the results will be in the corresponding cubic unit. To convert cubic inches to liters, multiply by 0.016387. To convert cubic feet to gallons, multiply by 7.4805.

},{"@type":"Question","name":"How much does a cylinder hold compared to a cone of the same size?","acceptedAnswer":{"@type":"Answer","text":"A cone with the same base radius and height holds exactly 1/3 the volume of the cylinder. Cylinder volume = πr²h, Cone volume = (1/3)πr²h."}},{"@type":"Question","name":"What is the difference between lateral surface area and total surface area?","acceptedAnswer":{"@type":"Answer","text":"Lateral surface area is just the curved side (2πrh) — like the label on a can. Total surface area includes both circular caps (2πr² extra), giving 2πr(r+h). Use lateral area for problems like painting or wrapping the side only."}},{"@type":"Question","name":"What is the optimal cylinder shape to minimize material for a given volume?","acceptedAnswer":{"@type":"Answer","text":"The optimal cylinder has height equal to diameter (h = 2r). This minimizes total surface area for a fixed volume, meaning least material."}},{"@type":"Question","name":"How do I calculate the volume of a hollow cylinder?","acceptedAnswer":{"@type":"Answer","text":"Volume of hollow cylinder = π × h × (R² − r²), where R is the outer radius and r is the inner radius."}},{"@type":"Question","name":"Does the cylinder volume formula work for oblique cylinders?","acceptedAnswer":{"@type":"Answer","text":"Yes! By Cavalieri's principle, V = πr²h applies regardless of tilt angle. However, surface area is larger for oblique cylinders."}},{"@type":"Question","name":"How do I find the radius if I know the volume and height?","acceptedAnswer":{"@type":"Answer","text":"Rearrange: r = √(V/(πh))."}},{"@type":"Question","name":"What is the difference between volume and capacity?","acceptedAnswer":{"@type":"Answer","text":"Volume is the total geometric space. Capacity is how much a container can hold, which may be slightly less due to wall thickness or head space."}},{"@type":"Question","name":"How is cylinder volume used in engine specifications?","acceptedAnswer":{"@type":"Answer","text":"Engine displacement = π × (bore/2)² × stroke per cylinder, summed over all cylinders."}},{"@type":"Question","name":"Can I use this calculator for metric and imperial units?","acceptedAnswer":{"@type":"Answer","text":"Yes — enter both values in the same unit and results will be in the corresponding cubic unit."}}]}