Find the volume of cubes, boxes, cylinders, cones, spheres, pyramids, prisms, capsules and tubes, with results in cubic units, litres and gallons.
Uses π to full precision. Litres: 1 litre = 1,000 cm³. Gallons are US liquid gallons (3.785411784 litres); UK gallons are 4.54609 litres.
A volume calculator works out how much space a 3D shape takes up, from its dimensions, for cubes, boxes, cylinders, cones, spheres, hemispheres, pyramids, prisms, capsules, frustums and tubes. It converts the answer into cubic metres, cubic centimetres, litres, US and UK gallons, cubic feet and cubic inches, and gives the surface area for shapes where it’s useful.
For example, a cylinder with a radius of 5 cm and a height of 10 cm has a volume of 785.398 cm³, which holds about 0.785 litres. A box 2 × 3 × 4 metres holds 24 m³, or 24,000 litres, and a sphere with a 6-inch radius has a volume of about 904.78 cubic inches, nearly 14.83 litres.
| Shape | Formula | Example |
|---|---|---|
| Cube | V = a³ | a = 3: 27 |
| Rectangular box | V = l × w × h | 2 × 3 × 4 = 24 |
| Cylinder | V = πr²h | r = 5, h = 10: 785.398 |
| Cone | V = ⅓πr²h | r = 3, h = 4: 37.699 |
| Sphere | V = 4⁄3 πr³ | r = 6: 904.779 |
| Hemisphere | V = ⅔πr³ | r = 1: 2.094 |
| Rectangular pyramid | V = ⅓ × l × w × h | 3 × 4 × 5 ÷ 3 = 20 |
| Triangular prism | V = ½ × b × h × l | ½ × 3 × 4 × 10 = 60 |
| Capsule | V = πr²(4⁄3 r + a) | r = 2, a = 5: 96.342 |
| Conical frustum | V = ⅓πh(R² + Rr + r²) | r = 2, R = 4, h = 6: 175.929 |
| Tube | V = π(R² − r²)l | R = 5, r = 4, l = 100: 2,827.433 |
Any shape with the same cross-section all the way through, such as a box, a cylinder or a triangular prism, has a volume equal to the area of its cross-section times its length. A cylinder’s cross-section is a circle with area πr², so its volume is πr²h. A triangular prism’s cross-section has area ½ × base × height.
A pyramid or cone holds exactly one third of the prism or cylinder with the same base and height. That’s why their formulas include ⅓. A cone with a radius of 3 and a height of 4 has a third of the volume of the matching cylinder: 113.097 ÷ 3 = 37.699.
A sphere’s volume is 4⁄3 πr³, two thirds of the cylinder that just contains it. Because the radius is cubed, doubling the radius makes the volume eight times larger.
A frustum is a cone with its tip cut off, like a bucket or lampshade. A tube, such as a pipe, is the volume of the outer cylinder minus the hollow inner cylinder.
Be careful when converting cubic units: because volume has three dimensions, 1 m³ isn’t 100 cm³ but 100 × 100 × 100 = 1,000,000 cm³. The calculator does these conversions for you.
A patio slab 4 metres long, 3 metres wide and 10 centimetres thick is a rectangular box. Convert the thickness to metres first: 0.1 m. The volume is 4 × 3 × 0.1 = 1.2 m³. Adding 10% for waste and uneven ground, you’d order about 1.32 m³ of concrete.
A tank measuring 100 cm × 40 cm × 50 cm holds 100 × 40 × 50 = 200,000 cm³, which is 200 litres or about 52.83 US gallons. In practice you fill it a little below the top, and gravel and decorations take up some of the space.
A silo is often a cylinder with a cone on top. For a cylinder 6 metres across and 10 metres tall, the volume is π × 3² × 10 ≈ 282.74 m³. A cone roof 2 metres tall adds ⅓ × π × 3² × 2 ≈ 18.85 m³, for a total of about 301.59 m³. Splitting a complex shape into simple parts like this works for almost any object.
Volume grows much faster than length. If you double every dimension of a shape, its volume becomes 2 × 2 × 2 = 8 times larger, while its surface area becomes only 4 times larger. A sphere with a radius of 2 holds eight times as much as one with a radius of 1. This is why a slightly bigger pizza box, pot or water tank can hold a lot more, and why large animals lose heat more slowly than small ones: they have less surface area for their volume.
For small irregular objects, such as a stone or a piece of jewellery, use water displacement. Fill a measuring jug part way, note the level, drop the object in and read the new level. The difference is the object’s volume: a rise from 500 ml to 560 ml means the object has a volume of 60 cm³. This is the method Archimedes is said to have used to test whether a crown was pure gold.
Two other tools work well alongside this one: the area calculator, to find the area of common shapes, and the circle calculator, to find a circle’s radius, diameter, circumference and area.
Use the formula for the shape. For a box, multiply length × width × height; for a cylinder, π × radius² × height.
V = πr²h. A cylinder with a radius of 5 cm and a height of 10 cm has a volume of about 785.4 cm³.
Multiply by 1,000. A volume of 24 m³ holds 24,000 litres.
About 28.3168 litres, or roughly 7.48 US gallons.
V = 4⁄3 πr³. A sphere with a radius of 6 inches has a volume of about 904.78 cubic inches.
A cone holds exactly one third of the volume of a cylinder with the same base and height, which is why its formula includes ⅓.
Split it into simple shapes, calculate each volume and add them. For small objects, you can also measure the water they displace.
A US gallon is 3.785 litres and a UK (imperial) gallon is 4.546 litres, about 20% larger.
Multiply length × width × thickness in metres. A 4 m × 3 m slab 10 cm thick needs 1.2 m³, plus about 10% extra for waste.
Doubling every dimension multiplies the volume by eight, because volume depends on three dimensions.
200,000 cm³, which is 200 litres or about 52.83 US gallons.
Volume measures the space inside a shape in cubic units; surface area measures the outside in square units.
The formulas use the radius, which is half the diameter. A pipe 10 cm across has a radius of 5 cm.