Overview

A rectangular prism is a box shape, such as a room, a shipping carton or an aquarium. This gives its volume and surface area from the length, width and height.

Enter all three in the same unit. Volume is in cubic units and surface area in square units.

Worked examples

InputsResult
Length10Width5Height4Volume: 200Surface area: 220
Show 2 more examples
Length2Width3Height4Volume: 24Surface area: 52
Length1.2Width0.8Height0.5Volume: 0.48Surface area: 3.92

Volume by length

With the calculator's starting values, the volume is 200. The table shows how it changes with the length.

LengthVolume
6120
8160
10starting value200
12240
14280

Other inputs: Width: 5 · Height: 4. Change them in the calculator above for your own numbers.

How it works

Volume is length times width times height. Surface area adds the three pairs of opposite faces: two of length × width, two of length × height and two of width × height.

The formula

V = l × w × h
l, w, hLength, width and height

Practical tips

  • A 10 × 5 × 4 box has a volume of 200 and a surface area of 220.
  • For capacity, 1,000 cm³ is 1 liter, and 1 ft³ is about 7.48 US gallons.
  • To work out a box's cardboard, add a little to the surface area for flaps and overlaps.

Frequently asked questions

Is a cube a rectangular prism?

Yes, it's the special case where all three sides are equal.

How do I find a room's volume?

Multiply floor length by width by ceiling height. It's useful for heating and ventilation.

What if my units differ?

Convert first. Mixing inches and feet gives a wrong answer.