Last updated:

Volume calculator

Cylinder Volume Calculator

Enter the radius and height of any cylinder, a soup can, water tank, concrete column, pipe, or swimming pool, and get the volume with full working steps. The calculator also converts to liters, US gallons, and cubic feet automatically. If you have the diameter instead of the radius, just divide by 2 before entering.

V = πr²h

Cylinder

Enter cylinder dimensions

Formula: V = π × radius² × height

3D visual

Cylinder preview

Loading visual

On This Page

How to Use the Cylinder Volume Calculator

Enter the radius and height. This works for soup cans, concrete columns, water tanks, drums, silos, and pipe sections, anything with a circular cross-section and straight sides. The result includes volume, base area, liquid conversions, and the full calculation steps.

If your problem gives diameter instead of radius, divide by 2 before entering. For a real container, measure the inside radius and inside height, outside dimensions include wall thickness and will overestimate the actual capacity.

Quick tip: Use the inside radius and inside height when calculating liquid capacity for a real container.

Cylinder Volume Formula

Definition: Cylinder volume is the space inside a solid or container with two equal circular bases and straight sides.

The standard formula for calculating cylinder volume is:

V = πr²h
Cylinder volume diagram with radius r and height h labeled, showing V = πr²h
Cylinder with labeled radius r and height h showing the formula V = πr²h

The formula works because a cylinder is like many identical circles stacked on top of each other. The circular base area is πr², and multiplying by height gives the full three-dimensional volume.

How to Calculate the Volume of a Cylinder

To calculate the volume of a cylinder by hand, find the radius of the circular base and the height of the cylinder. Both measurements must use the same unit before you multiply.

Step 1: Find the Radius and Height

The radius is the distance from the center of the circular base to its edge. The height is the straight distance between the two circular bases.

If diameter is given: r = d ÷ 2

Step 2: Square the Radius

Multiply the radius by itself. For example, if r = 3, then r² = 3 × 3 = 9.

Step 3: Multiply by Pi

Use π ≈ 3.14159 unless your class asks for 3.14. This gives the area of the circular base.

Step 4: Multiply by Height

Multiply the base area by the cylinder height. The final answer is written in cubic units.

  1. Find the radius: r
  2. Find the height: h
  3. Square the radius: r²
  4. Multiply by π
  5. Multiply by height
  6. Write the answer in cubic units, such as cm³, m³, or in³
Check your work: Enter the same radius, height, and unit above. The result panel shows the cylinder volume and calculation steps.

How to Find Cylinder Volume With Diameter

Many cylinder problems give the diameter instead of the radius. Since diameter is twice the radius, divide diameter by 2 before using the formula.

V = π(d/2)²h

For example, if a cylinder has a diameter of 8 cm and a height of 12 cm, the radius is 4 cm. The volume is π × 4² × 12 = 192π, or about 603.2 cm³.

Reverse Cylinder Volume Calculations

If you already know the volume and one dimension, rearrange the cylinder formula to solve for the missing height or radius.

Find Height From Volume and Radius

h = V ÷ (πr²)

Use this when you know how much a cylinder must hold and you need the required height.

Find Radius From Volume and Height

r = √(V ÷ πh)

Use this when you know the capacity and height but need the radius of the circular base.

Worked Cylinder Volume Examples

The examples below follow common classroom and measurement problems. Each one identifies the given dimensions, sets up the formula, and finishes with the correct cubic unit.

Example 1: Soup Can Volume From Radius and Height

Problem: A can of soup is shaped like a cylinder. The inside radius is 4 cm and the inside height is 11 cm. Estimate the volume of soup the can can hold. Use 3.14 for π.

  1. Radius = 4 cm, height = 11 cm
  2. Use V = πr²h
  3. Square the radius: 4² = 16
  4. Multiply: V = 3.14 × 16 × 11
  5. V = 552.64 cm³

Answer: The can holds about 552.6 cm³, or about 552.6 mL.

Example 2: Water Tank Capacity in Gallons

Problem: A cylindrical water tank has an inside radius of 1.5 feet and an inside height of 6 feet. Estimate the tank capacity in US gallons. Use 1 ft³ = 7.48052 US gallons.

  1. Radius = 1.5 ft, height = 6 ft
  2. Volume = π × 1.5² × 6
  3. 1.5² = 2.25
  4. Volume = 3.14159 × 2.25 × 6 ≈ 42.41 ft³
  5. Gallons = 42.41 × 7.48052 ≈ 317.3 gal

Answer: The tank holds about 317.3 US gallons.

Example 3: Volume From Diameter

Problem: A cylindrical concrete column has a diameter of 18 inches and a height of 8 feet. Estimate its volume in cubic feet. Convert inches to feet before calculating.

  1. Diameter = 18 in = 1.5 ft
  2. Radius = 1.5 ÷ 2 = 0.75 ft
  3. Height = 8 ft
  4. Volume = π × 0.75² × 8
  5. Volume ≈ 14.14 ft³

Answer: The column volume is about 14.1 cubic feet.

