Cuboid (Rectangular Box) Calculator

Calculate the volume, surface area, face diagonals, space diagonal, and all face areas of a cuboid (rectangular prism). Cube detection, unit selector, and real-world presets.

cm
cm
cm
Planning notes, formulas, and examples

About the Cuboid (Rectangular Box) Calculator

A cuboid — also called a rectangular prism or rectangular box — is one of the most common three-dimensional shapes in everyday life. Shoe boxes, shipping containers, rooms, bricks, and refrigerators are all cuboids. The shape is defined by three perpendicular edge lengths: length (l), width (w), and height (h).

The volume of a cuboid is simply l × w × h, representing how much space it occupies. The surface area is 2(lw + lh + wh), which tells you how much material you need to wrap or paint it. These formulas are essential in packaging, construction, logistics, and manufacturing.

Beyond volume and surface area, a cuboid has rich geometry. Each of its six rectangular faces has its own diagonal, and the cuboid itself has a space diagonal — the longest possible straight line through the interior — given by √(l² + w² + h²). When all three dimensions are equal, the cuboid becomes a cube, the most symmetrical of all rectangular prisms.

This calculator computes every property of a cuboid from its three dimensions: volume, total surface area, all three face areas, all three face diagonals, and the space diagonal. It automatically detects cubes and offers real-world presets (shoe box, shipping container, room) for quick exploration. A visual breakdown of face areas and a reference table of common objects make comparing cuboid dimensions easy and practical.

When This Page Helps

The Cuboid (Rectangular Box) Calculator is useful when you need fast and consistent geometry results without reworking the same algebra repeatedly. It helps you move from raw measurements to Volume, Surface Area, Space Diagonal in one pass, with conversions and derived values shown together.

How to Use the Inputs

  1. Select a measurement unit (mm, cm, in, m, or ft).
  2. Enter the length, width, and height of the cuboid.
  3. Or click a preset to load dimensions of a common object.
  4. View volume, surface area, space diagonal, and all face properties.
  5. Check if the shape is a perfect cube (all sides equal).
  6. Compare dimensions visually in the bar chart.
  7. Review the face area breakdown to see which faces dominate the surface area.
Formula used
Volume: V = l × w × h Surface Area: SA = 2(lw + lh + wh) Space Diagonal: d = √(l² + w² + h²) Face Diagonal (l×w): √(l² + w²) Face Diagonal (l×h): √(l² + h²) Face Diagonal (w×h): √(w² + h²) Face Areas: lw, lh, wh Cube condition: l = w = h

Example Calculation

Result: Volume = 7,920 cm³, Surface Area = 2,632 cm², Space Diagonal ≈ 40.31 cm

For a shoe box with l = 33, w = 20, h = 12 cm: Volume = 33 × 20 × 12 = 7,920 cm³. Surface Area = 2(660 + 396 + 240) = 2,592 cm². Space Diagonal = √(1089 + 400 + 144) = √1633 ≈ 40.41 cm.

Tips & Best Practices

  • The space diagonal is always longer than any face diagonal or edge — it is the longest straight line inside the box.
  • To find how much wrapping paper you need, calculate the surface area plus some extra for overlaps.
  • A cube (l = w = h) has the smallest surface area for a given volume among all cuboids — useful for minimizing material usage.
  • Shipping costs often use "dimensional weight" based on l × w × h, so reducing any dimension saves money.
  • The three face diagonals and the space diagonal satisfy: d² = d_lw² + h² = d_lh² + w² = d_wh² + l².

How This Cuboid (Rectangular Box) Calculator Works

Where It Helps In Practice

Cuboid (Rectangular Box) Calculator calculations show up in coursework, drafting, construction layout, packaging, tank sizing, machining, and quality control. Instead of solving each transformation manually, you can test scenarios quickly and verify whether your dimensions remain within tolerance.

Accuracy And Setup Tips

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A cuboid (rectangular prism) is a 3D shape with six rectangular faces, where opposite faces are identical. It is defined by three perpendicular edge lengths: length, width, and height.