3D · polyhedron
Rectangular prism
A rectangular prism has six rectangular faces. Opposite faces match, making it useful for understanding packaging, storage, and three-dimensional measurement.
RectangleChange a dimension to explore
A = w × hDimensions shown in the selected unit
Give your shape a size.
Use the same unit for every dimension. Changing the unit relabels the measurements; it does not convert them.
From dimensions to an answer
Know its properties
| Faces | 6 rectangles |
| Edges | 12 |
| Vertices | 8 |
| Special case | A cube has all edges equal |
Useful formulas
Volume: V = whd
Surface area: S = 2(wh + wd + hd)
Space diagonal: D = √(w² + h² + d²)
A little question. A clearer picture.
Rectangular prism: common questions
Wondering about the why? Start here.
How do I calculate a rectangular prism’s volume?
Multiply width, height, and depth: V = whd. A box measuring 6 cm by 4 cm by 3 cm holds 72 cm³ of space. To estimate internal capacity, use its inside dimensions.
Read about volumeWhy does the surface area formula have a factor of two?
A closed rectangular prism has three pairs of equal opposite faces. Add the areas wh, wd, and hd, then double the sum: S = 2(wh + wd + hd). Subtract any missing face separately for an open box.
Build a prism from a net