ES EN FR PT DE IT

Rectangle Calculator

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

The Rectangle Calculator is a free online math calculator. Rectangle 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

Cylinder Volume Calculator: Capacity and Surface Area

What is a Cylinder?

A cylinder is a three-dimensional solid with two parallel circular bases connected by a curved surface. Picture a soup can, a water pipe, or a battery—these everyday objects are all cylinders. The shape maintains the same circular cross-section throughout its entire height.

A right circular cylinder has its axis perpendicular to the bases. The height (h) measures the perpendicular distance between the two circular faces. The radius (r) is the distance from the center to the edge of either base. For a standard soda can with radius 3.3 cm and height 12.2 cm, these two measurements completely define its size.

The volume tells you how much the cylinder can hold—its capacity. Our soda can holds V = π × 3.3² × 12.2 ≈ 417 cubic centimeters, which equals about 417 milliliters or 14 fluid ounces. This matches the standard 12-oz can size (the extra space accounts for foam and headroom).

Surface area measures the total material needed to construct the cylinder. This includes both circular ends plus the curved side. For manufacturers, surface area determines how much aluminum, plastic, or glass is required. For painters, it determines how much coating is needed to cover a cylindrical tank or column.

How It Works: Cylinder Formulas Explained

Three key formulas describe cylinder geometry, each serving different practical purposes.

Volume Formula: V = πr²h. This multiplies the base area (πr²) by the height. Think of stacking circular disks—the volume is simply the area of one disk times the number of disks (height). For a cylinder with r = 5 cm and h = 10 cm: V = π × 25 × 10 = 250π ≈ 785.4 cubic centimeters.

Lateral Surface Area: LA = 2πrh. Imagine cutting the curved surface vertically and unrolling it flat. You get a rectangle with width equal to the circumference (2πr) and height h. For r = 5 cm, h = 10 cm: LA = 2π × 5 × 10 = 100π ≈ 314.2 square centimeters. This is the label area on a can.

Total Surface Area: SA = 2πr(r + h) = 2πr² + 2πrh. This adds the lateral area to both circular bases. Each base has area πr², so two bases contribute 2πr². For our example: SA = 2π × 5 × (5 + 10) = 10π × 15 = 150π ≈ 471.2 square centimeters. This is the total aluminum needed for an open-ended tube plus two end caps.

Why These Formulas Work: The volume formula comes from the general prism formula: volume = base area × height. Since a cylinder's base is a circle with area πr², the volume is πr²h. The lateral area formula works because the curved surface, when unrolled, forms a perfect rectangle—the circumference becomes the width, and the cylinder height becomes the rectangle height.

Units Matter: Volume uses cubic units (cm³, m³, in³, gallons). Surface area uses square units (cm², m², in²). Never confuse them—volume measures capacity, surface area measures material. A cylinder with r = 10 cm, h = 10 cm has volume 1,000π ≈ 3,142 cm³ but surface area 400π ≈ 1,257 cm².

Step-by-Step Guide: Calculating Cylinder Properties

Step 1: Measure Radius and Height
Obtain accurate measurements of radius (or diameter) and height. If you have diameter, divide by 2 to get radius. For a pipe with 8-inch diameter and 6-foot length: r = 4 inches, h = 72 inches (convert to consistent units first). Using mixed units like inches and feet produces wrong answers.

Step 2: Choose Your Value of π
Use π ≈ 3.14159 for most calculations, or your calculator's π button for maximum precision. For rough estimates, 3.14 works well. In engineering contexts requiring exact forms, keep π symbolic (write 250π instead of 785.4). The choice affects decimal precision but not the calculation method.

Step 3: Calculate the Volume
Apply V = πr²h. For r = 4 inches, h = 72 inches: V = π × 16 × 72 = 1,152π ≈ 3,619 cubic inches. Convert to gallons if needed: 3,619 / 231 ≈ 15.7 gallons (since 1 gallon = 231 cubic inches). This tells you how much liquid the pipe can hold when full.

Step 4: Calculate Lateral Surface Area
Use LA = 2πrh. For our pipe: LA = 2π × 4 × 72 = 576π ≈ 1,810 square inches. This is the exterior surface area—useful for determining how much paint or insulation the pipe needs. Interior surface area is identical if wall thickness is negligible.

