Volume Calculator
Calculate the volume of a cube, box, cylinder, sphere, cone, pyramid, capsule or ellipsoid. Enter dimensions in mm, cm, m, inches or feet and get the result in liters, cubic meters, gallons and more.
- 100% free
- No signup
- Runs in your browser
How to use
- Choose the shape you want to measure from the Shape list.
- Pick the unit you measured in: millimeters, centimeters, meters, inches or feet.
- Enter the dimensions shown for that shape. You can use a dot or a comma as the decimal separator.
- Read the volume in cubic units, and below it the same volume in liters, milliliters, cubic meters, US gallons, cubic feet and cubic inches.
What is volume?
Volume is the amount of three-dimensional space an object takes up. It is measured in cubic units: if the dimensions are in centimeters, the result is in cubic centimeters (cm³). One liter equals 1,000 cm³, and one cubic meter equals 1,000 liters.
Prisms and cylinders multiply the area of the base by the height. Cones and pyramids hold exactly one third of the prism or cylinder with the same base and height, which is why their formulas contain 1/3.
Volume formulas
| Shape | Formula |
|---|---|
| Cube | V = a³ |
| Rectangular box | V = l × w × h |
| Cylinder | V = π × r² × h |
| Sphere | V = 4/3 × π × r³ |
| Cone | V = 1/3 × π × r² × h |
| Pyramid (rectangular base) | V = 1/3 × l × w × h |
| Capsule | V = π × r² × (4/3 × r + L) |
| Ellipsoid | V = 4/3 × π × a × b × c |
a = side length (cube) or semi-axis (ellipsoid), b and c = the other semi-axes, l = length, w = width, h = height, r = radius, L = length of the straight part of a capsule.
Examples
| Example | Result |
|---|---|
| A box 30 cm × 20 cm × 10 cm | 6,000 cm³ = 6 liters |
| A cylindrical tank with a radius of 0.5 m and a height of 2 m | ≈ 1.571 m³ ≈ 1,571 liters |
| A ball with a radius of 12 cm | ≈ 7,238 cm³ ≈ 7.24 liters |
| A cone with a radius of 3 in and a height of 6 in | ≈ 56.55 in³ ≈ 0.93 liters |