Volume Calculator
Compute the volume of common 3D shapes — cube, rectangular prism, sphere, cylinder, cone, square pyramid and ellipsoid. Choose a shape, enter its dimensions, and the calculator returns the volume with the formula used.
Choose a shape
Choose a shape, enter dimensions, and press Calculate.
Volume formulas
| Shape | Volume |
|---|---|
| Cube (side s) | s³ |
| Rectangular prism (l, w, h) | l · w · h |
| Sphere (radius r) | (4/3)πr³ |
| Cylinder (r, h) | πr²h |
| Cone (r, h) | (1/3)πr²h |
| Square pyramid (s, h) | (1/3)s²h |
| Ellipsoid (a, b, c) | (4/3)πabc |
Related calculators
Frequently asked questions
Any unit you like — the calculator works with whatever unit your input is in. If you enter dimensions in cm, the volume is in cm³ (cubic centimetres). Unit conversion is done manually outside the calculator.
A cone with the same base and height as a cylinder fills exactly one-third of the cylinder. This is true for any pyramid or cone shape relative to a corresponding prism or cylinder.