Try

Rectangular Box Calculator

Volume, surface area and diagonal of a rectangular prism.

Volume

240

10×6×4

Surface area

248

Space diagonal

12.3288

AI Breakdown & Smart Takeaway

Plain-English insight on your numbers

Get a personalized explanation of what these results mean — and how to improve them.

AdvertisementAd space

How the Rectangular Box Calculator works

The Rectangular Box Calculator instantly computes the volume, total surface area, and space diagonal of any box, rectangular prism, or cuboid when you enter its length, width, and height. It's an essential tool for engineers, architects, students, movers, and anyone who needs precise 3D geometry results without manual calculation.

A rectangular box—also called a rectangular prism or cuboid—is a three-dimensional solid with six rectangular faces, where every interior angle is 90 degrees. To fully describe one, you only need three measurements: length (l), width (w), and height (h). This calculator takes those three inputs and simultaneously derives the three most practically useful properties: volume, surface area, and the space diagonal, saving you from running three separate sets of arithmetic.

Volume tells you how much three-dimensional space the box occupies, and it scales multiplicatively with all three dimensions—double the height and you double the volume. Surface area measures the total area of all six faces, which matters when you need to know how much material (cardboard, paint, wrapping paper) covers the outside of the box. The space diagonal is the straight-line distance from one corner of the box to the opposite corner through the interior, a measurement critical in engineering and shipping when checking whether a long object will fit diagonally inside a container.

A common mistake is mixing units before entering values—for example, entering length in feet but height in inches. Because all three formulas multiply or add the dimensions together, inconsistent units produce wildly wrong results. Always convert all three measurements to the same unit first. The calculator returns results in whatever unit you input, raised to the appropriate power (cubic units for volume, square units for surface area, and linear units for the diagonal).

Another frequent error is confusing surface area with lateral surface area. Total surface area includes all six faces (two for each dimension pair), while lateral surface area omits the top and bottom. For most real-world applications—painting a box, calculating packaging material—you want the total surface area. If you are only finishing the sides of a structure and the base is on the floor, you would subtract the area of the two base faces manually after getting the calculator's total.

Formula

V = l·w·h · SA = 2(lw + lh + wh)

Pro tips

  • Always verify unit consistency before calculating—convert all three dimensions to the same unit (e.g., all in centimeters or all in inches) to avoid compounding errors across volume, area, and diagonal results.
  • Use the space diagonal result to quickly check whether a long item (a rod, pipe, or diagonal shelf) can physically fit inside the box—if the item's length is less than the diagonal, it will fit at an angle.
  • When estimating shipping costs, volume gives you capacity but carriers often use dimensional weight (volume divided by a divisor); calculate your box's volume here first, then apply your carrier's DIM factor.
  • For packaging design, remember that surface area directly translates to material cost—reducing any one dimension by even a small amount can noticeably decrease the cardboard or wrapping needed, especially for large production runs.
  • If you need the lateral surface area only (e.g., wallpaper on four walls of a room), subtract 2 × (l × w) from the total surface area the calculator provides to remove the floor and ceiling.

Key terms

Rectangular Prism (Cuboid)
— A three-dimensional solid with six rectangular faces and all right-angle corners, commonly referred to as a box.
Volume
— The total amount of three-dimensional space enclosed inside the rectangular box, expressed in cubic units (e.g., cm³, ft³).
Surface Area
— The combined area of all six rectangular faces of the box, representing the total outer covering of the shape.
Space Diagonal
— The longest straight-line distance inside a rectangular box, connecting two opposite corners through the interior of the solid.
Face
— Any one of the six flat rectangular sides that form the exterior of a rectangular prism.
Lateral Surface Area
— The total area of only the four side faces of a box, excluding the top and bottom faces.

Frequently asked questions