Pythagoras Theorem In Three Dimensions
Theory
Pythagoras' theorem extends to 3D by applying it twice: first to a 2D triangle inside the solid, then to another triangle that uses the first result. For a cuboid with length
Pythagoras' theorem also works in three dimensions. The key idea is to apply it twice: first to a 2D triangle inside the solid, then to a second triangle that uses your first result as one of its sides.
The classic case is the space diagonal of a cuboid — the line from one corner to the opposite corner. For a box with length
The same two-step idea handles other 3D shapes. A cylinder: the longest pencil that fits inside has length
Two-step Pythagoras on a cuboid:
The cuboid space-diagonal shortcut (combining the two steps):
Longest object inside a cylinder (diameter
Slant height of a cone (radius
How to apply Pythagoras in 3D
- Sketch the 3D shape and identify the line whose length you want.
- Find a 2D right triangle inside the solid — typically using one face or the base.
- Apply Pythagoras to that triangle to get a useful intermediate length.
- Find a second right triangle that uses your intermediate length and another known dimension.
- Apply Pythagoras again to get the final answer. For a cuboid, the shortcut
does both steps at once.
Use the cuboid shortcut.
The space diagonal is about
Step 1 — base diagonal:
Step 2 — space diagonal:
The space diagonal is exactly
The pencil's length, the diameter, and the height form a right triangle.
The longest pencil is
The slant is the hypotenuse of the triangle formed by
The slant height is
Common pitfalls
Frequently asked questions
How does Pythagoras' theorem work in 3D?
Apply it twice. First, find a diagonal inside one face using 2D Pythagoras. Then use that diagonal as a side of a new right triangle to find the line you want.
What is the formula for the space diagonal of a cuboid?
How do you find the longest object that fits inside a cylinder?
Use the diameter across the base and the height:
What is the slant height of a cone?
The distance from the apex down the side to the edge of the base. It connects radius and vertical height via
Can I use the d² = l² + w² + h² formula for any 3D shape?
No. That shortcut only works for cuboids. For other shapes, apply Pythagoras one step at a time on the right triangles inside the solid.
Why does the space diagonal formula add three squares?
The two steps combine: base diagonal squared =
Video Lesson
- 3D Trigonometry and Pythagoras - GCSE Higher Maths Watch
Practice Questions
10 questions available.
Practice Questions