Volume Calculator

Real-time Engine

Choose a 3D shape and enter its dimensions to calculate volume. See the formula, calculation steps and result in cubic units.

Calculate volume

Radius is half the diameter.

Use the same measurement unit for every dimension.

Result

Choose a shape and enter its dimensions.

AdvertisementReserved Display SlotZero CLS placement

How to Use the Volume Calculator

  1. Choose the 3D shape that matches the object.
  2. Select the measurement unit used for every dimension.
  3. Enter the required dimensions, such as length, width, height, side or radius.
  4. Select Calculate.
  5. Read the cubic-unit result, formula, calculation steps and equivalent volumes.

Use the same measurement unit for every dimension. If one measurement is in centimeters and another is in meters, convert them to a common unit before calculating.

What Is Volume?

Volume measures the amount of three-dimensional space occupied by a solid or contained inside an object. It is measured in cubic units such as cm³, m³, in³ or ft³.

Length measures one dimension, area measures two dimensions, and volume measures three. If you need the size of a flat surface rather than the space inside a solid, use the Area Calculator.

Volume Formulas by Shape

ShapeFormulaMeasurements
CubeV = a³side
Rectangular prismV = l × w × hlength, width, height
CylinderV = πr²hradius, height
SphereV = (4/3)πr³radius
ConeV = (1/3)πr²hradius, height
Rectangular pyramidV = (1/3)lwhlength, width, height

V is volume, a is side length, l is length, w is width, h is height, r is radius and π is pi. The calculator uses the full value provided by Math.PI internally.

Volume Calculation Examples

Rectangular box

A box measuring 5 × 4 × 3 cm has volume V = 5 × 4 × 3 = 60 cm³.

Cylinder

For radius 2 cm and height 5 cm, V = π × 2² × 5 ≈ 62.831853 cm³. For a dedicated radius-and-height workflow, use the Cylinder Volume Calculator.

Sphere

For radius 3 cm, V = (4/3) × π × 3³ ≈ 113.097336 cm³.

Volume vs. Surface Area

Volume measures the space inside a three-dimensional object and uses cubic units. Surface area measures the object's exterior and uses square units.

MeasurementDescribesUnits
Volumespace insidecubic, for example cm³
Surface areaexterior areasquare, for example cm²

Need the outside area instead? Use the Surface Area Calculator.

Volume Units and Conversions

When dimensions use a length unit, the result uses the corresponding cubic unit. A centimeter measurement produces cubic centimeters; a foot measurement produces cubic feet.

  • 1 cm³ = 1 mL
  • 1,000 cm³ = 1 L
  • 1 L = 1,000 mL
  • 1 m³ = 1,000 L
  • 1 ft³ = 1,728 in³
  • 1 ft³ ≈ 7.480519 US gallons

Generic shape volume remains in cubic units. For container-specific estimates, use the Pool Volume Calculator or Tank Volume Calculator.

Frequently Asked Questions

What units are used for volume?

Volume uses cubic units such as cm³, m³, in³ and ft³. Liquid capacity commonly uses milliliters, liters and gallons.

Why cubic units?

Volume measures three dimensions, so multiplying dimensions multiplies the length unit three times.

What is the difference between radius and diameter?

Diameter is twice the radius. To obtain the radius from a diameter, divide the diameter by two.

Can I use different units for each dimension?

No. This calculator uses one shared input unit. Convert all dimensions to the same unit first.

Is volume the same as capacity?

They are closely related, but capacity usually describes how much a container can hold, while volume describes three-dimensional space.

How do I calculate cylinder volume?

Use V = πr²h: square the radius, multiply by pi, then multiply by height. The Cylinder Volume Calculator provides the dedicated workflow.

Found a problem with this calculator? Report an issue.