Cylinder Volume Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Why Measure Cylinder Volume?

Cylindrical shapes appear everywhere in everyday life and technical work: water tanks, beverage cans, gas cylinders, drums, silos, pipes, and even some concrete footings. Knowing the volume of a cylinder tells you how much liquid, gas, or granular material it can hold. This is useful for estimating storage capacity, ordering materials, sizing pumps, or simply checking whether a container is large enough for your needs.

This cylinder volume calculator lets you enter the radius and height of a right circular cylinder and instantly returns its volume and total surface area. As long as you use the same unit for both the radius and the height, the formulas work for centimeters, inches, feet, meters, or any other linear unit. You can then convert the results into practical units such as liters or cubic meters.

Formulas for Cylinder Volume and Surface Area

A (right) circular cylinder has two parallel circular ends connected by a curved surface. The key measurements are:

  • r = radius of the circular base (half the diameter)
  • h = height of the cylinder (distance between the two circular ends)

The basic formulas used by this calculator are:

  • Volume: V = π × r² × h
  • Total surface area: A = 2 × π × r × (r + h)

In words, the volume is the area of the circular base multiplied by the height. The total surface area is the sum of the areas of the two circular ends plus the curved side that wraps around the cylinder.

The same formulas can be written using semantic math markup so that they are clearer to screen readers and other tools:

Volume of a cylinder
V = π r 2 h
Total surface area of a cylinder
A = 2 π r ( r + h )

Here, V is volume, A is total surface area, r is radius, and h is height.

Units and Practical Conversions

Supported Measurements

The calculator itself is unit-agnostic. It does not enforce centimeters, inches, or any other unit. The only strict rule is:

  • Use the same unit for both radius and height.

For example, you can enter:

  • Radius in centimeters and height in centimeters
  • Radius in inches and height in inches
  • Radius in meters and height in meters

If your measurements are in different units, convert them so that both radius and height use the same unit before entering them. Mixing units (for example, radius in inches and height in centimeters) will give incorrect results.

Common Conversions for Volume

If you choose centimeters for both radius and height, the volume output will be in cubic centimeters (cm³). Some useful relationships are:

  • 1 cubic centimeter (cm³) = 1 milliliter (mL)
  • 1,000 cm³ = 1 liter (L)
  • 1,000,000 cm³ = 1 cubic meter (m³)

To convert from cubic centimeters to liters, divide the volume in cm³ by 1,000:

liters = volume_cm3 ÷ 1000

Converting Length Units Before Entry

If your tape measure or datasheet gives dimensions in inches or feet, you can convert them to centimeters (or another preferred unit) before using the calculator. For example:

  • Inches to centimeters: cm = inches × 2.54
  • Feet to centimeters: cm = feet × 30.48
  • Meters to centimeters: cm = meters × 100

After conversion, enter the radius and height using the same unit. The calculator will then compute the correct volume and surface area in terms of that unit.

How to Use the Cylinder Volume Calculator

  1. Measure or obtain the diameter of the cylinder. This is the distance across the circular base, through its center.
  2. Compute the radius if needed: radius = diameter ÷ 2. Many specifications give the diameter, so this step is often necessary.
  3. Measure the height of the cylinder from one flat end to the other, along the central axis.
  4. Check that both measurements use the same unit (for example, both in centimeters).
  5. Enter the radius and height into the input fields of the calculator.
  6. Run the calculation to get the volume and surface area. The volume will be reported in cubic units (such as cm³), while surface area is in square units (such as cm²).

Once you have the raw volume, you can convert it into liters, gallons, or other units that are convenient for your specific application.

Worked Example: Cylinder Volume and Surface Area

Consider a vertical water storage tank shaped like a right circular cylinder. Suppose:

  • Radius r = 50 cm
  • Height h = 150 cm

Step 1: Calculate the Volume

Use the volume formula V = π × r² × h.

  1. Square the radius: r² = 50 cm × 50 cm = 2,500 cm²
  2. Multiply by the height: 2,500 cm² × 150 cm = 375,000 cm³
  3. Multiply by π (use π ≈ 3.14159):
    V ≈ 3.14159 × 375,000 cm³ ≈ 1,178,097.75 cm³

So the volume of the tank is approximately 1,178,098 cm³ (rounded to the nearest cubic centimeter).

Converting Volume to Liters

Because 1 cm³ = 1 mL and 1,000 mL = 1 L:

liters = 1,178,097.75 cm³ ÷ 1,000 ≈ 1,178.10 L

The tank can hold about 1,178 liters of water when full.

Step 2: Calculate the Total Surface Area

