Free online calculator

Volume Calculator

Choose the solid that matches the object and enter its dimensions in one length unit. The result describes geometric volume and shows conversions to cubic units and capacity.

Volume in m³
150 m³
Cubic meters
150 m³
Liters
150000 L
US gallons
39625.807854 US gal

Volume formulas

  • Box: length × width × height. Cylinder: π × r² × h. Sphere: 4/3 × π × r³.
  • A cone or pyramid holds one third of the matching cylinder or prism.
  • Use one unit for every dimension; the answer comes out in cubic units.
  • 1 cubic foot ≈ 7.48 US gallons; 1 litre = 1,000 cm³.

How to use the Volume Calculator

  1. Choose the three-dimensional shape you want to calculate.
  2. Enter the dimensions requested for that shape.
  3. Keep all dimensions in the same measurement unit.
  4. The calculator applies the standard formula for the selected shape.
  5. Lengths are combined according to the geometry of the shape.
  6. The result is expressed in cubic units.
  7. Changing any dimension immediately changes the calculated volume.

Geometric volume versus usable capacity

Use internal dimensions for container capacity. Radius is half the diameter; cone and pyramid heights are perpendicular heights. All active dimensions must be positive and finite. A unit selection relabels the entered dimensions, so re-enter values in that unit.

Examples

Rectangular prism

A rectangular prism 4 units long, 3 units wide and 2 units high has volume 4 × 3 × 2 = 24 cubic units.

Cylinder

For a cylinder, volume is πr²h. A radius of 2 and height of 5 gives 20π cubic units, about 62.83.

Check the result in context

Matching solids: radius 2 and height 5 give cylinder volume 20π ≈ 62.831853 cubic units and cone volume 20π/3 ≈ 20.943951 cubic units.

Example volumes (cubic units)

ShapeFormulaVolume
Cube (side 3)s³27.00
Box 4 × 3 × 2l × w × h24.00
Cylinder r = 3, h = 10π r² h282.74
Sphere r = 34/3 π r³113.10
Cone r = 3, h = 101/3 π r² h94.25
Pyramid base 4 × 4, h = 61/3 × base × h32.00

Frequently asked questions

Why is volume measured in cubic units?

Volume measures three-dimensional space, so a length unit is multiplied across three dimensions and becomes units cubed.

Do all dimensions need the same unit?

Yes. Convert dimensions to one common unit before calculating if you want a meaningful cubic-unit result.

Why does radius have such a large effect on cylinder or sphere volume?

Radius is squared in a cylinder formula and cubed in a sphere formula, so changes in radius have a nonlinear effect.

Is a cone one-third of a cylinder?

Yes, when the cone and cylinder have the same base radius and height.

Can I use the result for liquid capacity?

Yes after converting the geometric cubic-unit result into the desired capacity unit when the container's internal dimensions match the modeled shape.

Why is a cone smaller than a cylinder with the same dimensions?

With equal base radius and perpendicular height, a cone has one third of the cylinder volume. A cylinder of radius 2 and height 5 has 20π cubic units; the matching cone has 20π/3.

Related tools

More math tools