45 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes, past-paper booklets and workbooks are open to everyone. Practice needs a free account.
Or take a quick quiz: 10 questions on this subtopic in GCSE Maths Higher (Edexcel), marked as you tap.
Pythagoras' theorem links the three sides of a right-angled triangle. You use it to find a missing side, the distance between two points and, on Higher, lengths inside 3D shapes such as cuboids and pyramids. It appears on both tiers, often inside a longer problem.
Key facts
\(a^2 + b^2 = c^2\), where c is the hypotenuse (opposite the right angle)
Hypotenuse: \(c = \sqrt{a^2 + b^2}\)
Shorter side: \(a = \sqrt{c^2 - b^2}\)
Distance between two points = \(\sqrt{(\text{difference in } x)^2 + (\text{difference in } y)^2}\)
Right-angled test: (longest side)² = sum of the squares of the other two sides
Common whole-number sides: 3, 4, 5; 5, 12, 13; 8, 15, 17 (and multiples, e.g. 6, 8, 10)
Grade 7+ only Cuboid space diagonal: \(d = \sqrt{a^2 + b^2 + c^2}\)
Notes
The theorem
diagram
In a right-angled triangle, the hypotenuse is the longest side. It is opposite the right angle.
Pythagoras' theorem: \(a^2 + b^2 = c^2\), where c is the hypotenuse and a and b are the two shorter sides.
The hypotenuse c is always opposite the right angle.
It works only in right-angled triangles.
Finding a missing side
Finding the hypotenuse: add the squares, then square root. Sides 6 cm and 8 cm give \(c = \sqrt{36 + 64} = \sqrt{100} = 10\) cm.
Finding a shorter side: subtract the squares (hypotenuse squared minus the other side squared), then square root. Hypotenuse 13 cm and side 5 cm give \(\sqrt{169 - 25} = \sqrt{144} = 12\) cm.
Sense check: the hypotenuse must be longer than each of the other two sides.
For an exact answer, simplify the surd: \(\sqrt{72} = \sqrt{36 \times 2} = 6\sqrt{2}\) Grade 6+ only
Using it in problems
Sketch the right-angled triangle on its own and label the sides you know.
The diagonal of a rectangle makes two right-angled triangles. An isosceles triangle splits into two right-angled triangles along its line of symmetry.
Distance between two points: find the horizontal and vertical differences and use them as a and b. From (1, 2) to (7, 10) the differences are 6 and 8, so the distance is 10 units.
Converse: if \(a^2 + b^2 = c^2\) where c is the longest side, the triangle is right-angled. If not, it is not right-angled.
Pythagoras in 3D Grade 7+ only
diagram
Find a right-angled triangle that contains the length you want. You often need to find one of its sides first, using another right-angled triangle.
Cuboid with edges a, b and c: space diagonal \(d = \sqrt{a^2 + b^2 + c^2}\)
First find the base diagonal (dashed), then use it with the height c to find d.
For a pyramid with its apex directly above the centre of a rectangular base, the vertical height, half the base diagonal and a sloping edge form a right-angled triangle.
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own, C = a communication mark.
Work out the length of a side
3 marksGrade 4
Find the hypotenuse: the side opposite the right angle.
Square the two known sides. Add them to find the hypotenuse; subtract them to find a shorter side.
Square root, then round as the question asks.
Example. ABC is a triangle with a right angle at B. AB = 7.2 cm and AC = 11.5 cm. Work out the length of BC. Give your answer correct to 1 decimal place.
Show the model answerHide the model answer
AC is the hypotenuse, so BC² = 11.5² − 7.2² = 132.25 − 51.84 = 80.41
(M1)
BC = √80.41
(M1)
= 8.967… = 9.0 cm
(A1)
Problem in context: decide and justify
3 to 4 marksGrade 5
Draw the right-angled triangle and label the lengths from the question.
Use Pythagoras to find the missing length, keeping extra decimal places.
Compare with the value in the question and write a clear conclusion.
Example. A ladder 4.5 m long leans against a vertical wall. The foot of the ladder is on horizontal ground, 1.2 m from the wall. The ladder is safe to use if its top reaches at least 4.3 m up the wall. Is the ladder safe to use? You must show your working.
Show the model answerHide the model answer
Height² = 4.5² − 1.2² = 20.25 − 1.44 = 18.81
(M1)
Height = √18.81 (M1) = 4.337… m
(A1)
4.337 m is more than 4.3 m, so yes, the ladder is safe
(C1)
Pythagoras in 3D
3 to 4 marksGrade 7
Find the right-angled triangle that contains the length you want.
Use Pythagoras on the base first to find a missing side of that triangle (for example the base diagonal).
Use Pythagoras again, keeping the first answer unrounded (or use \(\sqrt{a^2 + b^2 + c^2}\) for a cuboid).
Example. A box is a cuboid measuring 8 cm by 6 cm by 5 cm. Work out the length of the longest straight rod that will fit inside the box. Give your answer correct to 3 significant figures.
Show the model answerHide the model answer
Diagonal of the 8 cm by 6 cm base = √(8² + 6²) = √100 = 10 cm
(M1)
Rod = √(10² + 5²) = √125
(M1)
= 11.2 cm
(A1)
Don’t lose marks
Adding the squares when finding a shorter side (the answer comes out longer than the hypotenuse).
Forgetting to square root at the end.
Doubling instead of squaring: 7² is 49, not 14.
Using Pythagoras in a triangle that has no right angle.
Rounding the first answer in a two-step problem and then using the rounded value.
More tips
Memory tricks
Hypotenuse? Add the squares. Shorter side? Subtract the squares.
Learn 3-4-5, 5-12-13 and 8-15-17 and their multiples; non-calculator questions often use them.
Sense check: the hypotenuse is always the longest side.
Type the whole calculation into your calculator in one go, e.g. √(11.5² − 7.2²), so you do not round too early.
Exam technique
Write down the squares and the addition or subtraction before the answer; this earns method marks even if you slip later.
In 'show that' or 'is it safe' questions, give more decimal places than the value you compare with, then write a conclusion.
Round to the accuracy asked for and keep any final zero: 9.0 cm to 1 decimal place, not 9 cm.
Higher: in 3D problems, sketch the right-angled triangle you are using as a flat 2D triangle.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 4
Find the hypotenuse of a right-angled triangleSquare the two shorter sides, add, then square root: \(c = \sqrt{a^2 + b^2}\)
Grade 4
Find a shorter side of a right-angled triangleSquare the hypotenuse, subtract the square of the other side, then square root.
Grade 5
Use Pythagoras in problems and on coordinatesSpot right-angled triangles in rectangles, isosceles triangles and on grids, e.g. the distance between two points.
Grade 5
Test whether a triangle is right-angledCheck whether the square of the longest side equals the sum of the squares of the other two sides.
Grade 6
Give exact answers as simplified surdsOn a non-calculator Higher paper, an exact length such as \(\sqrt{45}\) is written as \(3\sqrt{5}\)
Grade 7
Use Pythagoras in 3D shapesFind the space diagonal of a cuboid or the height of a pyramid using two right-angled triangles.
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
In triangle PQR, angle PQR = 90°. PQ = 7 cm and QR = 24 cm. Work out the length of PR.
25 cm
Complete the sentence about Pythagoras’ theorem. In a right-angled triangle, the square of the ________ is equal to the ________ of the squares of the other two sides. Write down the two missing words.
hypotenuse; sum
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy1 mark
A right-angled triangle has a hypotenuse of length 10 cm. One of the shorter sides is 6 cm long. The other shorter side is \(x\) cm long.
Tick (✓) one box to show the equation that can be used to find \(x\).
[1]
\(x^2 = 10^2 + 6^2\)
\(x^2 = 10^2 - 6^2\)
\(x^2 = 6^2 - 10^2\)
\(x = 10 - 6\)
Show the answer and mark scheme
Answer: \(x^2 = 10^2 - 6^2\)
B1 for \(x^2 = 10^2 - 6^2\)
Worked solution: The hypotenuse is 10 cm, so the square of the other side is found by subtracting: \(x^2 = 10^2 - 6^2 = 64\).
Question 2Medium4 marks
A rhombus has diagonals of length 16 cm and 30 cm.
Work out the perimeter of the rhombus.
[4]
Show the answer and mark scheme
Answer: 68 cm
P1 for using half of each diagonal, 8 and 15, in a right-angled triangle (diagonals of a rhombus bisect each other at right angles)
M1 for \(8^2 + 15^2\) (= 289)
A1 for 17 (side length)
A1 for 68
Worked solution: The diagonals cross at right angles and bisect each other, giving a right-angled triangle with shorter sides 8 cm and 15 cm. Side \(= \sqrt{64 + 225} = 17\) cm. Perimeter \(= 4 \times 17 = 68\) cm.
Question 3Hard4 marks
VABCD is a solid pyramid. The base ABCD is a horizontal square of side 12 cm. The point V is vertically above the centre of the base. VA = 17 cm.
Work out the vertical height of the pyramid. Give your answer correct to 3 significant figures.
[4]
Show the answer and mark scheme
Answer: 14.7 cm
M1 for \(12^2 + 12^2\) (= 288), the square of the diagonal AC
M1 for \(AO^2 = 288 \div 4 = 72\) oe (O is the centre of the base), or AO = 8.48…
M1 for \(17^2 - \text{their } 72\) (= 217)
A1 for 14.7 (accept 14.73…)
Worked solution: The diagonal of the base is \(\sqrt{288}\), so the distance from a corner to the centre is \(\sqrt{72}\) cm. Height \(= \sqrt{17^2 - 72} = \sqrt{217} = 14.7\) cm to 3 significant figures.