Rectangular Prism Calculator — Volume, Surface Area & Diagonals

Calculate volume, surface area (total and lateral), face diagonals, and space diagonal of a rectangular prism (cuboid). Includes presets for common boxes, rooms, and shipping containers.

cm
cm
cm
Planning notes, formulas, and examples

About the Rectangular Prism Calculator — Volume, Surface Area & Diagonals

A rectangular prism — also called a cuboid or rectangular box — is a three-dimensional solid bounded by six rectangular faces. Every pair of opposite faces is congruent and parallel, and all internal angles are right angles. It is arguably the most common 3D shape in everyday life: shipping boxes, rooms, refrigerators, books, and bricks are all rectangular prisms.

The volume is simply length × width × height (V = lwh). The total surface area sums all six faces: SA = 2(lw + lh + wh). The lateral surface area excludes the top and bottom: LSA = 2h(l + w). These formulas are essential in packaging, construction, logistics, and storage planning.

Rectangular prisms have three distinct face diagonals — one per pair of faces — and a single space diagonal that runs from one corner to the opposite corner through the interior. The space diagonal is d = √(l² + w² + h²) and is the longest straight distance inside the box.

When all three dimensions are equal (l = w = h), the shape becomes a cube. When only two dimensions match, you have a square prism. This calculator takes length, width, and height as inputs and computes volume, all surface areas, every diagonal, and additional properties like the circumsphere radius. Presets for everyday objects — from shoeboxes to shipping containers — and a reference table let you compare those measurements against familiar examples.

When This Page Helps

A rectangular prism often needs more than one answer at the same time: capacity for storage, total area for wrapping or paint, and diagonal length for fit checks. This calculator keeps those measurements tied to the same dimensions, so you do not have to recompute the solid through several separate formulas. It is useful for packaging decisions, room planning, construction estimates, shipping, and geometry work where a box-shaped solid must be analyzed from several angles at once.

How to Use the Inputs

  1. Enter the length, width, and height of the rectangular prism.
  2. Select a measurement unit (mm, cm, in, m, ft).
  3. Or click a preset to load a common box or room size.
  4. View volume, total and lateral surface area, and all diagonals.
  5. Check the face-by-face area breakdown table.
  6. Compare with reference objects in the table below.
  7. The calculator detects if your shape is a cube or square prism.
Formula used
Volume: V = l × w × h Total Surface Area: SA = 2(lw + lh + wh) Lateral Surface Area: LSA = 2h(l + w) Face Diagonal (l×w): d₁ = √(l² + w²) Face Diagonal (l×h): d₂ = √(l² + h²) Face Diagonal (w×h): d₃ = √(w² + h²) Space Diagonal: d = √(l² + w² + h²) Circumsphere Radius: R = d / 2

Example Calculation

Result: Volume = 11,250 cm³, Total Surface Area = 3,150 cm², Space Diagonal ≈ 41.83 cm

For a 30 × 25 × 15 rectangular prism, the volume is 30 × 25 × 15 = 11,250 cm³. The total surface area is 2(30×25 + 30×15 + 25×15) = 2(750 + 450 + 375) = 3,150 cm². The space diagonal is √(30² + 25² + 15²) = √1,750 ≈ 41.83 cm.

Tips & Best Practices

  • A cube is a special rectangular prism where l = w = h. All face diagonals are equal and the space diagonal = s√3.
  • The space diagonal is the longest straight line that fits inside a box — useful for determining if long objects fit.
  • For shipping, volume determines how much fits inside, while surface area determines wrapping material needed.
  • Standard US letter paper fits in a box 8.5 × 11 × 1 inch. A4 is 210 × 297 × varies mm.
  • The circumsphere (smallest sphere containing the prism) has radius = space diagonal / 2.

Choosing the Right Prism Measurement

Rectangular prisms invite several different questions, and each one points to a different formula. If you want to know how much the box can hold, volume is the right measure. If you are wrapping, painting, laminating, or insulating the outside, surface area matters instead. If you only care about the side walls, lateral surface area is the useful figure. Keeping those measurements separate prevents the common mistake of using the right dimensions with the wrong formula.

Why Diagonals Matter in Practice

The diagonal measurements are more than geometry extras. A face diagonal tells you the longest straight line that fits across one face, which is helpful for braces, panels, or cuts across a rectangular sheet. The space diagonal goes corner to corner through the interior and tells you whether a long object can fit inside the box at an angle. That is important when checking luggage, shelving, packaging inserts, or equipment storage.

Interpreting Real-World Box Shapes

Because this calculator also identifies cubes and square prisms, it helps you recognize when a special case simplifies the geometry. A cube has equal edges and matching face diagonals everywhere, while a square prism has one repeated side pair and a different height. Those distinctions matter when comparing storage containers, designing product packaging, estimating coating materials, or analyzing room dimensions in building and remodeling work.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Volume = length × width × height (V = lwh). All three dimensions are multiplied together.