Space diagonal of a rectangular box

For edges a, b, c the longest stick inside is √(a²+b²+c²).

Key formulas

d = √(a² + b² + c²)

Build it

Face diagonal on the base is √(a²+b²). Combine with height c using Pythagoras again.

Example

3, 4, 12 → d = √(9+16+144)=√169=13. A neat Pythagorean triple in three dimensions.

Packaging questions

“Will a rod of length L fit?” Compare L with d. Orientation can rotate; the space diagonal is the maximum.

Worked example

Worked example

Problem. Will a rod of length 13 cm fit inside a 3 cm × 4 cm × 12 cm box?

Solution. Space diagonal d = √(3²+4²+12²) = √(9+16+144) = √169 = 13. Yes — it fits exactly along the space diagonal.

2-4-4 box

d=√(4+16+16)=√36=6.

Review quiz

Box 2×3×6. Space diagonal is:

Practice questions

  1. Edges 5, 6, 7. Leave d in surd form.
  2. A rod of length 10 in a 6×6×6 cube: does it fit?

Study notes

Face or space?

Across one face uses two edges; through the interior uses three.

More in Spatial Geometry