Formula and Method for the Surface Area of a Rectangular Prism
A rectangular prism (also called a cuboid or rectangular box) is a six-sided solid where every face is a rectangle and opposite faces are equal. It has three distinct pairs of matching faces, defined by its length (l), width (w), and height (h). The total surface area is the sum of the areas of all six faces: SA = 2(lw + lh + wh). This calculator also derives the volume and the space (interior) diagonal from the same three dimensions, plus an optional material cost estimate.
How the calculation works
Enter the length, width, and height and choose the unit they are measured in. The box has three pairs of identical faces: a top and bottom (each l × w), a front and back (each l × h), and two sides (each w × h). Adding all six faces gives SA = 2lw + 2lh + 2wh = 2(lw + lh + wh), in square units such as ft² or m². The volume is simply V = l × w × h, in cubic units. The space diagonal — the straight line from one corner of the box to the opposite corner — comes from applying the Pythagorean theorem twice: first across the base to get √(l² + w²), then up through the height to get d = √(l² + w² + h²). If you enter a cost per square unit, the tool multiplies it by the total surface area to estimate material cost.
Common mistakes
- Surface area vs. volume: a 10 × 6 × 4 ft box has a surface area of 248 ft² but a volume of 240 ft³ — different units (square vs. cubic) and, here, a coincidentally similar number that is easy to mix up.
- Forgetting a pair of faces: a rectangular prism has six faces in three matching pairs (top/bottom, front/back, left/right) — leaving out one pair is the most common manual-calculation error.
- Mixing units: keep length, width, and height in one consistent unit before entering them — convert inches to feet, or centimeters to meters, first.
Real-world applications
- Packaging and shipping use surface area to estimate cardboard, wrapping paper, or label material, and volume to determine box capacity and dimensional weight.
- Painting, laminating, or veneering a box-shaped surface (cabinets, crates, planters) uses surface area combined with a cost per square unit to budget materials.
- Storage and shipping containers use volume for capacity planning and the space diagonal to confirm the longest item that can fit diagonally inside.
- Construction and HVAC calculations use surface area for material takeoffs (siding, insulation, sheet metal) on box-shaped structures and ducts.