Volume is the amount of space a solid object takes up, measured in cubic units. For any shape with straight sides and a constant cross-section, such as a box or a cylinder, volume is base area × height. Cones and pyramids are one third of that.
Formula table
| Shape | Formula | What the letters mean |
|---|---|---|
| Cube | V = s³ | s = edge length |
| Rectangular prism (box) | V = l × w × h | length, width, height |
| Any prism | V = B × h | B = area of the base, h = height |
| Cylinder | V = π × r² × h | r = radius, h = height |
| Cone | V = ⅓ × π × r² × h | r = base radius, h = perpendicular height |
| Pyramid | V = ⅓ × B × h | B = area of the base, h = perpendicular height |
| Sphere | V = 4/3 × π × r³ | r = radius |
Cube and rectangular prism
Multiply the three dimensions.
- A cube with 4 cm edges: V = 4³ = 64 cm³.
- A box 10 in long, 4 in wide and 3 in high: V = 10 × 4 × 3 = 120 in³.
Worked example: a fish tank. A tank measures 60 cm × 30 cm × 40 cm. Its volume is 60 × 30 × 40 = 72,000 cm³. Since 1 litre is 1,000 cm³, the tank holds 72 litres.
Worked example: a concrete slab. A slab is 4 m long, 3 m wide and 10 cm thick. Convert the thickness to metres first: 10 cm = 0.1 m. Then V = 4 × 3 × 0.1 = 1.2 m³.
Cylinder
A cylinder is a circular prism: the base area π × r² times the height.
Worked example. Radius 3 cm, height 10 cm.
- Square the radius: 3² = 9.
- Multiply by the height: 9 × 10 = 90.
- Multiply by π: 90π ≈ 282.74 cm³.
Worked example: a water tank. A round tank is 2 m across and 1.5 m tall. The radius is 1 m, so V = π × 1² × 1.5 ≈ 4.712 m³. One cubic metre is 1,000 litres, so the tank holds about 4,712 litres. The cylinder calculator also returns the surface area.
Cone
A cone holds exactly one third of the cylinder with the same base and height.
Worked example. Radius 3 cm, height 10 cm: V = ⅓ × π × 9 × 10 = 30π ≈ 94.25 cm³. That is one third of the 282.74 cm³ cylinder above.
Use the perpendicular height from the base to the tip, not the slant height along the side. If you only have the slant height s, find the height with h = √(s² − r²). The cone calculator accepts either.
Sphere
A sphere needs only its radius. Cube it, multiply by π, then by 4/3.
Worked example. Radius 6 cm.
- Cube the radius: 6³ = 216.
- Multiply by 4/3: 216 × 4 ÷ 3 = 288.
- Multiply by π: 288π ≈ 904.78 cm³.
A neat check: a sphere fills exactly two thirds of the smallest cylinder that contains it. That cylinder has radius 6 and height 12, so its volume is π × 36 × 12 = 432π, and two thirds of 432π is 288π. For a hemisphere, halve the sphere's volume. The sphere calculator works from radius, diameter or circumference.
How volume scales
Volume depends on three dimensions, so it grows much faster than length. If you double every dimension of a shape, its volume is multiplied by 2³ = 8. Tripling gives 27 times the volume. A ball with twice the diameter holds eight times as much.
Changing just one dimension is different. Doubling only the height of a cylinder doubles its volume, while doubling only its radius multiplies the volume by 4, because the radius is squared.
Volume units
- 1 cm³ = 1 millilitre
- 1,000 cm³ = 1 litre
- 1 m³ = 1,000 litres = 1,000,000 cm³
- 1 ft³ = 1,728 in³ ≈ 7.48 US gallons ≈ 28.32 litres
- 1 yd³ = 27 ft³
The unit converter switches between any of these.
Common mistakes
- Using the diameter instead of the radius. In a cylinder or cone this makes the answer 4 times too big. In a sphere it makes it 8 times too big.
- Forgetting the ⅓ for cones and pyramids. Without it you have calculated a cylinder or prism.
- Using the slant height. Height always means perpendicular height.
- Squaring when you should cube. A sphere uses r³. A cylinder uses r².
- Mixing units. All dimensions must be in the same unit before multiplying, as in the slab example.
- Converting with the linear factor. 1 m³ is 1,000,000 cm³, not 100 cm³, and 1 yd³ is 27 ft³, not 3 ft³.
Run the numbers yourself
Common questions
What is the formula for the volume of a cylinder?
V = π × r² × h, where r is the radius of the circular base and h is the height. A cylinder with radius 3 cm and height 10 cm has a volume of about 282.7 cm³.
Why is the volume of a cone one third of a cylinder?
A cone tapers to a point, and it can be shown that exactly three cones fill a cylinder with the same base and height. The same one-third rule applies to pyramids and prisms.
How do I convert cubic centimetres to litres?
Divide by 1,000, because 1 litre equals 1,000 cm³. A 72,000 cm³ tank holds 72 litres.