Step 5: Calculate Total Surface Area
Apply SA = 2πr(r + h). For our pipe with both ends closed: SA = 2π × 4 × (4 + 72) = 8π × 76 = 608π ≈ 1,910 square inches. This includes both circular end caps. If the pipe is open-ended (like a tunnel), use only lateral area: 1,810 square inches.

Step 6: Convert to Practical Units
Express results in useful units. Volume: 3,619 in³ = 2.09 ft³ = 15.7 gallons = 59.3 liters. Surface area: 1,910 in² = 13.3 ft² = 1.23 m². Paint coverage is typically 350-400 ft² per gallon, so this cylinder needs about 0.04 gallons (5 oz) for one coat. Unit conversion makes results actionable.

Real-World Examples with Complete Calculations

Example 1: Water Storage Tank
A cylindrical water tank has diameter 3 meters and height 4 meters. What's its capacity in liters? Radius: r = 1.5 m. Volume: V = π × 1.5² × 4 = π × 2.25 × 4 = 9π ≈ 28.27 m³. Convert to liters: 28.27 × 1,000 = 28,270 liters. This supplies a household of 4 people (using 150 L/person/day) for about 47 days. Surface area for painting: SA = 2π × 1.5 × (1.5 + 4) = 3π × 5.5 ≈ 51.8 m².

Example 2: Hydraulic Cylinder
A hydraulic cylinder has bore (diameter) 100 mm and stroke (travel) 500 mm. What force can it generate at 150 bar pressure? Piston area: A = π × 50² = 2,500π ≈ 7,854 mm² = 0.00785 m². Force = pressure × area = 150 × 10⁵ Pa × 0.00785 m² ≈ 11,775 N ≈ 1,200 kg force. Volume displaced: V = π × 50² × 500 = 1,250,000π ≈ 3.93 liters of hydraulic fluid per stroke.

Example 3: Concrete Column
A structural column has diameter 400 mm and height 3.5 m. How much concrete is needed? Radius: r = 0.2 m. Volume: V = π × 0.2² × 3.5 = π × 0.04 × 3.5 = 0.14π ≈ 0.44 m³. Concrete density is about 2,400 kg/m³, so the column weighs 0.44 × 2,400 ≈ 1,056 kg (1.06 metric tons). Formwork surface area (lateral only): LA = 2π × 0.2 × 3.5 ≈ 4.4 m² of contact surface.

Example 4: Candle Manufacturing
A cylindrical candle has diameter 8 cm and height 15 cm. Wax density is 0.9 g/cm³. What's the candle's weight? Radius: r = 4 cm. Volume: V = π × 16 × 15 = 240π ≈ 754 cm³. Weight: 754 × 0.9 ≈ 679 grams. Surface area for labeling: LA = 2π × 4 × 15 = 120π ≈ 377 cm². A standard label covers about 200 cm², leaving unwrapped portions at top and bottom.

Example 5: Gas Pipeline Capacity
A natural gas pipeline has 36-inch diameter and runs 50 miles. How much gas can it hold? Radius: r = 18 inches = 1.5 feet. Length: h = 50 × 5,280 = 264,000 feet. Volume: V = π × 1.5² × 264,000 = π × 2.25 × 264,000 ≈ 1,865,000 ft³ ≈ 1.87 million cubic feet. At standard conditions, this holds about 1.87 billion BTU of energy—enough to heat 30 homes for a year.

Common Mistakes to Avoid

Mistake 1: Using Diameter Instead of Radius
The volume formula requires radius, not diameter. With diameter 10 cm, a student calculates V = π × 10² × h = 100πh—wrong by a factor of 4. The radius is 5 cm, so correct volume is π × 25 × h = 25πh. Always halve the diameter first: r = d/2. This error quadruples your answer, a massive miscalculation.

Mistake 2: Mixing Units Between Radius and Height
Using radius in centimeters and height in meters produces nonsense. A cylinder with r = 5 cm and h = 2 m needs consistent units. Converting: r = 0.05 m, h = 2 m gives V = π × 0.0025 × 2 = 0.005π m³ ≈ 15.7 liters. Using r = 5, h = 2 directly gives 50π—wrong by a factor of 10,000. Convert everything to the same unit first.

