Rectangular Prism Surface Area Calculator (Box & Cuboid)

Enter the length, width and height of a box, and the calculator returns the total surface area of the six faces, the lateral area of the four sides and the volume. A second mode leaves out the lid for an open-top box such as a tank, a bin or a drawer.

Surface Area Calculators

Rectangular Prism Surface Area Calculator

Surface area of a rectangular prism, cuboid or box — closed or open-top — from length, width and height.

The formulas

A rectangular prism, also called a cuboid or a box, has six rectangular faces in three matching pairs.

Total surface area = 2 × (l × w + l × h + w × h)
Lateral area (four sides) = 2 × h × (l + w)
Open-top surface area = l × w + 2 × h × (l + w)
Volume = l × w × h

Where:

  • l, w and h are the length, width and height in the same unit.
  • The three pairs of faces measure l × w (top and bottom), l × h (front and back) and w × h (the two ends).
  • The lateral area leaves out the top and bottom.

Worked examples

Example 1: the starting values

A box 8 long, 5 wide and 4 high:

l × w = 40, l × h = 32, w × h = 20
Total = 2 × (40 + 32 + 20) = 184
Lateral = 2 × 4 × (8 + 5) = 104
Volume = 8 × 5 × 4 = 160

The lateral area plus the top and bottom, 104 + 2 × 40 = 184, gives the total again.

Example 2: a shipping box

A carton 12 in long, 10 in wide and 6 in high needs this much cardboard before overlaps:

Total = 2 × (120 + 72 + 60) = 504 in²
Volume = 12 × 10 × 6 = 720 in³

Example 3: an open-top tank

An open tank 24 in long, 12 in wide and 16 in high, with no lid:

Surface area = 24 × 12 + 2 × 16 × (24 + 12) = 288 + 1,152 = 1,440 in²
Volume = 24 × 12 × 16 = 4,608 in³

Example 4: the walls of a room

A room 14 ft by 12 ft with 8 ft walls is a box. The lateral area is the wall area before doors and windows:

Walls = 2 × 8 × (14 + 12) = 416 ft²
Floor and ceiling = 2 × 14 × 12 = 336 ft²
All six surfaces = 752 ft²

Closed or open top

Closed box

Use it when every face counts, for example the material for a sealed box or the paint for a crate. It also gives the lateral area, which is useful when the top and bottom are treated differently.

Open-top box

Use it for a tank, a planter, a drawer or any box with no lid. In example 1, removing the lid takes away 8 × 5 = 40, which leaves 144.

Surface area and volume are different things

Two boxes can share a volume and have different surface areas. Take a volume of 160. The 8 × 5 × 4 box has 184 of surface. A cube with the same volume has a side of about 5.43, and its surface area is 6 × 5.43² = 176.8. Of all boxes with a given volume, the cube has the least surface, so a long, thin box needs more material to hold the same amount.

Using the result

  • For paint or wrap, subtract any faces you will not cover and allow for waste and overlap.
  • For heat loss or coating, the surface area is the quantity that matters.
  • Keep units consistent. Areas come out in square units and volume in cubic units.

The tool treats the box as solid and does not subtract the thickness of walls. For a hollow container with thick walls, measure the inside and the outside separately.

Frequently asked questions

What is the formula for the surface area of a rectangular prism?

Surface area = 2 × (l × w + l × h + w × h). A box 8 by 5 by 4 has a surface area of 2 × (40 + 32 + 20) = 184.

What is the lateral area of a rectangular prism?

It is the area of the four sides, without the top and bottom: 2 × h × (l + w). For the 8 by 5 by 4 box it is 104.

How do I find the surface area of an open-top box?

Use l × w + 2 × h × (l + w), which leaves out the lid. The 8 by 5 by 4 box has 144 without a top.

Is a cuboid the same as a rectangular prism?

Yes. A cuboid, a rectangular prism and a box all describe a solid with six rectangular faces.

Does the same volume mean the same surface area?

No. A cube has the smallest surface area for a given volume. A box of volume 160 measuring 8 by 5 by 4 has 184, while a cube of that volume has about 176.8.

What units does the answer use?

Square units for area and cubic units for volume, in whatever unit you enter for the three dimensions.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 559