Rectangular Prism Calculator

Enter your rectangular prism's length, width, and height to calculate its volume, total surface area, lateral surface area, and space diagonal. The Rectangular Prism Calculator applies the standard cuboid formulas — V = lwh, S = 2(lw + lh + wh), and d = √(l² + w² + h²) — giving you all four results at once.

The longest horizontal dimension of the rectangular prism.

The shorter horizontal dimension of the rectangular prism.

The vertical dimension of the rectangular prism.

Results

Volume (V)

--

Total Surface Area (S)

--

Lateral Surface Area

--

Space Diagonal (d)

--

Top / Bottom Face Area (l × w)

--

Front / Back Face Area (l × h)

--

Left / Right Face Area (w × h)

--

Surface Area Breakdown

Frequently Asked Questions

What is a rectangular prism?

A rectangular prism (also called a cuboid) is a three-dimensional solid with six rectangular faces. Every pair of opposite faces is identical, and all interior angles are right angles. Common real-world examples include boxes, bricks, and rooms.

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

Volume is calculated as V = l × w × h, where l is the length, w is the width, and h is the height. Simply multiply the three dimensions together. The result is expressed in cubic units (e.g., cm³ or ft³).

How do I find the surface area of a rectangular prism?

The total surface area is S = 2(lw + lh + wh). This formula accounts for all six faces: two top/bottom faces (l × w each), two front/back faces (l × h each), and two side faces (w × h each). The result is expressed in square units.

How do I calculate the diagonal of a rectangular prism?

The space diagonal runs from one corner of the prism to the opposite corner through the interior. It is calculated using d = √(l² + w² + h²), which extends the Pythagorean theorem into three dimensions.

What is the lateral surface area of a rectangular prism?

The lateral surface area covers only the four side faces, excluding the top and bottom. The formula is S_lat = 2h(l + w). This is useful when you need to know, for example, how much material wraps around the sides of a box without the lids.

What is the difference between a cube and a rectangular prism?

A cube is a special case of a rectangular prism where all three dimensions are equal (l = w = h). Every cube is a rectangular prism, but not every rectangular prism is a cube. For a cube with side s, volume = s³ and surface area = 6s².

How many edges and faces does a rectangular prism have?

A rectangular prism has 6 faces (all rectangles), 12 edges, and 8 vertices (corners). The 12 edges come in three groups of 4 parallel edges — four of length l, four of width w, and four of height h.

Can I calculate the volume of a rectangular prism if I only know its length?

No — you need all three dimensions (length, width, and height) to calculate volume, surface area, or diagonal. If you only know one dimension along with additional constraints like the total volume or surface area, you can solve for the others algebraically.

More Math Tools