G20Geometry & MeasuresFoundation & HigherGrades 4–7

Pythagoras' Theorem

In any right-angled triangle, the square on the longest side equals the sum of the squares on the other two: a2+b2=c2a^2 + b^2 = c^2. The longest side, cc, is the hypotenuse\textbf{hypotenuse} — always opposite the right angle. With it you can find any missing side from the other two, which is why it turns up in coordinates, 3D shapes, trigonometry and circle problems.

40 min Video by Cognito AQA GCSE Maths

Before you start

  • Square positive numbers, find a square root and distinguish length from area.

Try this first. If you need the answer, revisit the prerequisite before continuing.

Starting check: A right-angled triangle is rotated on the page. How do you identify its hypotenuse?

Show answer and reasoning

Find the right angle. The side opposite it is the hypotenuse, regardless of the drawing’s orientation; it is the longest side.

The big picture

The theorem is literally about squares. Build a square on each side of a 3-4-5 triangle: the areas are 9, 16 and 25, and 9+16=259 + 16 = 25. That is true for every right-angled triangle, and only for right-angled ones.

There are only two cases. Finding the hypotenuse: square, add\textbf{add}, square root. Finding a shorter side: square, subtract\textbf{subtract}, square root. A quick sense check — the hypotenuse must be the longest side — tells you which one you need.

GCSE Maths - Pythagoras' Theorem And How To Use It (2026/27 exams)Curated by Kepler, not produced by us. Watch it, then read the notes below.
Open on YouTube

Watch, pause, try

Video by Cognito. The video introduces right-angled triangles. The application below adds a length comparison and a reasonableness check.

Viewing focus: Locate the right angle and name the opposite side before choosing whether to add or subtract squares.

After watching, attempt these questions before opening the answers. You can also use the written lesson below.

After watching 1: The shorter sides are 9 cm and 12 cm. Find the hypotenuse.

Show answer and reasoning

c² = 9² + 12² = 225, so c = 15 cm.

After watching 2: The hypotenuse is 13 m and one shorter side is 5 m. Find the other shorter side.

Show answer and reasoning

b² = 13² − 5² = 144, so b = 12 m. Adding would produce a side longer than the hypotenuse.

KEPLER VISUAL LAB

Explore the idea

Predict what will change, then use the controls to test your explanation.

Identify the hypotenuse before calculatingA right-angled triangle has perpendicular sides 3 and 4 centimetres, and hypotenuse 5 centimetres.a = 3b = 4c = 5a² + b² = c²

3² + 4² = 25 cm², so c = √25 = 5 cm. The hypotenuse is opposite the right angle and is longer than either shorter side.

On a narrow screen, scroll the diagram sideways to read every label.

What you'll learn

  • Identify the hypotenuse of a right-angled triangle
  • Find the hypotenuse and the shorter sides using a2+b2=c2a^2 + b^2 = c^2
  • Apply Pythagoras in context and to find distances between coordinates
  • Use Pythagoras in 3D shapes (Higher)
1

Finding the hypotenuse

Label the hypotenuse cc (opposite the right angle). Square the two shorter sides, add them, and square root the total.

a2+b2=c2a^2 + b^2 = c^2, where cc is the hypotenuse.
Example 1A right-angled triangle has shorter sides 7 cm and 11 cm. Find the hypotenuse to 1 d.p.
1c2=72+112=49+121=170c^2 = 7^2 + 11^2 = 49 + 121 = 170.
2c=170=13.038…c = \sqrt{170} = 13.038\ldots
Answer
13.013.0 cm
Your turnSame method, new numbers — try it before moving on.

A right-angled triangle has shorter sides 9 cm and 12 cm. Find the hypotenuse, in cm.

Show worked solution
Solution
  1. 1c2=81+144=225c^2 = 81 + 144 = 225.
  2. 2c=225=15c = \sqrt{225} = 15 cm.

Answer: 1515 cm

2

Finding a shorter side

Rearrange: a2=c2−b2a^2 = c^2 - b^2. Square the hypotenuse, subtract the square of the known shorter side, then square root.

