MultiConvers

Volume Calculator

Choose a solid and enter its lengths in one unit. The result is volume in that unit cubed — cm in, cm³ out.

How it works

Volume measures space. A cube is s³; a box is lwh; a sphere is ⁴⁄₃πr³; a cylinder is πr²h; a cone and a rectangular pyramid are one-third of the corresponding prism (⅓πr²h and ⅓ × base area × height). Every input is a length.

The output is a volume. Mixing a cm radius with a meter height is not supported — convert first.

Formula

Cube: V = s³
Box: V = lwh
Sphere: V = ⁴⁄₃πr³
Cylinder: V = πr²h
Cone: V = ⅓πr²h
Pyramid: V = ⅓lwh

Worked examples

  • A 2-unit cube

    cube, side 2 8 unit³

  • A sphere of radius 3

    sphere, r = 3 36π ≈ 113.097 unit³

Useful notes

  • π is the JavaScript constant Math.PI.
  • For the wrapping area of the same solid, use surface area.

FAQ

How do I find the volume of a cylinder?

Multiply the base area πr² by the height. V = πr²h.

Why is a cone one-third of a cylinder?

A cone with the same base radius and height occupies one-third of that cylinder’s volume. That is the standard Euclidean result used here.

Can I mix cm and inches?

No. Pick one length unit for every measurement. The volume unit is then that unit cubed.

Related tools

See all Geometry tools.