[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Geometry](https://learningfolio.de5.net/math/geometry/) / Rectangular Prism: Volume, Surface Area and Worked Formulas

[Geometry](https://learningfolio.de5.net/math/geometry/)

# Rectangular Prism: Volume, Surface Area and Worked Formulas

Find the volume, surface area and space diagonal of a rectangular prism from three dimensions.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/geometry/rectangular-prism/#tldr)
* [Key Points](https://learningfolio.de5.net/math/geometry/rectangular-prism/#key-points)
* [How do the formulas follow from the shape?](https://learningfolio.de5.net/math/geometry/rectangular-prism/#how-do-the-formulas-follow-from-the-shape)
* [Worked examples](https://learningfolio.de5.net/math/geometry/rectangular-prism/#worked-examples)
* [Use volume to recover a missing dimension](https://learningfolio.de5.net/math/geometry/rectangular-prism/#use-volume-to-recover-a-missing-dimension)
* [Choose the right diagonal for the question](https://learningfolio.de5.net/math/geometry/rectangular-prism/#choose-the-right-diagonal-for-the-question)
* [Practice problem](https://learningfolio.de5.net/math/geometry/rectangular-prism/#practice-problem)
* [Frequently Asked Questions](https://learningfolio.de5.net/math/geometry/rectangular-prism/#frequently-asked-questions)
* [Conclusion](https://learningfolio.de5.net/math/geometry/rectangular-prism/#conclusion)
* [Read More](https://learningfolio.de5.net/math/geometry/rectangular-prism/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/geometry/rectangular-prism/#research-behind-this-article)

## TL;DR

A rectangular prism has six rectangular faces. Its volume is lwh and its total closed surface area is 2(lw + lh + wh).

## Key Points

* Opposite faces of a rectangular prism have the same dimensions.
* Volume counts unit cubes, while surface area counts unit squares.
* The space diagonal has length √(l² + w² + h²).

## How do the formulas follow from the shape?

A layer contains lw unit squares, and stacking h unit layers gives lwh cubic units. The six faces form three equal pairs of areas lw, lh and wh. Find the diagonal of the base first, then apply Pythagoras theorem again with the height to find the space diagonal. [OpenStax — Prealgebra 2e: Geometric Formulas](https://openstax.org/books/prealgebra-2e/pages/c-geometric-formulas)

## Worked examples

### Capacity

A 6-by-4-by-3 box holds 72 cubic units.

### Closed area

The same box has surface area 2(24 + 18 + 12) = 108 square units.

### Remove the top

Removing the 6-by-4 top leaves 84 square units of exposed material, assuming every remaining face counts once.

### Space diagonal

For a 3-by-4-by-12 box, the base diagonal is 5. The space diagonal is 13.

### Mixed units

A 20 cm by 30 cm by 0.4 m box has height 40 cm and volume 24,000 cm³, or 24 L.

## Use volume to recover a missing dimension

A box has a 9-by-4 cm base and a volume of 180 cm³. The base area is 36 cm², so the height is 180 ÷ 36 = 5 cm. Interpreting the units shows why this works: cubic centimetres divided by square centimetres leaves centimetres of height. If that volume describes capacity, use the inside base measurements rather than the outside length and width.

## Choose the right diagonal for the question

The diagonal of a 6-by-8 rectangular base is 10. For the same prism with height 24, the space diagonal is √(10² + 24²) = 26. A stick resting flat on the base is constrained by the 10-unit diagonal. A stick extending from a bottom corner to the opposite top corner can use the 26-unit space diagonal, assuming it can be inserted through the opening.

For an open-top surface-area calculation, sketch the bottom and four walls. Count the base once and the two pairs of walls. A net makes it easier to see which faces belong in a wrapping, painting or construction problem. [Volume formulas for common solids](https://learningfolio.de5.net/math/formula/volume-formulas/)

## Practice problem

A closed prism has dimensions 9, 4 and 5. Find capacity and surface area.

**Solution.** Using those same dimensions for the ideal solid gives 180 cubic units. The pairs of faces have areas 36, 45 and 20, so the surface area is 202 square units. For a thick-walled real box, use inside dimensions for capacity.

## Frequently Asked Questions

### Is a cube a rectangular prism?

Yes. Each face is a square, which is a type of rectangle.

## Conclusion

* Use inside dimensions when calculating capacity.
* Count the faces the object actually has.
* Convert units before multiplying.

## Read More

* [Volume Formulas for Common 3D Shapes](https://learningfolio.de5.net/math/formula/volume-formulas/)
* [Cylinder Geometry: Shape, Volume and Surface Area](https://learningfolio.de5.net/math/geometry/cylinder/)
* [Browse geometry guides](https://learningfolio.de5.net/math/geometry/)

## Research Behind This Article

1. OpenStax, *Prealgebra 2e: Geometric Formulas*. [openstax.org](https://openstax.org/books/prealgebra-2e/pages/c-geometric-formulas)
2. OpenStax, *Prealgebra 2e: Math Models and Geometry*. [openstax.org](https://openstax.org/books/prealgebra-2e/pages/9-introduction)
3. OpenStax, *Prealgebra 2e: Angles, Triangles and the Pythagorean Theorem*. [openstax.org](https://openstax.org/books/prealgebra-2e/pages/9-3-use-properties-of-angles-triangles-and-the-pythagorean-theorem)
