MathQuizily ranked #372 in TIME and Statista's World's Top EdTech Companies 2026.Read the announcement
Geometry · Grades 5–8
Rectangular Prism Volume: Formula, Examples and Printable Test
The volume of a rectangular prism is how much space it takes up, measured in cubic units. The formula is short, but the questions that trip students up are the ones that run it backwards, so this page covers both directions.
Rectangular Prism Volume formula
V = l × w × h
Volume equals length times width times height. Another way to see it is base area times height, since length times width is the area of the base. That second reading matters, because it is the version that generalises to prisms whose base is not a rectangle.
V
Volume, measured in cubic units such as cm³ or in³
l
Length of the prism
w
Width of the prism
h
Height of the prism
Worked examples
Example 1: Straightforward volume
A box measures 8 cm long, 5 cm wide and 3 cm high. Find its volume.
1Write the formula: V = l × w × h.
2Substitute the values: V = 8 × 5 × 3.
3Multiply the first two: 8 × 5 = 40.
4Multiply by the height: 40 × 3 = 120.
Answer: 120 cm³
Example 2: Finding a missing dimension
A tank has a volume of 240 cm³. Its base measures 8 cm by 5 cm. How tall is it?
1The base area is 8 × 5 = 40 cm².
2Volume = base area × height, so 240 = 40 × h.
3Divide both sides by 40: h = 240 ÷ 40.
4This gives h = 6.
Answer: 6 cm
Example 3: Mixed units
A crate is 1.2 m long, 80 cm wide and 50 cm high. Find its volume in cubic metres.
1Convert everything to metres first: 80 cm = 0.8 m and 50 cm = 0.5 m.
Most students first meet volume as length times width times height, which works perfectly for a box and then stops working the moment the base is a triangle or a circle. Reading the same formula as base area times height is the version that survives. A cylinder is πr² times height, a triangular prism is half base times perpendicular height times length, and in every case the structure is identical: find the area of the face that repeats, then multiply by how far it repeats.
Teaching it this way in Grade 5 costs nothing extra and removes an entire relearning step in Grade 8. It also makes the reverse questions obvious, because if volume is base area times height, then height is volume divided by base area without any rearranging to memorise.
Recognising reverse volume questions
Almost every exam question that carries more than one mark runs the formula backwards. You are given a volume and asked for a missing edge, or given a capacity in litres and asked for a depth. The arithmetic is a single division, but students who have only practised forward substitution often do not recognise that a division is what is wanted.
The reliable habit is to write the formula first, substitute everything you know including the unknown as a letter, and only then decide what to do. A student who writes 240 = 40 × h has already solved the hard part; a student who starts by hunting for numbers to multiply usually stalls.
Common mistakes with rectangular prism volume
✗ Writing the answer in square units, such as 120 cm².
✓ Volume is three-dimensional, so the units are cubic: 120 cm³.
✗ Multiplying dimensions that are in different units.
✓ Convert every measurement to the same unit before multiplying, then state the matching cubic unit.
✗ Adding the three dimensions instead of multiplying them.
✓ Volume is a product. Adding gives a length, not a volume, and the units alone reveal the error.
✗ Assuming doubling one edge doubles the volume in every case.
✓ Doubling one edge doubles the volume; doubling all three multiplies it by eight.
Rectangular Prism Volume FAQ
What is the formula for the volume of a rectangular prism?
V = l × w × h, where l is length, w is width and h is height. Equivalently, volume equals the area of the base multiplied by the height.
What units is volume measured in?
Cubic units, such as cm³, m³ or in³. If the measurements are in centimetres, the volume is in cubic centimetres.
How do you find a missing side when you know the volume?
Divide the volume by the product of the two known dimensions. For example, if V = 180, l = 9 and h = 4, then w = 180 ÷ 36 = 5.
Is the volume of a cube found the same way?
Yes. A cube is a rectangular prism with all edges equal, so V = s × s × s, or s³.
How many litres is a cubic centimetre?
One litre equals 1000 cm³, so divide a volume in cubic centimetres by 1000 to convert it to litres.