Use this free volume calculator to find the volume of a cube, rectangular box, cylinder, sphere, cone, pyramid, and other common shapes. Choose a shape, enter its measurements, and the calculator shows the volume. You can also convert the result to cubic feet, cubic meters, liters, gallons, and more. No signup needed.
If you have a diameter, divide it by 2 to get the radius.
Volume is the amount of space inside a three-dimensional object. It is measured in cubic units, such as cubic centimeters (cm³), cubic meters (m³), cubic inches (in³), and cubic feet (ft³). Liquid volume is often measured in liters or gallons.
| Shape | Formula | Variables |
|---|---|---|
| Cube | V = a³ | a = side length |
| Rectangular prism (box) | V = l × w × h | length, width, height |
| Cylinder | V = π × r² × h | r = radius, h = height |
| Sphere | V = (4/3) × π × r³ | r = radius |
| Hemisphere | V = (2/3) × π × r³ | r = radius |
| Cone | V = (1/3) × π × r² × h | r = radius, h = height |
| Pyramid | V = (1/3) × base area × h | h = height |
| Triangular prism | V = (1/2) × b × a × l | b = triangle base, a = triangle height, l = length |
| Ellipsoid | V = (4/3) × π × a × b × c | a, b, c = semi-axes |
| Capsule | V = π × r² × h + (4/3) × π × r³ | h = length of the cylinder part |
| Cone frustum | V = (π × h ÷ 3) × (R² + R×r + r²) | R, r = radii, h = height |
π is about 3.14159. A cone has one-third the volume of a cylinder with the same base and height, and a pyramid has one-third the volume of a prism with the same base and height.
A cube has a side of 5 cm.
A box is 10 cm long, 4 cm wide, and 3 cm high.
A cylinder has a radius of 3 cm and a height of 10 cm.
A sphere has a radius of 6 cm.
A cone has a radius of 4 cm and a height of 9 cm.
A pyramid has a square base of 6 cm by 6 cm and a height of 9 cm.
A hemisphere has a radius of 5 cm.
A triangular prism has a triangle with base 6 cm and height 4 cm, and a length of 10 cm.
An ellipsoid has semi-axes of 3, 4, and 5 cm.
A capsule has a radius of 2 cm and a cylinder part 10 cm long.
A cone frustum has radii of 4 cm and 2 cm and a height of 6 cm.
A slab is 4 m long, 3 m wide, and 0.1 m thick.
Order a little extra, often about 5% to 10%, to allow for waste and uneven ground.
A cylindrical tank has a diameter of 2 m and a height of 3 m, so the radius is 1 m.
A room is 10 ft by 12 ft with an 8 ft ceiling.
A raised bed is 8 ft long, 4 ft wide, and 0.5 ft (6 inches) deep.
A rectangular pool is 20 ft long, 10 ft wide, and 5 ft deep on average.
A cylinder has a diameter of 4 in and a length of 12 in, so r = 2 in.
| From | To | Multiply by |
|---|---|---|
| 1 cubic meter (m³) | liters | 1,000 |
| 1 liter | cubic centimeters (cm³) | 1,000 |
| 1 cubic meter | U.S. gallons | 264.172 |
| 1 U.S. gallon | liters | 3.78541 |
| 1 cubic foot (ft³) | liters | 28.3168 |
| 1 cubic foot | U.S. gallons | 7.48052 |
| 1 cubic yard (yd³) | cubic feet | 27 |
| 1 cubic yard | cubic meters | 0.764555 |
| 1 cubic inch (in³) | cubic centimeters | 16.3871 |
| 1 U.S. gallon | cubic inches | 231 |
A U.S. gallon and an imperial (UK) gallon are different sizes. The imperial gallon is about 4.546 liters.
It depends on the shape. For a box, multiply length × width × height. For a cylinder, use π × radius² × height. For a sphere, use (4/3) × π × radius³.
V = π × r² × h, where r is the radius and h is the height. A cylinder with r = 3 cm and h = 10 cm has a volume of 282.74 cm³.
V = (4/3) × π × r³. A sphere with a radius of 6 cm has a volume of 904.78 cm³.
V = (1/3) × π × r² × h. A cone with r = 4 cm and h = 9 cm has a volume of 150.80 cm³.
Multiply the length, width, and height. A box that is 10 × 4 × 3 cm has a volume of 120 cm³.
Multiply by 1,000. A volume of 1.2 m³ is 1,200 liters.
Multiply by 7.48052 for U.S. gallons. A volume of 1,000 ft³ is about 7,480 gallons.
Divide by 27. A volume of 16 ft³ is 0.59 yd³.
Volume is the space an object takes up. Capacity is how much a container can hold. They use the same math, but capacity is usually in liters or gallons.
Break it into simple shapes, find each volume, and add them. For a very irregular object, you can measure the water it displaces.
Multiply the radius by 2. To find the radius from a diameter, divide by 2.
Yes. It is free, with no registration and no limits.
It uses exact formulas and the numbers you enter, with π to many decimal places. Real objects may differ because of rounding and measurement errors.
A few of the most-used tools in each hub.
This calculator is for general informational purposes only. Results are estimates based on the measurements you enter. For construction, engineering, or safety-critical work, double-check your numbers and consult a qualified professional.