Rectangular Prism Space Diagonal Calculator
Enter length, width, height to find space diagonal. d = √(l²+w²+h²).
The shape behind the formula
Schematic diagram; proportions are not to scale. Use the formula and current values below for the numerical result.
About this calculation
A space diagonal is a linear dimension through a three-dimensional solid. Use this rectangular prism space diagonal calculator to find space diagonal from length, width, height.
Formula
d = √(l²+w²+h²)
Worked example
With Length: 8 units, Width: 5 units, Height: 4 units, space diagonal is 10.246951 units.
How to calculate space diagonal
The rule is d = √(l²+w²+h²).
In the rectangular prism space diagonal example, length 8 units produces space diagonal 10.246951 units. Entering 9 units instead produces 11.045361 units.
Reading space diagonal
The answer is a length between opposite corners through the interior, not an area or volume. With length 8 units, width 5 units, height 4 units, the calculator returns space diagonal 10.246951 units.
Practical use
Use the diagonal to check internal clearance or a package dimension that crosses the solid. Check whether a straight object can span the interior between opposite box corners.
Limits and common mistakes
Input dimensions must share one length unit. The simple formula assumes the idealized shape named in the title. Verify length in units before interpreting space diagonal.
Why the relationship works
A space diagonal joins opposite corners through the interior of a box or cube. It follows the Pythagorean theorem in three dimensions, combining the squares of all perpendicular edge lengths before taking a square root. It differs from a diagonal drawn only across one face. The rectangular prism space diagonal rule uses length (units), width (units), height (units) in d = √(l²+w²+h²); read each symbol as the field named on this page.
Interpreting another set of values
The entered length (units), width (units), height (units) are perpendicular box edges. The rule d = √(l²+w²+h²) returns space diagonal in units through the interior, which differs from a diagonal restricted to the floor or one wall.
For a second rectangular prism space diagonal check, keep the other default inputs fixed and change length from 8 units to 10 units. Space diagonal changes from 10.246951 units to 11.874342 units. One edge change alters the interior right-triangle relationship while the other perpendicular box edges stay fixed.
Checks and limits
All three entered edges must be mutually perpendicular. A face diagonal ignores the third edge and should be shorter than the space diagonal for a positive box height. The worked 10.246951 units joins opposite box corners through the interior. It is measured in length units, not the area of a face or the volume of the box.
Inputs
- Length (units)
- Width (units)
- Height (units)