Rectangular Prism Calculator
Find the surface area, volume and diagonal of a rectangular prism, with each face pair shown separately.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Rectangular Prism Calculator does
Use this rectangular prism calculator to find the surface area, volume and diagonal of a rectangular prism, with each face pair shown separately. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for homework asking for the surface area or volume of a cuboid. More utilities in this area are collected on FreeToolStation.org.
How to use it
- Enter the three side lengths in any consistent unit.
- Surface area and volume appear immediately.
- The face row shows which pair of faces each term of the formula came from.
How it works
A rectangular prism — a cuboid — has six faces in three matching pairs. The top matches the bottom, the front matches the back, and the two ends match each other. That is the whole of the surface-area formula: work out the three different rectangles, add them, and double the result because each one appears twice. 2(lw + lh + wh) looks like something to memorise and is really just that sentence.
Volume is the simpler of the two and the one people get right: length times width times height. The units matter more than the arithmetic — volume comes out in cubic units and surface area in square ones, so a box 8 × 5 × 3 cm has a volume of 120 cm³ and a surface area of 158 cm², and the two numbers are not comparable even though they came from the same three measurements.
The space diagonal is the longest straight line that fits inside the box, corner to opposite corner. It is Pythagoras applied twice — once across the base, then again from that diagonal up to the far corner — which collapses to the square root of l² + w² + h². It is the number that decides whether a long object fits in a box diagonally when it will not fit along any edge.
Lateral area is the four sides without the top and bottom. It is what you need for a label wrapping round a box, or for painting the walls of a room without the floor and ceiling.
When to use it
- Homework asking for the surface area or volume of a cuboid.
- Working out how much material is needed to cover or wrap a box.
- Checking whether a long item will fit diagonally inside a container.
Common mistakes to avoid
- Adding the three face areas without doubling, which gives half the surface area.
- Mixing units — all three sides must be in the same one.
- Comparing a surface area against a volume. One is in square units, the other cubic.
Frequently asked questions
What is the surface area formula for a rectangular prism?
2(lw + lh + wh). The three terms are the three different faces, and the 2 is because each appears twice.
Is a cube a rectangular prism?
Yes — a cube is the special case where all three sides are equal.
What is the space diagonal for?
It is the longest straight line that fits inside, which tells you whether an item longer than any single edge can still go in corner to corner.