Rectangular Prism: Volume and Surface Area

#Rectangular Prism
TL;DR
A rectangular prism is a box with six rectangular faces: its volume is V=lwhV = lwh and its surface area is S=2(lw+lh+wh)S = 2(lw + lh + wh). Below: why both work, the diagonal, and six worked examples.
Mythri K M·reviewed byShikha SharmaLast updated on December 2, 202612 min read

Key Points

  • A rectangular prism, or cuboid, has 6 rectangular faces in 3 equal pairs, 12 edges and 8 vertices.
  • Volume V=lwhV = lwh: one layer of unit cubes holds lwlw, and there are hh layers.
  • Surface area S=2(lw+lh+wh)S = 2(lw + lh + wh): three different rectangles, each appearing twice.
  • The space diagonal l2+w2+h2\sqrt{l^2 + w^2 + h^2} 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.
a rectangular prism labelled with length, width, height and its three kinds of face
A rectangular prism has three pairs of equal rectangles: a fish tank 60 by 30 by 40 cm drawn in 3D with its top 60 by 30, front 60 by 40 and end 30 by 40 shaded, all 8 vertices dotted, beside the face areas 1,800, 2,400 and 1,200 square centimetres.

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 ll, width ww and height hh.
  • 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 (lwlw), front and back (lhlh), two ends (whwh). Opposite faces match.
  • 12 edges: four each of ll, ww and hh.
  • 8 vertices, where three edges meet at right angles.
  • The counts fit Euler's polyhedron formula: 6+8−12=26 + 8 - 12 = 2.

Volume Formula

V=l×w×hV = l \times w \times h

Volume is the space inside, in cubic units (cm³, m³, ft³).

Why the formula works: count the layers

  1. Fill a 4 by 3 by 2 box with 1 cm cubes.
  2. The bottom layer holds 4×3=124 \times 3 = 12 cubes.
  3. There are 2 layers, so 24 cm³.
the volume of a rectangular prism as layers of unit cubes
Volume by layers: a 4 by 3 by 2 prism pulled apart into two layers of 12 unit cubes each, so the volume is 4 times 3 times 2, 24; base area 12 times height 2.

One layer is the base area BB, so V=B×hV = B \times h 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 18\frac{1}{8} cm³ each: 7.5 cm³, the same as 2.5×1.5×22.5 \times 1.5 \times 2.

packing a prism with half-unit cubes to find its volume
Fraction edges: a 2.5 by 1.5 by 2 cm prism packed with 60 half-centimetre cubes, 5 by 3 by 4, each one eighth of a cubic centimetre, giving 7.5 cubic centimetres, the same as 2.5 times 1.5 times 2.

In the lab, drag the dots to change ll, ww and hh, 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

S=2(lw+lh+wh)S = 2(lw + lh + wh)

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:

LSA=2h(l+w)\text{LSA} = 2h(l + w)
  • Flattened, the four sides make one band, hh tall and as long as the base perimeter 2(l+w)2(l + w).
  • A 6 by 3 by 4 box: the band is 18×4=7218 \times 4 = 72; adding top and bottom (36) gives 108.
the lateral surface of a rectangular prism unrolled into one rectangle
The four sides unroll into one band: a 6 by 3 by 4 box and its four side faces laid out as a strip of rectangles 6, 3, 6 and 3 wide and 4 tall, 18 long in all, so the lateral area is 18 times 4, 72; adding the top and bottom, 36, gives 108.

Length of the Diagonal

A space diagonal runs through the inside from one corner to the opposite corner:

d=l2+w2+h2d = \sqrt{l^2 + w^2 + h^2}

It is Pythagoras' theorem used twice:

  1. The floor diagonal ff gives f2=l2+w2f^2 = l^2 + w^2.
  2. ff meets the upright edge hh at a right angle, so d2=f2+h2d^2 = f^2 + h^2.
  3. In a 12 by 4 by 3 cm box, f≈12.65f \approx 12.65 cm and d=169=13d = \sqrt{169} = 13 cm.
the space diagonal of a rectangular prism found with two right triangles
The longest pencil in a 12 by 4 by 3 cm box: the green floor diagonal root 160, about 12.65, meets the purple height 3 at a right angle, and the orange space diagonal is root 169, exactly 13.

