Skip to content
English

Volume Calculator

Calculate the volume of 14 common geometric shapes with this free Volume Calculator. Enter the required dimensions, choose your preferred units, and get accurate results with formulas and calculation steps. You can also find a missing dimension when the volume and other measurements are known.

What Is Volume?

Volume is the amount of three-dimensional space occupied by an object. It is measured in cubic units, such as cubic centimeters (cm³), cubic meters (m³), cubic inches (in³), and cubic feet (ft³).

The formula used to calculate volume depends on the shape of the object.

For example, the volume of a rectangular prism is calculated by multiplying its length, width, and height.

Example:

A rectangular box has a length of 10 cm, a width of 5 cm, and a height of 4 cm.

V = 10 × 5 × 4 = 200 cm³

Its volume is 200 cubic centimeters.

How to Use the Volume Calculator

Follow these steps to calculate the volume of a geometric shape:

  1. Choose a shape: Select one of the 14 supported geometric shapes.
  2. Enter the dimensions: Fill in the required measurements, such as length, width, height, radius, or diameter.
  3. Select units: Choose the appropriate length unit for each measurement.
  4. View the result: The calculator displays the volume and equivalent values in other supported units.
  5. Review the calculation: Check the formula and calculation steps to understand how the result was obtained.

The calculator also supports reverse calculations. If you know the target volume and all but one dimension, you can solve for the missing measurement.

Volume Formulas for 14 Geometric Shapes

Different geometric shapes require different volume formulas. The following table summarizes the formulas supported by this calculator.

Shape Volume Formula
Cube V = a³
Rectangular Prism V = l × w × h
Sphere V = (4/3) × π × r³
Hemisphere V = (2/3) × π × r³
Cylinder V = π × r² × h
Cone V = (1/3) × π × r² × h
Spherical Cap V = (π × h / 6) × (3a² + h²)
Ellipsoid V = (4/3) × π × a × b × c
Hollow Cylinder V = π × L × (D² − d²) / 4
Capsule V = π × r² × L + (4/3) × π × r³
Conical Frustum V = (π × h / 3) × (R² + R × r + r²)
Triangular Prism V = (1/2) × b × h × L
Square Pyramid V = (1/3) × a² × h
Truncated Pyramid V = (h/3) × (a² + b² + a × b)

Understanding the Variables

The letters used in these formulas represent geometric measurements:

  • V = volume
  • a, b = side lengths or base dimensions, depending on the shape
  • l = length
  • w = width
  • h = height
  • r = radius
  • R = outer radius
  • D = outer diameter
  • d = inner diameter
  • L = length or the specified longitudinal dimension
  • π ≈ 3.14159

Some formulas use different variables for different geometric measurements. Refer to the selected shape’s diagram and input labels when entering dimensions.

Important measurement notes:

  • For a spherical cap, a represents the radius of its circular base, not the radius of the original sphere.
  • For a hollow cylinder, D and d represent the outer and inner diameters. The calculator uses diameter measurements rather than radii.
  • For a capsule, L represents the length of the cylindrical middle section, excluding the two rounded ends.
  • The truncated pyramid formula shown above applies to a pyramid with two parallel square bases.

How to Find a Missing Dimension

You can calculate an unknown dimension if you know the volume and the other required measurements.

For example, the volume of a rectangular prism is calculated using:

V = l × w × h

To find the missing length, rearrange the formula:

l = V / (w × h)

Example:

Suppose a rectangular prism has:

  • Target volume: 500 cm³
  • Width: 50 cm
  • Height: 20 cm

The missing length is:

l = 500 / (50 × 20)

l = 0.5 cm

The missing length is 0.5 cm.

The same principle applies to other supported shapes. Select the dimension you want to find and enter the known measurements and target volume.

Volume Units and Conversions

Volume is expressed in cubic units because it measures three-dimensional space. If a length measurement is converted, the corresponding volume conversion factor must be cubed.

The calculator supports nine length units:

  • Millimeters (mm)
  • Centimeters (cm)
  • Meters (m)
  • Kilometers (km)
  • Inches (in)
  • Feet (ft)
  • Yards (yd)
  • Miles (mi)
  • Nautical miles (nmi)

Common volume conversions include:

  • 1 m³ = 1,000,000 cm³
  • 1 cm³ = 1,000 mm³
  • 1 m³ = 1,000 L
  • 1 L = 1,000 cm³
  • 1 ft³ = 1,728 in³

For example, converting meters to centimeters multiplies a length by 100. Converting cubic meters to cubic centimeters multiplies the volume by 100³, or 1,000,000.

The calculator handles unit conversions automatically, so you can enter measurements using different supported length units.

Volume vs. Surface Area

Volume and surface area describe two different properties of a three-dimensional object.

Volume measures the space inside an object. It is expressed in cubic units, such as cm³ or m³.

Surface area measures the total area covering the outside of an object. It is expressed in square units, such as cm² or m².

For example, a box may have a volume of 200 cm³ and a surface area of 220 cm². These values describe different properties and cannot be compared directly.

Use a volume calculation when you need to determine how much space an object occupies or how much it can contain. Use a surface area calculation when you need to measure its exterior covering.

Common Volume Calculation Mistakes

A few common measurement errors can lead to incorrect volume results.

1. Using diameter instead of radius

Some formulas require the radius, while others use diameter. Remember that radius is half the diameter. Check the calculator’s input labels before entering a measurement.

2. Mixing measurement units

Measurements should be converted consistently when calculating manually. The calculator can handle different supported units, but you should still check that each value uses the intended unit.

3. Confusing square units with cubic units

Surface area uses square units, while volume uses cubic units. For example, cm² measures area and cm³ measures volume.

4. Using the wrong height

Some shapes require perpendicular height rather than slant height. For a cone or pyramid, use the vertical distance from the base to the apex when the formula calls for height.

5. Choosing the wrong geometric shape

Objects may look similar but have different volume formulas. A cone and a conical frustum, for example, are not interchangeable.

Frequently Asked Questions

What is the formula for volume?

There is no single formula for every geometric shape. A rectangular prism uses V = l × w × h, while a sphere uses V = (4/3) × π × r³. Select the appropriate formula based on the object’s shape.

How do you calculate volume?

Identify the geometric shape, measure its required dimensions, and apply the corresponding volume formula. You can also use the Volume Calculator to enter dimensions and obtain the result automatically.

Can I calculate volume if one dimension is missing?

Yes. If you know the target volume and the other required dimensions, you can rearrange the formula to solve for the missing measurement. The calculator supports reverse calculations for its supported shapes.

What units are used to measure volume?

Common volume units include cubic millimeters, cubic centimeters, cubic meters, cubic inches, cubic feet, and liters. Volume is always expressed in cubic units or other equivalent capacity units.

What is the difference between cm² and cm³?

cm² is a unit of area, measuring two-dimensional space. cm³ is a unit of volume, measuring three-dimensional space.

Can I use different units for each dimension?

Yes. The calculator supports independent unit selection for individual measurements. It converts the values internally so they can be used together in the calculation.

How do I convert cubic meters to cubic centimeters?

Multiply the volume in cubic meters by 1,000,000. For example, 2 m³ equals 2,000,000 cm³.

How do I find the dimensions of an object from its volume?

You need to know the object’s shape and all but one of its required dimensions. Then use the corresponding formula rearranged to solve for the unknown measurement.

Calculate Volume Online

Use the Volume Calculator to calculate the volume of 14 geometric shapes, check formulas, convert measurement units, and find missing dimensions. Enter your measurements to get results and review the calculation steps.