Math Calculator

Volume Calculator

Compute 3D volume for several common solids from one form.

Select a solid

Choose a shape and enter the required positive dimensions.

Clear

About this calculator

How to use Volume Calculator, plus the formulas and logic behind the results.

Tool description

Volume measures 3D capacity. Each solid has a standard formula in its defining lengths.

How to use

  1. Select the solid.
  2. Enter positive dimensions.
  3. Select Calculate.
  4. Read the volume.

Formulas & reference

  • Cube: a³
  • Sphere: (4/3)πr³
  • Cylinder: πr²h
  • Cone: (1/3)πr²h
  • Rectangular prism: lwh

Volume tips

  • Cone is one-third of a cylinder with same r,h
  • Sphere scales with r³
  • Prism is length×width×height
  • Keep units consistent

Calculation logic

Dispatches to the selected volume formula using M_PI for round solids.

Cone and cylinder heights are perpendicular heights.

Volume Calculator FAQ

Common questions about this calculator and how to use the results.

How do you find cube volume?

Cube the side length.

How do you find sphere volume?

(4/3)πr³.

How do you find cylinder volume?

πr²h.

How do you find cone volume?

(1/3)πr²h.

How do you find rectangular prism volume?

Multiply length, width, and height.

Are slant heights used?

No—use perpendicular height for cones and cylinders.