Rectangular Prism - Volume, Surface Area, Formulas

#Geometry
TL;DR
A rectangular prism (also called a cuboid) is a 3D solid with 6 rectangular faces, 12 edges, and 8 vertices. Its volume is $V = l \times w \times h$ (length × width × height), and its surface area is $S = 2(lw + lh + wh)$.
BT
Bhanzu TeamLast updated on May 19, 20266 min read

What Is a Rectangular Prism?

A rectangular prism is a 3D shape with:

  • 6 rectangular faces (3 pairs of identical opposite faces)

  • 12 edges (4 each of length, width, height)

  • 8 vertices (corners)

  • All angles at vertices are right angles (90°).

Common everyday examples: a book, a brick, a shoebox, a refrigerator, a swimming pool, a shipping container. The world is full of rectangular prisms — they're the most common 3D shape in human-made objects.

Names you'll see:

  • Rectangular prism (most common in US schools)

  • Cuboid (more common in UK / Indian schools)

  • Rectangular parallelepiped (formal mathematical name)

When all three dimensions are equal, the rectangular prism becomes a cube — a special case where length = width = height.

Volume Formula

The volume of a rectangular prism is:

$$V = l \times w \times h$$

where $l$ = length, $w$ = width, $h$ = height.

In words: volume is the product of the three dimensions.

Units. If dimensions are in centimetres, volume is in cubic centimetres (cm³). Cubic metres (m³) for metric. Cubic inches or feet (in³, ft³) in US customary units.

Worked example. Find the volume of a rectangular prism with $l = 8$ cm, $w = 5$ cm, $h = 3$ cm.

$$V = 8 \times 5 \times 3 = 120 \text{ cm}^3$$

Surface Area Formula

The total surface area of a rectangular prism is the sum of the areas of all 6 faces:

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

The factor of 2 reflects that opposite faces are identical — the prism has 3 distinct face shapes ($l \times w$, $l \times h$, $w \times h$), each appearing twice.

Worked example. Find the surface area of a rectangular prism with $l = 8$ cm, $w = 5$ cm, $h = 3$ cm.

$$S = 2(8 \cdot 5 + 8 \cdot 3 + 5 \cdot 3) = 2(40 + 24 + 15) = 2(79) = 158 \text{ cm}^2$$

Lateral Surface Area

The lateral surface area is the area of the sides only — excluding the top and bottom faces:

$$LSA = 2h(l + w)$$

Useful when you need to paint or wrap only the sides of a box.

Length of the Diagonal

The space diagonal of a rectangular prism (the line connecting opposite vertices through the interior):

$$d = \sqrt{l^2 + w^2 + h^2}$$

This is the 3D Pythagorean theorem. For a cube with side $s$: $d = s\sqrt{3}$.

Three Worked Examples — Quick, Standard, Stretch

Quick — Volume

A box has dimensions $10 \times 6 \times 4$ cm. Find its volume.

$V = 10 \times 6 \times 4 = 240$ cm³.

Standard — Surface Area

Find the surface area of a brick with $l = 20$ cm, $w = 10$ cm, $h = 7$ cm.

$$S = 2(20 \cdot 10 + 20 \cdot 7 + 10 \cdot 7) = 2(200 + 140 + 70) = 2(410) = 820 \text{ cm}^2$$

Stretch — Diagonal

A shipping container measures $12 \times 8 \times 5$ metres. What is the longest stick that fits inside (along the space diagonal)?

$$d = \sqrt{12^2 + 8^2 + 5^2} = \sqrt{144 + 64 + 25} = \sqrt{233} \approx 15.26 \text{ m}$$

Properties of a Rectangular Prism

  • 6 faces, all rectangles. Opposite faces are identical.

  • 12 edges. Four edges of length $l$, four of width $w$, four of height $h$.

  • 8 vertices, all right-angled.

  • 3 pairs of parallel faces.

  • All face diagonals lie on a face; the space diagonal runs through the interior.

  • A cube is a special case where $l = w = h$.

The number of faces (6), edges (12), and vertices (8) satisfies Euler's polyhedron formula: $F + V - E = 8 + 6 - 12 = 2$. This works for all convex polyhedra.

