Try it with your numbers
Show every step
The formula is quick to apply, but most lost points come from mixed units, fractional edges and mistaking volume for surface area. The sections below cover each of those, plus the reasoning that lets you rebuild the formula from nothing.
Why does the volume of a rectangular prism use three factors?
Start with the floor of the box. A rectangle units long and units wide holds exactly unit squares, which is the idea behind the area of a rectangle. Now cover that floor with unit cubes, one cube per square. That first layer contains cubes and stands unit tall.
A box that is units tall stacks identical layers. So the cube count is . That is all the formula says: area of one layer, times the number of layers.
This is why the unit is cubic. You are counting cubes, and a cube is a length times a length times a length. The same logic explains the volume of a cube as the special case , giving .
Quick check
Answer: 24 cubes in the bottom layer, 72 in total
How do you find the volume of a rectangular prism with units?
Follow the same three moves every time:
- Put all three edges in one unit.
- Multiply them: .
- Write the answer in cubic units.
Worked example 1. A planter is m long, cm wide and cm tall. Find its volume in , then in and liters.
Convert first: . Then
To check in meters, use m and m:
Since L, the planter holds L.
The trap is converting the answer with a length factor. One meter is cm, but one cubic meter is cubic centimeters, because all three edges stretch. This table is worth keeping nearby.
| Conversion | Value |
|---|---|
| L |
Volume of a rectangular prism with fractions and decimals
Fractional edges work exactly like whole ones. The picture just changes: with edges measured in halves, you fill the box with cubes of side , and each one holds of a unit cube. A prism that is by by holds of those small cubes, so its volume is . Multiplying the edges directly gives as well.
Worked example 2. A crate is ft by ft by ft. Convert the mixed numbers first:
Cancel before multiplying. The in the numerator cancels the in the denominator, and the cancels the :
As a check, and . Same result by a different route.
In a product of fractions, any numerator can cancel with any denominator. Scan for pairs like before you multiply, and the numbers stay small.
With decimals, multiply as if they were whole numbers, then place the decimal point so the answer has as many decimal places as all the factors combined. For , there are two decimal places in total, and becomes .
How do you find a missing length from the volume?
Because , any one edge is the volume divided by the other two. For example, . If the base area is known, this is simply . Division undoes the layers: the volume divided by the layer size tells you how many layers there are.
The harder version hides the edge inside an algebra relationship. This is where negative answers appear, and where they must be thrown out.
Worked example 3. A box has a volume of and a width of in. Its length is in more than its height. Find the length and height.
Let the height be , so the length is . Then
Divide both sides by and expand:
Factor: , so or . A height cannot be negative, so in and the length is in. Check: . If the quadratic does not factor, the quadratic formula practice problems cover the other route.
What happens to volume when you scale the dimensions?

Multiply every edge by a scale factor and the new volume is
So doubling every edge gives times the volume, not times. Tripling gives times. This is the three-dimensional side of a dilation, where lengths scale by , areas by and volumes by .
Worked example 4. A box is , so . Scale every edge by . The new edges are , and , and
The factor is , and . Both routes agree.
Scaling only one edge is different: double just the height and the volume only doubles. The cube law applies only when all three edges change by the same factor. This is why a “double size” shipping box holds eight times as much, and why a small increase in each edge makes a surprisingly big jump in capacity.
Try this: A box is cm. Without multiplying out, predict the volume if each edge grows by (so ). Then compute and see how far a stretch pushes the volume.
Quick check
Answer: 1350 cubic centimeters
Volume vs surface area of a rectangular prism

