Rectangular Prism Calculator

Calculate volume, surface area, space diagonal and edge length for a rectangular prism

Your result will appear here.

About the Rectangular Prism Calculator

Rectangular Prism Calculator finds volume, surface area and related dimensions for a box-shaped solid with rectangular faces. It is useful for cartons, rooms, storage containers and construction quantities where length, width and height define the geometry.

The calculator assumes straight sides and right angles. Irregular containers, tapered shapes and rounded corners can have different actual volume.

How to Use the Rectangular Prism Calculator

  1. Enter length.
  2. Enter width.
  3. Enter height.
  4. Calculate volume or surface area and use internal dimensions for capacity or external dimensions for outside size.

How the Calculation Works

For a rectangular prism with length l, width w and height h, volume V = l×w×h. The three dimensions must first be expressed in compatible linear units, and the resulting unit is cubed because the calculation measures three-dimensional capacity or solid volume.

Total surface area A = 2(lw+lh+wh) because each of the three distinct rectangular face pairs appears twice. The space diagonal is d = √(l²+w²+h²), which gives the straight-line distance between opposite corners through the interior of the prism.

Worked examples

Rectangular Prism Calculator Worked Examples

Default

A 10 × 6 × 4 box has a volume of 240, a surface area of 248, a space diagonal of 12.3288 and a total edge length of 80.

Room

A 12 × 10 × 8 ft room has 960 ft³ of air and a diagonal of 17.5499 ft.

Tall box

A 2 × 2 × 10 box holds 40 and fits a rod up to 10.3923 long.

Box measurements

Space diagonal = √(l² + w² + h²).

DimensionsVolumeSurface areaSpace diagonalEdge length
10 × 6 × 424024812.328880
1 × 1 × 1161.732112
5 × 4 × 360947.071148
12 × 10 × 896059217.5499120
2 × 2 × 10408810.392356
20 × 15 × 103,0001,30026.9258180

How the calculator works

Volume = length × width × height. Surface area = 2(lw + lh + wh), the six faces. The space diagonal, the longest straight line inside the box from one corner to the opposite corner, is √(l² + w² + h²). Total edge length adds all 12 edges: 4(l + w + h). It also shows the base area.

Practical uses

Volume gives a box's capacity or the amount of concrete for a slab. Surface area gives the cardboard, paint or insulation needed. The space diagonal tells you the longest pole or rod that fits inside, which is longer than any single side. Edge length is useful for framing or trimming a box.

Common Mistakes

  • Missing faces. There are six faces, in three matching pairs.
  • Using the face diagonal. The space diagonal goes through the box.
  • Mixed units. Use one unit for all dimensions.

Result guide

Understanding Your Rectangular Prism Calculator Result

Volume measures three-dimensional capacity, while surface area measures the total area of the six faces. They use cubic and square units respectively. If a box has wall thickness, calculate internal and external prisms separately rather than subtracting one dimension only. Thickness affects both opposing faces in each dimension, so internal length, width and height each decrease by twice the wall thickness before internal capacity is calculated.

Before you rely on the answer

Assumptions and Limitations

  • All faces are rectangular and meet at right angles.
  • Dimensions use the same unit before multiplication.
  • Internal versus external measurements match the intended result.

Practical tip

Using This Result in Practice

For packaging, calculate internal volume and external shipping dimensions separately. Wall thickness can make a meaningful difference when many boxes are stacked or freight is charged by dimensional size.

Common questions

Rectangular Prism Calculator FAQ

What is the volume of a box?

Length × width × height.

What is the surface area?

2(lw + lh + wh).

What is the space diagonal?

√(l² + w² + h²).

How many edges does a box have?

12.

Is a cube a rectangular prism?

Yes, with all sides equal.

About the author

Adupa Derrick

Adupa Derrick designs every calculator on Numi Calculator, uses AI tools to help draft code and explanations and checks each formula against worked examples and published references before it goes live.

About Numi Calculator Our methodology