Why Does the Rectangular Prism Matter? (The Real-World GROUND)

"The rectangular prism is the geometry of the human-made world."

Rectangular prisms appear in nearly every applied geometry context:

  • Construction and architecture. Bricks, beams, rooms, buildings — almost everything built by humans approximates a rectangular prism.

  • Shipping and packaging. Boxes, containers, pallets, warehouses. The volume formula directly determines shipping cost.

  • Water tanks and pools. Volume in cubic feet (or litres) gives capacity. Surface area gives the painting or lining requirement.

  • Manufacturing. Sheet metal, wood, plastic — most raw materials come in rectangular-prism shapes.

  • Computer graphics. Bounding boxes (the smallest rectangular prism containing an object) are foundational to collision detection and rendering optimisation.

The systematic geometry of rectangular prisms goes back to Euclid's Elements (Book XI). The space-diagonal formula is a direct generalisation of Pythagoras to three dimensions — explored systematically by René Descartes in the 1630s.

Learn more: Cube Root of 64

A Worked Example

Find the surface area of a rectangular prism with dimensions $4 \times 3 \times 2$.

The intuitive (wrong) approach. A student adds the dimensions and multiplies by 6: $6 \times (4 + 3 + 2) = 54$.

Why it fails. The student treated the prism as if each face has area equal to the sum of dimensions — but each face is a rectangle, with area equal to the product of two dimensions.

The correct method. Three distinct face areas:

  • $l \times w = 4 \times 3 = 12$

  • $l \times h = 4 \times 2 = 8$

  • $w \times h = 3 \times 2 = 6$

Total: $S = 2(12 + 8 + 6) = 2(26) = 52$ square units.

What Are the Most Common Mistakes With Rectangular Prisms?

Mistake 1: Forgetting to double the face areas

The fix: Each face shape appears twice (once on each opposite face). The formula's factor of 2 accounts for this.

Mistake 2: Mixing up volume and surface area units

The fix: Volume is in cubic units (cm³, m³, ft³). Surface area is in square units (cm², m², ft²). Check that your answer's units match the quantity.

Mistake 3: Using the face-diagonal formula for the space diagonal

The fix: The face diagonal of one face is $\sqrt{l^2 + w^2}$ (only two dimensions). The space diagonal is $\sqrt{l^2 + w^2 + h^2}$ (all three). Different quantities, different formulas.

Key Takeaways

  • A rectangular prism (cuboid) has 6 rectangular faces, 12 edges, 8 vertices.

  • Volume: $V = l \times w \times h$ — in cubic units.

  • Surface area: $S = 2(lw + lh + wh)$ — in square units. Factor of 2 because opposite faces are identical.

  • Space diagonal: $d = \sqrt{l^2 + w^2 + h^2}$ — the 3D Pythagorean theorem.

  • A cube is the special case where all three dimensions are equal.

A Practical Next Step

Try these three before moving on to other 3D solids.

  1. Find the volume of a rectangular prism with $l = 12, w = 7, h = 5$.

  2. Find the surface area of the same prism.

  3. Find the space diagonal of the same prism.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is a rectangular prism?
A 3D solid with 6 rectangular faces, 12 edges, and 8 vertices, where all angles are right angles. Also called a cuboid or rectangular parallelepiped.
What is the volume formula for a rectangular prism?
$V = l \times w \times h$ — the product of length, width, and height. Volume is measured in cubic units.
What is the surface area formula?
$S = 2(lw + lh + wh)$. The factor of 2 reflects that opposite faces are identical — the prism has 3 distinct rectangles, each appearing twice.
How is a cube different from a rectangular prism?
A cube is a special rectangular prism where $l = w = h$ — all three dimensions equal. Every cube is a rectangular prism; not every rectangular prism is a cube.
What is the space diagonal of a rectangular prism?
$d = \sqrt{l^2 + w^2 + h^2}$ — the line connecting opposite vertices through the interior. It's the 3D Pythagorean theorem.
How many faces, edges, and vertices does a rectangular prism have?
6 faces, 12 edges, 8 vertices. These satisfy Euler's polyhedron formula: $F + V - E = 6 + 8 - 12 = 2$.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →