Volume Calculator
Pick a solid and enter its dimensions. The result is in cubic units of whatever unit you used.
Volume of a solid
Volume formulas
| Solid | Volume |
|---|---|
| Cube (edge s) | s³ |
| Rectangular prism | l × w × h |
| Cylinder | πr²h |
| Sphere | (4/3)πr³ |
| Hemisphere | (2/3)πr³ |
| Cone | (1/3)πr²h |
| Square pyramid | (1/3)s²h |
Worked example
A box 6 × 4 × 5 cm
- V = length × width × height
- 6 × 4 × 5 = 120
120 cm³, which holds 120 mL.
From volume to liquid capacity
1 cm³ = 1 mL, 1,000 cm³ = 1 L, and 1 m³ = 1,000 L. In US units, 1 ft³ ≈ 7.48 US gallons and 231 in³ = 1 US gallon exactly. The volume converter handles the rest.
Why cones and pyramids have a third
A cone holds exactly one third of the cylinder with the same base and height, and a pyramid one third of the matching prism. Archimedes also showed that a sphere fills two thirds of the cylinder that just encloses it.