The formula
V = l × w × h
Variables and units
| Symbol | Meaning | Unit |
|---|---|---|
| V | volume | cubic units, e.g. m³ |
| l, w, h | length, width and height | the same length unit |
Other forms of the formula
The same relationship rearranged, so you can solve for whichever quantity is unknown.
- h = V ÷ (l × w)
- l = V ÷ (w × h)
How it works
Volume counts unit cubes. A box 4 × 3 × 2 units holds 24 unit cubes.
For liquids, convert the cubic result to liters or gallons afterwards: 1 m³ is 1,000 liters and 1 ft³ is about 7.48 US gallons.
Worked example
An aquarium measures 100 cm × 40 cm × 50 cm inside. How much water does it hold?
- V = 100 × 40 × 50 = 200,000 cm³
- 1,000 cm³ = 1 liter
- V = 200 liters
200 liters, about 52.8 US gallons, weighing roughly 200 kg.
Common mistakes
- Mixing units between the three dimensions.
- Converting cubic units with a length factor. One cubic meter is 35.31 cubic feet, not 3.28.
Where it is used
Tank and pool capacity, concrete and soil orders, room air volume for ventilation and shipping volume.
Frequently asked questions
What is the formula for volume of a rectangular prism?
V = l × w × h. Rearranged to find the other quantities: h = V ÷ (l × w); l = V ÷ (w × h).
What do the symbols mean, and which units should I use?
V is volume (cubic units, e.g. m³); l, w, h is length, width and height (the same length unit). Use consistent units so the answer comes out in the unit you expect.
What are common mistakes with this formula?
Mixing units between the three dimensions. Converting cubic units with a length factor. One cubic meter is 35.31 cubic feet, not 3.28.
Where is this formula used?
Tank and pool capacity, concrete and soil orders, room air volume for ventilation and shipping volume.
Is there a worked example?
Yes. An aquarium measures 100 cm × 40 cm × 50 cm inside. How much water does it hold? 200 liters, about 52.8 US gallons, weighing roughly 200 kg.