Boneyard Tools

Rectangular Prism Calculator

Enter the length, width and height of a rectangular prism, also called a box or cuboid, to find its volume, total surface area and the space diagonal.

How to use the rectangular prism calculator

  1. Enter the length of the box.
  2. Enter the width and the height.
  3. Read the volume, surface area and space diagonal instantly.

Examples

Length 3, width 4, height 5

length = 3, width = 4, height = 5
volume = 60, surface area = 94, space diagonal = 7.0711

Cube with side 2

length = 2, width = 2, height = 2
volume = 8, surface area = 24, space diagonal = 3.4641

Frequently asked questions

What is a rectangular prism?

A rectangular prism, also called a cuboid or box, is a solid with six rectangular faces meeting at right angles. A cube is a special case with equal sides.

What is the formula for the volume of a rectangular prism?

The volume equals length times width times height. For a box of 3 by 4 by 5 this gives a volume of 60 cubic units.

How is the surface area calculated?

The surface area equals two times the sum of length times width, length times height and width times height. It adds up all six rectangular faces.

What is the space diagonal?

The space diagonal is the straight line from one corner to the opposite corner through the inside. It equals the square root of the sum of the squared sides.

Does this work for a cube?

Yes. Set the length, width and height to the same value and the calculator returns the cube volume, surface area and diagonal.

Related tools