Use the total surface area formula A = 2 × π × r × (r + h).

  1. Add radius and height: r + h = 50 cm + 150 cm = 200 cm
  2. Multiply by the radius: r × (r + h) = 50 cm × 200 cm = 10,000 cm²
  3. Multiply by 2 × π:
    A = 2 × π × 10,000 cm²
    A ≈ 2 × 3.14159 × 10,000 cm²
    A ≈ 6.28318 × 10,000 cm² ≈ 62,831.8 cm²

The total surface area is therefore about 62,832 cm². This includes the top and bottom circles plus the curved side. If you only need the lateral (side) area for tasks like painting the sides of a tank but not the ends, you can subtract the area of the two circular ends:

  • Area of one circular end: π × r² = π × 2,500 cm² ≈ 7,853.98 cm²
  • Area of two ends: 2 × 7,853.98 cm² ≈ 15,707.96 cm²
  • Lateral area: 62,831.8 cm² − 15,707.96 cm² ≈ 47,123.8 cm²

This breakdown helps when estimating paint, coating, or insulation for only part of the cylinder.

Interpreting Your Results

When you use the cylinder volume calculator, you will typically see:

  • Volume in cubic units (such as cm³, m³, in³, or ft³), depending on the units you used for radius and height.
  • Total surface area in square units (such as cm², m², in², or ft²).

Here is how to make sense of these numbers:

  • Volume tells you how much space is inside the cylinder. For liquids, you can convert this to liters or gallons to understand how much fluid the cylinder can hold.
  • Surface area tells you how much material would be needed to cover the outside of the cylinder, including the flat ends. This is important for tasks such as painting, insulation, or material cost estimation in manufacturing.
  • Scaling effects: Because volume grows with the square of the radius and linearly with height, small changes in radius have a large impact on capacity. Doubling the radius (with height fixed) multiplies the volume by four, while doubling the height doubles the volume.

Always keep the measurement units in mind. If you change from centimeters to meters or inches to feet, the numerical values for radius and height change, and the resulting units for volume and area change accordingly.

Comparison: Cylinder Calculations vs. Other Shapes

Cylinders are just one of several common shapes used for containers and structural elements. The formulas and behavior can differ significantly from spheres, cones, or rectangular tanks. The table below summarizes some key similarities and differences.

Shape Typical Use Basic Volume Formula Key Sensitivity
Cylinder Tanks, pipes, drums, columns V = π × r² × h Strongly affected by radius; doubling radius (same height) multiplies volume by 4.
Rectangular prism (box) Boxes, aquariums, many storage containers V = length × width × height Linearly affected by each dimension; no circular cross-section.
Cone Funnels, some hoppers, some tanks V = (1/3) × π × r² × h Volume is one-third of a cylinder with the same base and height.
Sphere Balls, pressurized vessels, some gas tanks V = (4/3) × π × r³ Volume grows very quickly with radius (proportional to r³).

For cylindrical applications such as pipes and standard tanks, this cylinder volume calculator is usually the most appropriate tool. If you work with boxes, hoppers, or spherical containers, a different dedicated calculator is more suitable because the formulas and behavior differ.

Assumptions and Limitations

The results from this cylinder volume calculator are based on a simplified mathematical model. Keep the following assumptions and limitations in mind when using the results for planning or decision-making:

  • Perfect right circular cylinder: The formulas assume the cylinder is perfectly straight, with flat, parallel circular ends and no taper or tilt.
  • Uniform internal radius: The calculation assumes the radius you enter is the effective internal radius. If the cylinder has thick walls or internal fittings, the true usable volume may be smaller than the ideal value.
  • No bulging or irregularities: Real containers such as barrels may bulge in the middle or have non-flat ends. These shapes deviate from a perfect cylinder, so the calculated volume is an approximation.
  • Consistent units: The tool assumes you use a single unit system for all length measurements. Mixing centimeters and inches, or feet and meters, will produce incorrect results.
  • Measurement accuracy: Any error in measuring radius or height propagates through the formulas. For large industrial tanks, even small measurement errors can lead to noticeable volume differences.
  • Static, full container: The calculator provides capacity when the cylinder is fully filled. It does not account for sloshing, safety margins, or headspace requirements in practical designs.
  • Not a substitute for engineering design: For safety-critical applications such as pressure vessels, structural supports, or regulated storage tanks, treat the calculator’s results as approximate and confirm critical values with detailed engineering documents or manufacturer specifications.

By understanding these assumptions, you can judge when the calculator is sufficient for a quick estimate and when more detailed analysis is required.

Enter the radius and height to calculate volume and surface area.

Embed this calculator

Copy and paste the HTML below to add the Cylinder Volume Calculator - Measure Tanks and Containers to your website.