Glass Box: Finding the Space Diagonal with 3D Pythagoras
Apply the Pythagorean theorem twice — once across the floor, once up through the box — and you can measure the diagonal of any rectangular room.
From flat diagonals to a space diagonal
You already know how to find the diagonal across a flat rectangle: it's the hypotenuse of a right triangle formed by the length and width. Now imagine a rectangular box — a room, a shipping crate, a fish tank — and ask for the diagonal that runs from one corner all the way through the interior to the opposite corner. That's the space diagonal, and it takes the same idea, used twice.
A second right triangle, standing up
That base diagonal doesn't just sit on the floor — it becomes one leg of a brand-new right triangle. Stand the height h up from one end of the base diagonal to the top corner directly above the opposite end. The base diagonal and the height are the two legs of this second triangle, and its hypotenuse is exactly the space diagonal you're after.
- Base diagonal: √(3² + 4²) = √(9 + 16) = √25 = 5.
- Now use that 5 as one leg, with the height 12 as the other leg of the second triangle.
- Space diagonal = √(5² + 12²) = √(25 + 144) = √169.
- Base diagonal: √(2² + 3²) = √(4 + 9) = √13.
- Space diagonal = √(13 + 6²) = √(13 + 36) = √49.
Check your understanding
- The space diagonal of a box runs from one corner to the opposite corner through the interior.
- First find the base diagonal with Pythagoras: d_base = √(l² + w²).
- Then use that base diagonal and the height as legs of a second right triangle.
- Combined, the space diagonal is d = √(l² + w² + h²).
- Always square each dimension, sum the squares, then take one square root at the end.