In a right-angled triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides: . Add the squares to find the hypotenuse; subtract to find a shorter side.
The key idea
Why it works. Draw a square on each side of a right-angled triangle. The two smaller squares always have the same total area as the square on the hypotenuse.
For sides , and : , , and .
The theorem only works in right-angled triangles. Always identify the hypotenuse first: it is opposite the right angle and is always the longest side.
Worked examples
- Example 1The two shorter sides of a right-angled triangle are 6 cm and 8 cm. Find the hypotenuse.Finding the hypotenuse: add the squaresWrite the formulaPut in the two sides you knowSquare each oneAddSquare root both sidesAnswer, with unitsCheck ✓The hypotenuse is the longest side: ✓Answer:
- Example 2The hypotenuse is 13 cm and one side is 5 cm. Find the other side, .Finding a shorter side: subtract the squaresWrite the formulaThe unknown is a shorter sideSquare the known sidesSubtract 25 from both sidesSquare root both sidesAnswer, with unitsCheck ✓The hypotenuse is the longest side: ✓Answer:
- Example 3A 5 m ladder leans against a wall with its foot 1.5 m from the wall. How high up the wall does it reach?A real-life problem: the ladder is the hypotenuseThe ladder (5 m) is opposite the right angleSquare the known lengthsSubtract 2.25 from both sidesSquare root both sidesRound to 3 significant figuresCheck ✓The ladder is the longest side: ✓Answer: (3 significant figures)
Common mistakes
- Adding the squares when finding a shorter sideIf you know the hypotenuse, subtract.
- Forgetting to take the square root at the end gives , not 100.
- Using the theorem in a triangle that isn’t right-angledCheck for the right angle before you start.
In an MYP task
Communicating your solution (Criterion C)
For Criterion C, a correct number isn’t enough. Students should draw and label a diagram, write the formula they are using, show each step with correct notation and give the answer with units.
A quick sense check also helps: the hypotenuse must be longer than both other sides. If it isn’t, something has gone wrong.
Practice questions
- The shorter sides are 9 cm and 12 cm. Find the hypotenuse.
Show answer
- The hypotenuse is 17 cm and one side is 8 cm. Find the other side.
Show answer
- The shorter sides are 2 cm and 3 cm. Find the hypotenuse to 2 decimal places.
Show answer
- Is a triangle with sides 7, 24 and 25 right-angled?
Show answer
Yes, so the triangle is right-angled.
More topic explainers
Find more free resources, or look up command terms in the glossary.

