08 Tech Group
Back to Calculator Hub

Volume Calculator: Cube, Box, Sphere, Cylinder & Cone

Math
Volume24

This Volume Calculator calculates the space occupied by five common three-dimensional shapes: a cube, rectangular box, sphere, cylinder and cone. Select a shape, enter its dimensions in one consistent length unit and read the result in cubic units. The widget does not convert units automatically.

How to Use the Volume Calculator

  1. Select the shape from the list.
  2. Enter the required dimensions: side, length, width, radius or height, depending on the shape.
  3. Use the same length unit for every dimension.
  4. Read the volume. Its unit is the input length unit cubed, such as cm³ or ft³.
  5. Convert the result separately if you need liters, gallons or another capacity unit.

Volume Formulas

  • Cube: V = a³, where a is the side length.
  • Rectangular box: V = l × w × h.
  • Sphere: V = (4/3)πr³.
  • Cylinder: V = πr²h.
  • Cone: V = (1/3)πr²h.

Here, r is the radius, h is height, and π is approximately 3.14159.

Worked Examples

  • A rectangular box measuring 2 × 3 × 4 cm has volume 2 × 3 × 4 = 24 cm³.
  • A sphere with radius 3 cm has volume (4/3)π × 3³ ≈ 113.0973 cm³.
  • A cylinder with radius 2 cm and height 5 cm has volume π × 2² × 5 ≈ 62.8319 cm³.
  • A cone with the same radius and height has one-third the cylinder volume: approximately 20.9440 cm³.

Units: Cubic Length and Liquid Capacity

Volume is three-dimensional, so a length unit is cubed. For example, 1 liter = 1,000 cm³ = 1 dm³. A result of 24 cm³ is not 24 cm or 24 cm². For construction and storage, keep the original cubic unit visible and convert only after calculating.

Geometry references such as Calculator.net's Volume Calculator and Omni Calculator's volume guide provide additional shape coverage. This widget currently supports five shapes only; it does not include pyramids, prisms, irregular solids or composite-object decomposition.

For two-dimensional measurements, use the Area Calculator. For the exterior area of solids, use a separate surface-area method rather than this volume result.

Assumptions and Limitations

  • All dimensions must use the same length unit.
  • Dimensions are non-negative; a zero dimension produces zero volume.
  • The box is a rectangular prism; the cylinder and cone are right circular shapes.
  • The calculator does not convert units or estimate irregular/composite volumes.
  • Displayed precision is rounded; calculations use JavaScript floating-point arithmetic.

Frequently Asked Questions

Frequently Asked Questions

What is volume?+

Volume is the amount of three-dimensional space inside a solid. It is expressed in cubic units such as cm³, m³ or ft³.

What is the formula for a rectangular box?+

Multiply length by width by height: V = l × w × h.

How do I calculate sphere volume?+

Use V = (4/3)πr³, where r is the sphere's radius.

What is the difference between cylinder and cone volume?+

A cone with the same circular base radius and height has one-third the volume of a cylinder: cone V = (1/3)πr²h; cylinder V = πr²h.

Can I mix inches and centimeters?+

No. Convert all dimensions to the same length unit before entering them. The output is in that unit cubed.

How do I convert cubic centimeters to liters?+

Divide cubic centimeters by 1,000. For example, 2,500 cm³ equals 2.5 liters.

Does this calculate pyramid volume?+

No. The widget supports cube, rectangular box, sphere, cylinder and cone. A pyramid uses one-third of base area multiplied by perpendicular height.

Can I calculate an irregular object's volume?+

Not directly with these five formulas. You may need water displacement, a geometric approximation or a method for decomposing the object into simpler solids.

Share the tool
Volume Calculator: Cube, Box, Sphere, Cylinder & Cone | 08 Tech Group