Example 4: Find Missing Height From Volume

Problem: A cylinder has a volume of 395.64 cubic inches and a radius of 3 inches. Find the height of the cylinder. Use 3.14 for π.

  1. Known values: V = 395.64 in³, r = 3 in
  2. Use h = V ÷ (πr²)
  3. r² = 3² = 9
  4. πr² = 3.14 × 9 = 28.26
  5. h = 395.64 ÷ 28.26 = 14

Answer: The cylinder height is 14 inches.

Example 5: Pipe Internal Volume

Problem: A straight pipe is 2 meters long and has an internal diameter of 10 centimeters. Estimate the volume of water inside the pipe in liters.

  1. Convert diameter: 10 cm = 0.10 m
  2. Radius = 0.10 ÷ 2 = 0.05 m
  3. Height/length = 2 m
  4. Volume = π × 0.05² × 2 ≈ 0.0157 m³
  5. Convert to liters: 0.0157 × 1,000 = 15.7 L

Answer: The pipe holds about 15.7 liters of water.

Practice check: For each example, enter the radius and height in the calculator above. If the question gives diameter, divide by 2 first.

Cylinder Volume Units, Gallons, and Liters

Cylinder volume is written in cubic units. Liquid capacity is often converted to liters, milliliters, or gallons depending on the problem.

Volume unit conversion table showing cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Common volume unit conversions: cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Input Unit Volume Unit Useful Conversion
Centimeters cm³ 1,000 cm³ = 1 liter
Meters 1 m³ = 1,000 liters
Inches in³ 231 in³ = 1 US gallon
Feet ft³ 1 ft³ ≈ 7.48052 US gallons

Volume of a Hollow Cylinder

A hollow cylinder, like a pipe or a tube, has material between an outer radius R and an inner radius r. To find the volume of the material itself (not the empty space inside), subtract the inner cylinder volume from the outer cylinder volume:

V = πh(R² − r²)

For example, a pipe that is 2 m long with outer radius 0.08 m and inner radius 0.06 m has a material volume of: V = π × 2 × (0.08² − 0.06²) = π × 2 × 0.0028 ≈ 0.0176 m³. To find the capacity of the hollow space, use just the inner radius in V = πr²h.

Cylinder Capacity and Related Packing Questions

Volume measures the space inside the cylinder. Surface area measures the outside covering, including the two circular ends and the curved side. A tank or can may need volume for capacity and surface area for material, paint, or label coverage.

Cylinder volume gives the full capacity. For fitting spheres inside a cylinder, calculating void space, or estimating clearance, use the Sphere Packing Calculator. For a rectangular tank instead of a round one, the Tank Volume Calculator covers the box-shaped case with the same litres and gallons output. A full worked walkthrough of converting cylindrical tank capacity to litres and gallons, including a dipstick reference table, is in How Much Water Does a Cylindrical Tank Hold?

References

Cylinder Volume Mistakes to Avoid

Frequently Asked Questions

How do you calculate the volume of a cylinder?

Use V = πr²h. Square the radius, multiply by pi (3.14159), then multiply by the height. For a cylinder with radius 4 cm and height 11 cm: V = 3.14159 × 16 × 11 ≈ 552.6 cm³.

Can I calculate cylinder volume from diameter?

Yes. Divide the diameter by 2 to get the radius, then use V = πr²h. Alternatively, write it as V = π(d/2)²h. A cylinder with diameter 8 cm and height 12 cm has radius 4 cm and volume ≈ 603.2 cm³.

How do I calculate cylinder volume in gallons?

Find the cubic volume first, then convert. Cubic feet × 7.48052 = US gallons. Cubic inches ÷ 231 = US gallons. The calculator converts automatically for all common units.

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

Subtract the inner cylinder volume from the outer cylinder volume: V = πh(R² − r²), where R is the outer radius and r is the inner radius. For the hollow space capacity, use just the inner radius in V = πr²h.

My answer seems way too large, what went wrong?

The most common cause is using diameter instead of radius. The formula squares the radius, so using the diameter makes the result four times too large. Also check that all units match, meters vs centimeters can produce a factor of 1,000,000 difference in cubic volume.

How do I find cylinder height from volume?

Rearrange to h = V ÷ (πr²). If you know the volume must be 395.6 in³ and the radius is 3 in, then h = 395.6 ÷ (3.14159 × 9) ≈ 14 in.

When would I actually need cylinder volume in real life?

Aquariums, well casings, grain silos, above-ground pools, cylindrical fuel tanks, and hot water heaters all use this formula for capacity. Plumbers and HVAC engineers use it to size pipe runs and ductwork. If you need to know how much a round container holds, this is the formula.

Method

Formula, Accuracy, and Review

Written by Calculators Labs Editorial Team
Reviewed by Calculators Labs
Last updated

This tool applies V = πr²h to reach its result. Inputs (Radius, Height) are read, the formula runs, and the answer is rounded for readability.

Where units are involved, everything is normalized to a single system before the final calculation runs. The full working is shown on this page so anyone, from students to professionals, can verify the result by hand.