Rectangular Prism Space Diagonal
Also known as space diagonal of a box · will it fit diagonally
Worked example: 2 m cube → space diagonal 2 sqrt(3) m — press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!
Rectangular Prism Space Diagonal explained
Two applications of Pythagoras give the space diagonal of a box. First across the floor, , then up to the far top corner, which folds into the tidy . The pattern continues into any number of dimensions, which is why this is really the Euclidean distance formula wearing a cardboard costume.
Movers and shippers use it constantly. A carton 12 in × 12 in × 30 in will take a rod up to in long, and airlines quoting a "linear inches" limit are measuring something different again, so do not confuse the two. Note the one real trap: the diagonal is not the sum of the edges and it is not the sum of the face diagonals. It is always shorter than you would guess by adding.
There are integer cases, called Pythagorean quadruples: 1-2-2 gives 3, and 3-4-12 gives exactly 13. They are handy for checking your arithmetic, and rarer than the familiar 3-4-5 triples of the plane.
Rectangular Prism Space Diagonal formula
- = Space diagonal (m)
- = Length (m)
- = Width (m)
- = Height (m)
Missing one of these? Work it out first, then come back
- Space diagonal — Cube Space Diagonal, Square Diagonal
- Length — Rectangle Perimeter, Rectangle Diagonal
- Width — Rectangle Perimeter, Rectangle Diagonal
- Height — Area of a Triangle, Cone Frustum Volume (Truncated Cone)