Volume calculator
Cubic feet, cubic yards, cubic metres, litres and gallons
Choose a shape and the unit you measured in. The example is a box 6 ft long, 4 ft wide and 2 ft deep.
–
- Cubic feet
- –
- Cubic yards
- –
- Cubic metres
- –
- Litres
- –
- US gallons
- –
- UK (imperial) gallons
- –
A measurement from the sizes you typed. No waste allowance applies here. Check anything covered by a building code, or that you will pay for, against your own measurements.
The formulas
- Box: length x width x height.
- Cylinder: π x (diameter / 2)² x height.
- Cone: one third of the cylinder with the same base and height.
- Sphere: π x diameter³ / 6, the same as 4/3 x π x radius³.
- Pyramid: length x width x height / 3.
- Wedge: the triangle's base x its height / 2, times the length of the wedge.
Measure every size in the same unit. The answer comes out in that unit cubed and is then converted.
Cubic yards and cubic metres
Soil, gravel, mulch and ready-mix concrete are sold by the cubic yard in the US and by the cubic metre elsewhere. A cubic yard is 3 ft x 3 ft x 3 ft, which is 27 cubic feet or 0.7646 m³. A cubic metre is 1,000 litres.
Worked example
A box 6 ft x 4 ft x 2 ft is 48 cubic feet. 48 / 27 = 1.78 cubic yards. In metric, 48 x 0.0283168 = 1.359 m³, or 1,359 litres. A US gallon is 231 cubic inches (3.785 litres), so 48 cu ft holds about 359 US gallons.
Liquids
Gallons here are a straight conversion of the space inside. A tank's working capacity is usually less, so check its label. To buy materials with an allowance for waste, use the concrete, gravel or topsoil calculators.
Defaults and where they come from
Every default is only a starting point. Change any box to match what you are buying or building.
| Default | Value | Source |
|---|---|---|
| Conversions | 1 cu ft = 0.028316846592 m³; 1 cu yd = 27 cu ft; 1 US gal = 231 cu in = 3.785411784 L; 1 UK gal = 4.54609 L | Exact legal definitions (international yard and pound, 1959; US gallon of 231 cubic inches; UK Weights and Measures Act 1985). |
| Waste allowance | None | This page measures volume only. |