Example 1A right-angled triangle has hypotenuse 17 cm and one side 8 cm. Find the other side.
1a2=172−82=289−64=225a^2 = 17^2 - 8^2 = 289 - 64 = 225.
2a=15a = 15.
Answer
1515 cm
Your turnSame method, new numbers — try it before moving on.

A right-angled triangle has hypotenuse 20 cm and one side 12.5 cm. Find the other side to 1 decimal place.

Show hint

The hypotenuse is given, so subtract.

Show worked solution
Solution
  1. 1a2=400−156.25=243.75a^2 = 400 - 156.25 = 243.75.
  2. 2a=243.75=15.61…a = \sqrt{243.75} = 15.61\ldots, so 15.615.6 cm.

Answer: 15.615.6 cm

Tip — Check that your hypotenuse is the longest side. If a "shorter" side comes out longer than the hypotenuse, you added when you should have subtracted.

3

Problems and coordinates

Look for the hidden right angle: a ladder against a wall, a diagonal across a rectangle, the height of an isosceles triangle, or the direct distance between two points.

The distance between (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is the hypotenuse of a triangle with sides equal to the horizontal and vertical changes.

Example 1A 5 m ladder leans against a wall with its foot 1.4 m from the wall. How high up the wall does it reach?
1The ladder is the hypotenuse: h2=52−1.42=25−1.96=23.04h^2 = 5^2 - 1.4^2 = 25 - 1.96 = 23.04.
2h=4.8h = 4.8.
Answer
4.84.8 m
Your turnSame method, new numbers — try it before moving on.

Find the distance between the points (−2,3)(-2, 3) and (4,−5)(4, -5).

Show worked solution
Solution
  1. 1Horizontal change 66, vertical change 88.
  2. 2d=36+64=100=10d = \sqrt{36 + 64} = \sqrt{100} = 10.

Answer: 1010

Example 2An isosceles triangle has sides 10 cm, 10 cm and 12 cm. Find its area.
1The height splits the base into two 6 cm halves: h2=102−62=64h^2 = 10^2 - 6^2 = 64, so h=8h = 8.
2Area =12×12×8= \frac{1}{2} \times 12 \times 8.
Answer
4848 cm²
Your turnSame method, new numbers — try it before moving on.

An equilateral triangle has sides of 6 cm. Find its perpendicular height, to 1 decimal place.

Show worked solution
Solution
  1. 1Half the base is 3 cm: h2=36−9=27h^2 = 36 - 9 = 27.
  2. 2h=27=5.196…h = \sqrt{27} = 5.196\ldots, so 5.25.2 cm.

Answer: 5.25.2 cm

4

Pythagoras in 3D (Higher)

Find a right-angled triangle inside the solid. Often you need two steps: first a diagonal across the base, then a triangle using that diagonal and the height.

For a cuboid with edges aa, bb, cc, the space diagonal is d=a2+b2+c2d = \sqrt{a^2 + b^2 + c^2}.

Example 1A cuboid is 6 cm by 4 cm by 3 cm. Find the length of its longest diagonal, to 1 d.p.
1Base diagonal: 62+42=52\sqrt{6^2 + 4^2} = \sqrt{52}.
2Space diagonal: 52+32=61=7.81…\sqrt{52 + 3^2} = \sqrt{61} = 7.81\ldots
Answer
7.87.8 cm
Your turnSame method, new numbers — try it before moving on.

A box is 12 cm by 4 cm by 3 cm. What is the length of the longest straight rod that fits inside it, in cm?

Show worked solution
Solution
  1. 1d=122+42+32=144+16+9=169d = \sqrt{12^2 + 4^2 + 3^2} = \sqrt{144 + 16 + 9} = \sqrt{169}.
  2. 2=13= 13 cm.

Answer: 1313 cm

Keep it exact between steps

a2+b2+c2\sqrt{a^2 + b^2 + c^2} is just Pythagoras applied twice. Squaring the base diagonal undoes its square root, so 52\sqrt{52} becomes 5252 inside the second step — which is why keeping exact values avoids rounding errors.

Think like an examiner

  • Write c2=a2+b2c^2 = a^2 + b^2 with the numbers substituted — it earns the method mark.
  • Do not round between steps; keep surds or full calculator values until the end.
  • "Show that" questions often use Pythagoras to prove a triangle is right-angled: check a2+b2=c2a^2 + b^2 = c^2 exactly.

Pythagoras' theorem

a2+b2=c2a^2 + b^2 = c^2
cc is the hypotenuse.
d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
Distance between two points.
d=a2+b2+c2d = \sqrt{a^2 + b^2 + c^2}
Space diagonal of a cuboid.

Watch out for these

Adding the squares when finding a shorter side.
Shorter side: subtract from the hypotenuse squared.
c=7+11=18c = 7 + 11 = 18.
Square first: c=49+121c = \sqrt{49 + 121}.
Forgetting to square root at the end: c=170c = 170.
c=170=13.0c = \sqrt{170} = 13.0.
Using Pythagoras in a triangle with no right angle.
Use the sine or cosine rule for non-right-angled triangles.

Stretch yourself

A triangle has sides 2n+12n + 1, 2n2+2n2n^2 + 2n and 2n2+2n+12n^2 + 2n + 1, where nn is a positive integer. Show that the triangle is always right-angled.

Hint — Check whether the square of the longest side equals the sum of the squares of the other two.

Reveal solution
Solution(2n+1)2+(2n2+2n)2=4n2+4n+1+4n4+8n3+4n2=4n4+8n3+8n2+4n+1(2n + 1)^2 + (2n^2 + 2n)^2 = 4n^2 + 4n + 1 + 4n^4 + 8n^3 + 4n^2 = 4n^4 + 8n^3 + 8n^2 + 4n + 1. And (2n2+2n+1)2=4n4+8n3+8n2+4n+1(2n^2 + 2n + 1)^2 = 4n^4 + 8n^3 + 8n^2 + 4n + 1. They are equal, so by the converse of Pythagoras the triangle is right-angled. (n=1n = 1 gives 3, 4, 5; n=2n = 2 gives 5, 12, 13.) ■\blacksquare

Questions students ask

How do I spot the hypotenuse?
It is opposite the right angle and is always the longest side.
What are Pythagorean triples?
Whole-number sets that fit the theorem, such as 3-4-5, 5-12-13, 8-15-17 and their multiples like 6-8-10. Recognising them saves time on non-calculator questions.
Can I use Pythagoras to check whether a triangle is right-angled?
Yes. If a2+b2=c2a^2 + b^2 = c^2 exactly (with cc the longest side), the triangle is right-angled. If not, it is not.

Key takeaways

  • Only for right-angled triangles; cc is the hypotenuse.
  • Hypotenuse: square, add, square root.
  • Shorter side: square, subtract, square root.
  • Look for hidden right angles in problems and coordinates.
  • In 3D, use two triangles or a2+b2+c2\sqrt{a^2 + b^2 + c^2}.

Exam-style questions

Practise it the way it is examined

3 original questions · 10 marks, written to match the style and mark allocation of the real papers. Work on paper, then open the mark scheme and tick the marks you earned — method marks count even if the final answer slips.

Question 1Grade 43 marks
  1. A rectangle is 24 cm long and 10 cm wide. Work out the length of its diagonal.[3]
    Show mark scheme

    Answer: 2626 cm

Answer on paper first, then mark it.
Question 2Grade 53 marks

Point AA is (1,7)(1, 7) and point BB is (9,1)(9, 1).

  1. Work out the length of ABAB.[3]
    Show mark scheme

    Answer: 1010

Answer on paper first, then mark it.
Question 3Grade 74 marks

A square-based pyramid has base edges of 8 cm. Its sloping edges are each 9 cm long. The apex is directly above the centre of the base.

  1. Work out the perpendicular height of the pyramid. Give your answer to 3 significant figures.[4]
    Show mark scheme

    Answer: 7.007.00 cm

Answer on paper first, then mark it.

Unlimited practice

Skill drill

A new question every time, marked instantly, with a full worked solution. Aim for a streak of five, then move up a level.

0 / 0 first-time correct Streak 0Best at this level: 0

Generating a question…

Complete the method

Some of the setup is done. Finish it on paper, then compare your reasoning.

Your turn: A 10 m ladder reaches a point 8 m above level ground. Complete: distance from wall squared = ___ − ___. Find that distance.

Show a hint

The ladder is the hypotenuse.

Show answer and reasoning

10² − 8² = 36. The foot is 6 m from the wall, assuming a vertical wall and a right angle at the ground.

Spot and repair the mistake

Identify the first incorrect step and explain how to fix it.

Diagnose it: A student claims a triangle with sides 6, 8 and 11 is right-angled because 6 + 8 exceeds 11. Is that enough?

Show answer and reasoning

No. The inequality checks whether the lengths can form a triangle. For a right angle, test the longest side: 6² + 8² = 100, while 11² = 121. They differ, so it is not right-angled.

Apply it in an exam

Write a full response before revealing the solution. These are Kepler-authored exam-style questions; the suggested marks are a self-check guide.

Question 1 · 4 marks: A rectangular lawn is 18 m by 24 m. A gardener walks diagonally between opposite corners rather than along two edges. How much shorter is the diagonal route?

Show answer and reasoning

Diagonal = √(18² + 24²) = √900 = 30 m. The edge route is 18 + 24 = 42 m, so the saving is 12 m.

  • Identify the diagonal as the hypotenuse.
  • Use the sum of squared side lengths.
  • Find a diagonal length of 30 m.
  • Compare with the 42 m edge route to obtain 12 m.

Explore further

Recall and check later

Return with the notes closed. Answer from memory, check the reasoning, then practise anything you missed.

Recall 1: Tomorrow: a right-angled triangle has hypotenuse 17 cm and a shorter side 8 cm. Find the third side.

Show answer and reasoning

√(17² − 8²) = √225 = 15 cm.

Recall 2: In a week: why is the answer to a squared-length calculation not yet a length?

Show answer and reasoning

Squaring gives an area-sized quantity in square units. Take the positive square root to recover the physical length.

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Hypotenuse of a triangle with shorter sides 6 and 8?

    • 1010
    • 1414
    • 100100
    • 77
    Show answer and explanation

    Answer: 1010

    36+64\sqrt{36 + 64}.

  2. Which side is the hypotenuse?

    • Opposite the right angle
    • Next to the right angle
    • The shortest side
    • The base
    Show answer and explanation

    Answer: Opposite the right angle

    It is always the longest side.

  3. Hypotenuse 13, one side 5. The other side is…

    • 1212
    • 88
    • 13.913.9
    • 1818
    Show answer and explanation

    Answer: 1212

    169−25\sqrt{169 - 25}.

  4. Shorter sides 4 cm and 7 cm. Hypotenuse (1 d.p.)?

    • 8.1 cm
    • 11.0 cm
    • 5.7 cm
    • 65.0 cm
    Show answer and explanation

    Answer: 8.1 cm

    65=8.06\sqrt{65} = 8.06.

  5. Is a triangle with sides 7, 24, 25 right-angled?

    • Yes
    • No
    • Only if drawn accurately
    • Cannot tell
    Show answer and explanation

    Answer: Yes

    49+576=625=25249 + 576 = 625 = 25^2.

  6. Distance between (0,0)(0, 0) and (5,12)(5, 12)?

    • 1313
    • 1717
    • 77
    • 169169
    Show answer and explanation

    Answer: 1313

    25+144\sqrt{25 + 144}.

  7. A square has diagonal 10 cm. Its side length is…

    • 50\sqrt{50} cm
    • 5 cm
    • 10\sqrt{10} cm
    • 20 cm
    Show answer and explanation

    Answer: 50\sqrt{50} cm

    2s2=1002s^2 = 100.

  8. Space diagonal of a 2 × 3 × 6 cuboid?

    • 77
    • 1111
    • 4949
    • 13\sqrt{13}
    Show answer and explanation

    Answer: 77

    4+9+36\sqrt{4 + 9 + 36}.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 14 lessons