Key Points
- A rectangular prism, or cuboid, has 6 rectangular faces in 3 equal pairs, 12 edges and 8 vertices.
- Volume : one layer of unit cubes holds , and there are layers.
- Surface area : three different rectangles, each appearing twice.
- The space diagonal is Pythagoras' theorem used twice.
Why Does a Fish Tank Need Two Different Numbers?
A glass fish tank 60 cm long, 30 cm wide and 40 cm tall raises two questions, not one.
- The buyer asks how much water it holds: 72 litres.
- The glass-maker asks how much glass it takes: 9,000 cm² for a tank with no lid.
- Both answers come from the same three measurements, because the tank is a rectangular prism.

What Is a Rectangular Prism?
A rectangular prism is a solid with six rectangular faces that meet at right angles.
- It is a prism: two identical, parallel ends joined by flat sides.
- Three measurements describe it: length , width and height .
- Books, bricks, shoeboxes, rooms and shipping containers are all rectangular prisms.
- Other names: cuboid (UK and India), right rectangular prism, rectangular parallelepiped.
- With all three edges equal it is a cube: the difference between a cube and a cuboid.
Properties of a Rectangular Prism
Every rectangular prism, from a matchbox to a warehouse, has the same parts.
- 6 faces: top and bottom (), front and back (), two ends (). Opposite faces match.
- 12 edges: four each of , and .
- 8 vertices, where three edges meet at right angles.
- The counts fit Euler's polyhedron formula: .
Volume Formula
Volume is the space inside, in cubic units (cm³, m³, ft³).
Why the formula works: count the layers
- Fill a 4 by 3 by 2 box with 1 cm cubes.
- The bottom layer holds cubes.
- There are 2 layers, so 24 cm³.

One layer is the base area , so too, for every prism.
What if the edges are fractions?
Use smaller cubes. A 2.5 by 1.5 by 2 cm box holds 60 half-centimetre cubes of cm³ each: 7.5 cm³, the same as .

In the lab, drag the dots to change , and , and press "Show me" to fill the box with cubes.
Try It Yourself
Use the 3d solids lab to see Rectangular Prism - Volume and Surface Area at work: drag, change the numbers and watch what happens.
Surface Area Formula
Surface area is the area of all six faces, in square units: what you paint or wrap.
- Opposite faces match, so there are only three different rectangles. Add one of each, then double.
- Unfolded, the box is a flat net whose area is the surface area (the difference between area and surface area).
Lateral Surface Area
The lateral surface area is the four sides only, without the top and bottom:
- Flattened, the four sides make one band, tall and as long as the base perimeter .
- A 6 by 3 by 4 box: the band is ; adding top and bottom (36) gives 108.

Length of the Diagonal
A space diagonal runs through the inside from one corner to the opposite corner:
It is Pythagoras' theorem used twice:
- The floor diagonal gives .
- meets the upright edge at a right angle, so .
- In a 12 by 4 by 3 cm box, cm and cm.

For a cube of side , .
What Happens at the Edges of the Formulas
Pushing the formulas to extremes shows what each one measures.
- Squash a 6 by 3 box flat: the volume falls to 0, the surface area only to 36.
- Push the stack of layers over and it becomes an oblique prism. Same layers, same height, same volume.
- Its height is measured straight up; its surface grows, as the faces become parallelograms.
- 1 m = 100 cm, but 1 m² = 10,000 cm² and 1 m³ = 1,000,000 cm³.

Examples of the Rectangular Prism
Example 1
Find the volume and the surface area of a rectangular prism 8 cm long, 5 cm wide and 3 cm high.
- Volume: cm³.
- Faces: 40, 24 and 15 cm².
- Surface area: cm².
Final answer: 120 cm³ and 158 cm².
Example 2
A box holds 360 cm³. Its base is 12 cm by 5 cm. How tall is it?
- Base area: cm².
- , so .
Final answer: 6 cm tall.
Example 3
The fish tank is 60 cm by 30 cm by 40 cm, with no lid. How much glass does it need?
- A closed box: cm².
- No top, so subtract one 1,800 cm² face: 9,000 cm².
- Check: base 1,800, front and back 4,800, ends 2,400.