For a cube of side ss, d=s3d = s\sqrt{3}.

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³.
a right and an oblique prism with the same base and height have the same volume
Push the stack and the volume does not change: a right prism with base 4 by 3 and height 3 drawn as a stack of six blue layers, beside the same six layers pushed over into an orange oblique prism with the same perpendicular height 3; both hold 4 times 3 times 3, 36 cubic units.

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.

  1. Volume: 8×5×3=1208 \times 5 \times 3 = 120 cm³.
  2. Faces: 40, 24 and 15 cm².
  3. Surface area: 2(40+24+15)=1582(40 + 24 + 15) = 158 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?

  1. Base area: 12×5=6012 \times 5 = 60 cm².
  2. 360=60×h360 = 60 \times h, so h=6h = 6.

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?

  1. A closed box: 2(1800+2400+1200)=10 8002(1800 + 2400 + 1200) = 10\,800 cm².
  2. No top, so subtract one 1,800 cm² face: 9,000 cm².
  3. Check: base 1,800, front and back 4,800, ends 2,400.
the net of a rectangular prism with no lid
Example 3: the net of an open fish tank, five panes, an orange base 60 by 30 of 1,800 square centimetres, blue front and back 60 by 40 of 2,400 each and green ends of 1,200 each, totalling 9,000, which is the closed-box 10,800 minus the missing top 1,800.

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?

  1. The longest line inside is the space diagonal: 144+64+25=233\sqrt{144 + 64 + 25} = \sqrt{233}.
  2. Flat on the floor, it could be only 208≈14.42\sqrt{208} \approx 14.42 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?

  1. Dividing volumes gives 300÷8=37.5300 \div 8 = 37.5, but whole cubes must line up.
  2. Along the edges: 5, 3 and 2.5, so only 2 layers.
  3. 5×3×2=305 \times 3 \times 2 = 30, 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.
the capacity of a rectangular fish tank in litres
Real life: the 60 by 30 by 40 cm fish tank with blue water filled to 35 cm, beside an orange 10 cm cube labelled 1 litre drawn to the same scale; full it holds 72,000 cubic centimetres, 72 litres, and filled to 35 cm it holds 63,000, 63 litres.

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?

  1. A rectangle's area is a product of lengths, not a sum.
  2. The faces are 12, 8 and 6, each twice: 2(12+8+6)=522(12 + 8 + 6) = 52.
  3. 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 lwlw, lhlh and whwh.

Don't do this: Stop at lw+lh+whlw + lh + wh, 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 l2+w2\sqrt{l^2 + w^2}, the diagonal of the floor.

The correct way: Use all three edges, l2+w2+h2\sqrt{l^2 + w^2 + h^2}. 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, ll, ww and hh, 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.

A Practical Next Step

Measure a cereal box and find its volume, surface area and diagonal. Then try these for a 12 by 7 by 5 cm prism:

  1. Find the volume.
  2. Find the surface area.
  3. Find the space diagonal.

Answer to Question 1: 420420 cm³.

Answer to Question 2: 2(84+60+35)=3582(84 + 60 + 35) = 358 cm².

Answer to Question 3: 144+49+25=218≈14.76\sqrt{144 + 49 + 25} = \sqrt{218} \approx 14.76 cm.

If Question 2 came out as 179, you forgot to double: go back to Mistake 1.

Want a live Bhanzu trainer to work through volume with your child? Book a free demo class.

Read More

Research Behind This Article

  1. 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
  2. OpenStax, Prealgebra 2e, Section 9.6: Solve Geometry Applications: Volume and Surface Area. openstax.org
  3. J. J. O'Connor and E. F. Robertson, Bonaventura Francesco Cavalieri, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
  4. 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?
Yes. Both name a solid with six rectangular faces meeting at right angles.
How is a cube different from a rectangular prism?
A cube is a rectangular prism with all three edges equal.
Can a rectangular prism have square faces?
Yes. A 3×3×53 \times 3 \times 5 box has two square ends and is called a square prism.
How many litres are in a cubic metre?
1,000. A litre is 1,000 cm³, and a cubic metre is 1,000,000 cm³.
Does the volume change if I turn the box on its side?
No. The product lwhlwh stays the same, though the lateral surface area can change.
✍️ Written By
Mythri K M
Mythri K M
Subject Matter Expert
Mythri K M is a mathematics educator and curriculum designer with a Master's degree in Mathematics and over 10 years of teaching experience. She has taught and written on topics ranging from Algebra, Geometry and Trigonometry to Calculus, Number Theory and mathematical reasoning, with a particular interest in how children develop mathematical thinking. As a teacher and parent, she believes learning works best when it is curious and joyful rather than stressful, and she shares ideas and activities that help students build confidence and support parents along the way.
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Related Articles
Book a FREE Demo ClassBook Now →