Free Rectangular Prism Calculator

Enter length, width, and height to see the volume, surface area, and diagonal

What Is a Rectangular Prism?

A rectangular prism, commonly called a cuboid, is a three-dimensional solid bounded by six rectangular faces. In a right rectangular prism, adjacent faces meet at 90° angles, producing the familiar box shape. This free rectangular prism calculator focuses on the right‑angled version, which is the most common in everyday objects—from shipping containers to bookshelves. A rectangular prism possesses six faces, eight vertices, and twelve edges.

Volume of a Rectangular Prism

The interior capacity of a rectangular prism is computed by multiplying its three perpendicular dimensions:

V=l×w×hV = l \times w \times h

where ll, ww, and hh denote length, width, and height respectively. The units must be consistent (e.g., all in inches) to obtain the volume in cubic units.

The following table illustrates how different dimension sets produce different volumes, together with the corresponding surface areas and space diagonals.

Length (in)Width (in)Height (in)Volume (in³)Surface Area (in²)Diagonal (in)
1812153240133226.33
101010100060017.32
2486115276825.06

Only one dimension is insufficient to determine volume; all three values are required. When the prism is a cube (all sides equal), the formula reduces to V=s3V = s^{3}, as exemplified by the second row of the table.

Surface Area of a Rectangular Prism

The total area covering the outside of the prism is given by summing the areas of all six faces. Because opposite faces are identical, the expression simplifies to:

SA=2(lw+lh+wh)SA = 2(lw + lh + wh)

For the 18 × 12 × 15 in prism (first row of the table), the three unique rectangular areas are:

  • top / bottom: 216  in2216\;\text{in}^{2}
  • front / back: 270  in2270\;\text{in}^{2}
  • left / right: 180  in2180\;\text{in}^{2}

Their total is 666  in2666\;\text{in}^{2}, which doubled gives 1332  in21332\;\text{in}^{2}. The rectangular prism surface area calculator in this tool performs this multiplication instantly.

Diagonal of a Rectangular Prism

The longest straight line between two opposite corners inside the prism is its space diagonal, computed using a three‑dimensional Pythagorean relation:

d=l2+w2+h2d = \sqrt{l^{2} + w^{2} + h^{2}}

Applying this to the same 18 × 12 × 15 prism:

d=182+122+152=324+144+225=693≈26.33  ind = \sqrt{18^{2} + 12^{2} + 15^{2}} = \sqrt{324 + 144 + 225} = \sqrt{693} \approx 26.33\;\text{in}

The tool’s diagonal of a rectangular prism function returns this value without manual square‑root calculations.

Using the Calculator

This free rectangular prism calculator online is designed for immediate, accurate results. You enter the length, width, and height, and it simultaneously reports the cuboid volume, total surface area, and diagonal. Whether you are planning a DIY project, checking packaging specifications, or solving a geometry problem, this volume of a rectangular prism calculator and surface area tool eliminates repetitive arithmetic.

FAQ

1. How many edges does a rectangular prism have?

A rectangular prism has 12 edges. It also has 6 faces and 8 vertices.

2. Can I calculate volume if I only know the length?

No, you must supply all three dimensions (length, width, height) because volume is their product: V = l × w × h.

3. What is the formula for the diagonal of a rectangular prism?

The space diagonal formula is d = sqrt(l² + w² + h²), using the length, width, and height.

4. Is a rectangular prism the same as a cuboid?

Yes, a right rectangular prism is exactly a cuboid—a solid with six rectangular faces and right‑angle corners.

How to Use

  1. Enter the length, width, and height of the rectangular prism in any unit (mm, cm, m, km, in, ft, yd, mi, or nmi).
  2. Select the appropriate unit for each dimension from the dropdown menu next to each input field.
  3. View the calculated volume, surface area, and diagonal instantly. Switch the output units to display results in your preferred units.