Pythagoras' theorem

Part ofMathsGeometry and measure

Key points about Pythagoras' theorem

Bullet points represented by lightbulbs
  • Pythagoras’ theorem states that for any right-angled triangle, the square of the is equal to the sum of the squares of the other two sides.

  • If the sides of the right-angled triangle are labelled 𝑎, 𝑏 and 𝑐 then Pythagoras' theorem can be written as the :

𝑎² + 𝑏² = 𝑐²

Here, 𝑐 represents the hypotenuse.

  • Use Pythagoras’ theorem to show a triangle is right-angled or to find one side of a right-angled triangle when two sides are known.

Make sure you are confident at substituting into and manipulating formulae.

Back to top

Check your understanding

Back to top

How to calculate the hypotenuse of a right-angled triangle

Right-angled triangle with a five by five square attached to the hypotenuse, a three by three square attached to the shortest side and a four by four square attached to the remaining side
Image caption,
Pythagoras’ theorem can be visualised by a diagram. Here the sum of the areas of the two small squares is equal to the area of the large square.

Use Pythagoras’ theorem to calculate a missing side in a right-angled triangle.

Find the length of the when the other two sides are given by following these steps.

  1. Label the sides of the triangle 𝑎, 𝑏 and 𝑐.

Remember that the hypotenuse, which is opposite the right-angle, should always be labelled 𝑐.

  1. Substitute the values of 𝑎 and 𝑏 into the formula 𝑎² + 𝑏² = 𝑐².

  2. Calculate the left-hand side of the by adding the squares together to get the value of 𝑐².

  3. Square root the value of 𝑐² to work out the value of 𝑐.

Right-angled triangle with a five by five square attached to the hypotenuse, a three by three square attached to the shortest side and a four by four square attached to the remaining side
Image caption,
Pythagoras’ theorem can be visualised by a diagram. Here the sum of the areas of the two small squares is equal to the area of the large square.

Follow the worked example

Piece of paper with the word remember written on it



A right-angled triangle where all three sides are integers is called a Pythagorean triple.

The 6, 8, 10 triangle in the question above is an example of this.

GCSE exam-style questions

  1. Calculate the length of YZ.

Give the answer to one decimal place.

Right angled triangle XYZ. XY equals eleven centimetres and XZ equals seven centimetres. The hypotenuse (YZ) is unknown

  1. A square PQRS has sides measuring 12 cm.

Calculate the length of PR.

Give the answer to one decimal place.

Square PQRS with sides of twelve centimetres

Back to top

How to calculate a shorter side in a right-angled triangle

When the hypotenuse and one other side in a right-angled triangle are known, you can find the length of a shorter side by following these steps.

  1. First, label the sides of the triangle 𝑎, 𝑏 and 𝑐.

Remember that the hypotenuse, which is opposite the right-angle, should always be labelled 𝑐.

  1. Substitute the values known into the formula 𝑎² + 𝑏² = 𝑐².

  2. Calculate the squares to simplify the expression.

  3. Subtract the smaller square from the larger square.

  4. Take the square root of the value to find the length of the shorter side.

Follow the worked example

GCSE exam-style questions

  1. Calculate the length of PQ.

Give the answer to one decimal place.

Right angled triangle PQR where PR equals seven centimetres, QR (the hypotenuse) equals nine centimetres and PQ is unknown.

  1. An isosceles triangle has a base of 6 cm and sides of 11 cm.

Use Pythagoras’ theorem to find the triangle’s height.

Give the answer to two decimal places.

An isosceles triangle with a base of 6 cm and sides of 11 cm

Back to top

How to prove a triangle is right-angled

Equals sign with question mark above it
Image caption,
The symbol ≟ is used to question whether two values are equal.

Pythagoras’ theorem is only true for right-angled triangles.

To test if a triangle is right-angled, all 3 sides must be known.

Substitute the values for 𝑎, 𝑏 and 𝑐 into the formula 𝑎² + 𝑏² = 𝑐².

If both sides of the formula are equal, then the formula is , and the triangle is therefore right-angled.

If the two sides are not equal, the triangle is not right-angled.

Equals sign with question mark above it
Image caption,
The symbol ≟ is used to question whether two values are equal.

Follow the worked example

GCSE exam-style questions

  1. Is triangle STU right-angled?
Triangle STU with sides ST and TU both equal 7 m and SU equals 10 m

  1. Show that triangle XYZ is right-angled.
Triangle XYZ with sides YZ equal to 12 cm, XZ equal to 9 cm and YZ equal to 15 cm

Back to top

Quiz – Pythagoras' theorem

Practise what you've learned about Pythagoras' theorem with this quiz.

Now you've revised Pythagoras' theorem, why not look at congruent and similar shapes?

Back to top

More on Geometry and measure

Find out more by working through a topic