Volume Formulas for Every 3D Shape (With Examples)

Published 15 November 2026 · Math

Try it nowVolume Calculator →

Volume is the amount of space inside a 3D shape, measured in cubic units. Here are the formulas you need – or let the free volume calculator do the work.

ShapeFormulaExampleVolume
Cubes³s = 3 cm27 cm³
Cuboidl × w × h5 × 4 × 2 m40 m³
Cylinderπr²hr = 3, h = 10 cm282.7 cm³
Sphere4/3 πr³r = 5 cm523.6 cm³
Cone1/3 πr²hr = 3, h = 4 cm37.7 cm³
Square pyramid1/3 b²hb = 6, h = 9 m108 m³

Converting to litres

  • 1,000 cm³ = 1 litre
  • 1 m³ = 1,000 litres
  • 1 ft³ ≈ 28.32 litres
  • 1 US gallon ≈ 3.785 litres; 1 UK gallon ≈ 4.546 litres

Example: how much water in a fish tank?

A tank 60 cm × 30 cm × 35 cm holds 63,000 cm³ = 63 litres.

Tip

Always convert every measurement to the same unit before multiplying. Mixing metres and centimetres is the most common mistake.

Keep reading