Mistake 3: Confusing Lateral and Total Surface Area
Lateral area excludes the circular ends; total area includes them. For a can, lateral area is the label; total area is all the aluminum. With r = 3, h = 10: lateral = 2π × 3 × 10 = 60π, but total = 2π × 3 × 13 = 78π. The difference (18π) is the two end caps. Know which your application requires—painting a tank (total) vs. wrapping a pipe (lateral).

Mistake 4: Forgetting to Square the Radius in Volume
Computing V = πrh instead of V = πr²h is a common slip. For r = 4, h = 10: wrong answer is 40π ≈ 126; correct answer is 160π ≈ 503. The units reveal this: volume must be cubic (cm³), but πrh gives square units (cm²). Dimensional analysis catches this instantly—volume formulas always involve three length dimensions multiplied together.

Pro Tips for Cylinder Calculations

Tip 1: Use the Diameter Form for Quick Calculations
When you have diameter d, use V = πd²h/4 directly. For d = 12, h = 20: V = π × 144 × 20 / 4 = π × 720 ≈ 2,262. This avoids the intermediate r = 6 step. Similarly, lateral area LA = πdh and total area SA = πd(d/2 + h). These diameter-based formulas save time and reduce arithmetic errors.

Tip 2: Apply the Height-to-Radius Ratio
For a fixed volume, minimum surface area occurs when h = 2r (height equals diameter). This is why soda cans are roughly as tall as they are wide—it minimizes material cost. For a fixed surface area, maximum volume also occurs at h = 2r. Use this principle for efficient container design or to quickly estimate optimal dimensions.

Tip 3: Handle Hollow Cylinders Correctly
For pipes and tubes, calculate material volume as V_material = π(R² - r²)h, where R is outer radius and r is inner radius. A pipe with OD = 10 cm, ID = 8 cm, length 100 cm has material volume π(25 - 16) × 100 = 900π ≈ 2,827 cm³. This is the actual metal volume, not the hollow capacity. Weight = volume × material density.

Tip 4: Estimate Before Calculating
Quick mental estimates catch major errors. For r ≈ 3, h ≈ 10: volume ≈ 3 × 9 × 10 = 270 (actual: 283). Surface area ≈ 2 × 3 × 3 × (3 + 10) ≈ 234 (actual: 245). If your calculator shows 2,830 or 28.3, you've misplaced a decimal. Estimates within 10-15% confirm your calculation is in the right ballpark.

Tip 5: Remember Common Volume Conversions
Keep these handy: 1 liter = 1,000 cm³ = 0.001 m³; 1 gallon = 231 in³ = 3.785 liters; 1 ft³ = 7.48 gallons = 28.3 liters; 1 barrel (oil) = 42 gallons = 159 liters. A cylinder with V = 50,000 cm³ holds 50 liters. One with V = 1,000 in³ holds about 4.3 gallons. Quick conversions make results meaningful.

Frequently Asked Questions

In geometry, they're identical—both are cylinders. In engineering, "tube" or "pipe" typically means a hollow cylinder (with wall thickness), while "cylinder" often implies solid or refers to the overall shape. The formulas are the same; for hollow cylinders, calculate outer volume minus inner volume to find material quantity.

Yes. If you know circumference C and height h: first find radius r = C/(2π), then V = πr²h = π × [C/(2π)]² × h = C²h/(4π). For a tree trunk with circumference 150 cm and height 800 cm: V = 150² × 800 / (4π) ≈ 1,432,000 cm³ ≈ 1.43 m³ of wood volume.

The volume formula V = πr²h still works if h is the perpendicular height (not the slanted length). However, surface area changes because the lateral surface is no longer a simple rectangle when unrolled. These formulas assume a right circular cylinder where the axis is perpendicular to the bases.

For minimum material (surface area) at fixed volume, set height = 2 × radius (h = 2r). For a 1-liter can: V = πr²(2r) = 2πr³ = 1,000 cm³, so r ≈ 5.42 cm and h ≈ 10.84 cm. Real cans differ slightly due to manufacturing constraints, stacking requirements, and ergonomics—but this gives the mathematical optimum.

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.