Formula
Volume of a rectangular prism
Also written: volume of a box · length times width times height · V = lwh · V = Bh
The volume of a box is length times width times height. Equivalently it is the base area times the height, which is the form that works for any prism.
What each part means
- the three edge lengths, all in the same unit
- the area of the base, which for a box is l × w
Volume of a rectangular prism calculator
Enter the three edges of a box to find its volume with . The steps cover the floor first, then stack the layers, and the answer is written in cubic units.
The steps below find the volume of a box 6 long, 4 wide and 3 tall, using . Turn on JavaScript to try your own measurements.
Worked example:
The volume is 72 cubic units.
Picture the box
The picture shows a box 6 long, 4 wide and 3 tall, with the length along the front, the height up the side and the width going back.
Cover the floor
The base is by , so one layer holds unit cubes. That is the base area .
Then stack the layers
The box is tall, so there are that many identical layers.
The same in one line
Write the units
Three lengths were multiplied, so the answer is in cubic units.
Runs on your device: nothing you type is sent or saved. Want to see why three lengths count cubes? Read the volume lesson, or review the area of a rectangle that forms the base.
When to use it
You need how much fits inside a box, tank or room. The Bh form extends to prisms whose base is a triangle or any other shape.
It counts cubes, in two stages
Cover the floor. A base by holds unit cubes — that is the rectangle’s area, earning its keep.
Then stack. A box cubes tall holds identical layers of :
Multiplication counts equal groups, and the layers are equal groups.
Why the units are cubed
Each unit cube is one centimeter in all three directions — one cubic centimeter, written cm³.
| Multiplied | Quantity | Units |
|---|---|---|
| one | perimeter | cm |
| two | area | cm² |
| three | volume | cm³ |
The exponent counts the dimensions. If three lengths were multiplied the units carry a , and if they do not, a factor was missed.
Bh is the general form
This is the same product grouped differently — is already for a box. Its advantage is that it keeps working when the base is not a rectangle: a prism with a triangular base has volume with being the triangle’s area.
One formula, any prism.
A cube
Where “cubed” for a third power comes from: is the volume of a cube with edge .
Rearranged
Divide by the product of the two dimensions you know.
Volume is not surface area
| Measures | Units | |
|---|---|---|
| volume | what fits inside | cm³ |
| surface area | the wrapping outside | cm² |
Different questions, different units. And stopping after two dimensions gives the base area, not the volume — the commonest slip here, and the units expose it. See volume of a rectangular prism.
Lessons that teach this
- Volume of a Rectangular Prism: Length × Width × Height
Why the volume of a box is length times width times height, why the units are cubed, and how the base-times-height form works for any prism.