Final answer: 9,000 cm², or 0.9 m².
Example 4
A shipping container is 12 m long, 8 m wide and 5 m tall inside. What is the longest straight pole that fits?
- The longest line inside is the space diagonal: .
- Flat on the floor, it could be only m.
Final answer: about 15.26 m, corner to opposite corner.
Example 5
How many 2 cm cubes can be packed into a box 10 cm by 6 cm by 5 cm?
- Dividing volumes gives , but whole cubes must line up.
- Along the edges: 5, 3 and 2.5, so only 2 layers.
- , leaving a 1 cm gap.
Final answer: 30 cubes, not 37.
Why Does the Rectangular Prism Matter?
The rectangular prism is the shape of the built world, so both formulas get daily use.
- Capacity: a litre is a 10 cm cube. The fish tank holds 72,000 cm³, or 72 litres.
- Building: a slab 4 m by 3 m and 10 cm thick needs 1.2 m³ of concrete.
- Painting: a room 5 by 4 m and 2.5 m high has 45 m² of wall, a lateral surface.
- Shipping and games: boxes stack with no gaps, and games test collisions with invisible boxes.

A Worked Example: Why Adding the Edges Fails
The tempting shortcut for surface area adds lengths when it should multiply them.
Example 6
A student finds the surface area of a 4 × 3 × 2 box as 6 × (4 + 3 + 2) = 54. Is that right?
- A rectangle's area is a product of lengths, not a sum.
- The faces are 12, 8 and 6, each twice: .
- The 54 was close by luck: for a 10 by 1 by 1 box the shortcut gives 72, not 42.
Final answer: 52 square units, not 54.
What Are the Most Common Mistakes With Rectangular Prisms?
Mistake 1: Forgetting to double the faces
Where it slips in: Surface-area questions, after finding , and .
Don't do this: Stop at , which counts only three of the six faces.
The correct way: Each face has a matching partner, so double the sum.
Mistake 2: Mixing square and cubic units
Where it slips in: The last line of an answer, and conversions between cm and m.
Don't do this: Write a volume in cm², or turn 1.2 m³ into 120 cm³.
The correct way: Volume is cubic, area is square. Cube or square the conversion factor too.
Mistake 3: Stopping at the face diagonal
Where it slips in: "Longest rod that fits" questions.
Don't do this: Use , the diagonal of the floor.
The correct way: Use all three edges, . Students who stop after the first Pythagoras step out of habit land here.
The Mathematicians Who Studied 3D Geometry
- Euclid (about 300 BCE): Book XI of the Elements proves boxes on equal bases with equal heights have equal volume.
- Bonaventura Cavalieri: his 1635 book made the stack-of-slices idea a rule for comparing volumes.
- René Descartes: his 1637 La Géométrie joined algebra to geometry.
- Leonhard Euler: his polyhedron formula links faces, vertices and edges.
Key Takeaways
- Three edges, , and , settle every rectangular prism question.
- Volume counts cubes in layers, so it is cubic; surface area adds three pairs of faces, so it is square.
- The four sides alone are perimeter times height; the diagonal is Pythagoras used twice.
- Leaning a prism over keeps its volume but changes its surface.
Read More
Research Behind This Article
- Euclid, Elements, Book XI, Proposition 31 (parallelepipeds on equal bases with the same height are equal), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
- OpenStax, Prealgebra 2e, Section 9.6: Solve Geometry Applications: Volume and Surface Area. openstax.org
- J. J. O'Connor and E. F. Robertson, Bonaventura Francesco Cavalieri, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
- J. J. O'Connor and E. F. Robertson, Leonhard Euler, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
Is a rectangular prism the same as a cuboid?
How is a cube different from a rectangular prism?
Can a rectangular prism have square faces?
How many litres are in a cubic metre?
Does the volume change if I turn the box on its side?