Volume measures what fits inside. Surface area measures the material on the outside. They use different units ( versus ) and different formulas, and the surface area of a rectangular prism is . If a problem mentions paint, wrapping paper or fabric, it wants surface area. If it mentions filling, capacity or space, it wants volume.
The two quantities are not tied together. Two boxes can hold the same amount and need very different amounts of cardboard. Compare with . Both have , but
For a fixed volume, the cube uses the least surface. Here the cube edge would be , giving a surface area of about . That is the reason packaging designers favor boxes close to cubes, and why animals curl up to lose less heat.
How do you find the diagonal of a rectangular prism?
The space diagonal runs from one corner through the inside of the box to the opposite corner. It comes from applying the Pythagorean theorem twice. First, the diagonal of the base is . That diagonal and the height form a right triangle with the space diagonal as hypotenuse, so
Worked example 5. Find the space diagonal of a box. The base diagonal is . Then
The numbers form a “Pythagorean quadruple”, a cousin of the Pythagorean triples. A straight rod of length fits in this box exactly corner to corner, and nothing longer will fit, even though no edge exceeds .
For a cube with edge , the formula collapses to . A cube with has a space diagonal of about .
When does the rectangular prism formula stop working?
The formula needs a box with right angles. For a slanted (oblique) prism, the idea survives in the form , but must be the perpendicular height, not the slanted edge. Picture a stack of index cards pushed sideways: the stack leans, but it holds the same cards, so the volume is unchanged. Using the slant length is the classic error here.
Other solids borrow the same structure. A cylinder is a base times a height, so the volume of a cylinder is . A pyramid with the same base and height as a prism holds exactly one third as much, which is the volume of a pyramid formula, .
For L-shaped or stepped solids, split the shape into boxes and add, or subtract a missing box from a larger one. And if the edges are given as vectors, the volume of the slanted box they span is the absolute value of a 3×3 determinant. When the edges happen to lie along the axes, that determinant reduces to .
Quick check
Answer: 30 cubic centimeters
How do you check a volume answer and use it in real life?
Three quick checks catch nearly every mistake:
- Round each edge and multiply mentally. For , estimate .
- Confirm the unit is cubic, and that every edge shared one unit before multiplying.
- Divide your answer by two of the edges. You should get the third.
Worked example 6. A concrete slab is ft by ft and in thick. How many cubic yards are needed? Convert the thickness: ft. Then
Since , the slab needs cubic yards. In practice, a builder would order yd³ so there is a little extra.
The same steps size a moving box, an aquarium, a shipping container or a swimming pool. In every case, convert the units, multiply three lengths, and read the answer in cubic units.
Practice problems
0 of 5 solved
- Find the volume of a rectangular prism that is in long, in wide and in tall.
Answer: 105 cubic inches
Multiply the three edges: . First . Then , so . - A shipping crate measures m by m by m. Find its volume.
Answer: 12 cubic meters
Use . Multiply the first two: . Then , so . - A rectangular prism has a base area of and a volume of . Find its height.
Answer:
Use , so . Then . Since , the height is cm. - A fish tank is cm long, cm wide and cm tall. How many liters of water fill it completely?
Answer: 60 liters
Find the volume: . Since L, divide: . The tank holds L. - A box has a square base, a volume of and a height of in. Find its space diagonal.
Answer: in
Base area is , so each base side is in. The diagonal is . Simplify: in.
Common questions
What is the formula for the volume of a rectangular prism?
The formula is , where is length, is width and is height. It is the same as base area times height, , because the base area of a rectangle is .
What units does the volume of a rectangular prism use?
Cubic units, such as , or . Every edge must be in the same unit before you multiply, otherwise the product means nothing.
Does it matter which side is the length, width or height?
No. Multiplication can be done in any order, so equals . Labeling the sides differently never changes the volume.
How do you find the volume of a rectangular prism from its base area?
Multiply the base area by the height: . If the base area is and the height is m, the volume is .
How do you convert the volume of a prism to liters?
Find the volume in cubic centimeters, then divide by , since L equals . A volume of is L.
Is a cuboid the same as a rectangular prism?
Yes. Cuboid, rectangular box and right rectangular prism all name the same solid, with six rectangular faces meeting at right angles. If all three edges are equal, it is a cube.