Study and Productivity

Pythagorean Triples and Word Problems: A Practical Guide

Use the Pythagorean theorem with confidence: find missing sides, recognise and generate Pythagorean triples and set up ladder, ramp and 3D box problems.

Saizul Amin
Saizul Amin3 Nov 2026 · 4 min read
Pythagorean Triples and Word Problems: A Practical Guide

Pythagorean Triples and Word Problems: A Practical Guide

The Pythagorean theorem says that in a right-angled triangle the square on the longest side equals the sum of the squares on the other two: a² + b² = c². It is over 2 500 years old and still one of the most used results in school maths, from geometry exams to carpentry. This guide covers the three skills students need: finding a missing side, recognising Pythagorean triples and turning word problems into triangles. You can check each step with the free Pythagorean triples and word problems trainer.

Finding a missing side

First identify the hypotenuse: it is opposite the right angle and is always the longest side.

Missing hypotenuse. Add the squares of the legs and take the square root. Legs 9 and 12: c = √(81 + 144) = √225 = 15.

Missing leg. Subtract the square of the known leg from the square of the hypotenuse. Hypotenuse 17, leg 8: a = √(289 − 64) = √225 = 15.

A common mistake is adding when you should subtract. If the answer for a leg comes out longer than the hypotenuse, you added.

Is it a right triangle?

The converse also works. For sides a ≤ b ≤ c:

  • a² + b² = c²: right-angled
  • a² + b² > c²: acute
  • a² + b² < c²: obtuse

Builders use this to check corners: measure 3 m along one wall, 4 m along the other, and the diagonal should be exactly 5 m.

Pythagorean triples

A Pythagorean triple is three whole numbers that fit the theorem. The famous ones are worth memorising because exam questions use them constantly:

  • 3, 4, 5
  • 5, 12, 13
  • 8, 15, 17
  • 7, 24, 25
  • 20, 21, 29

Any multiple of a triple is also a triple: 6, 8, 10 and 9, 12, 15 come from 3, 4, 5. A triple with no common factor is called primitive.

Euclid's formula

Every primitive triple can be made from two whole numbers m > n that share no factor and are not both odd:

a = m² − n², b = 2mn, c = m² + n²

With m = 2, n = 1 you get 3, 4, 5; with m = 3, n = 2 you get 5, 12, 13; with m = 4, n = 1 you get 15, 8, 17. The trainer's triples list shows the m and n behind each triple, up to a hypotenuse of 1000. There are 16 primitive triples with c up to 100.

Spotting triples saves time. If a question gives legs 1.5 and 2, notice they are 0.5 times 3 and 4, so the hypotenuse is 0.5 × 5 = 2.5 without any square roots.

Word problems: draw the triangle first

Most errors in word problems come from putting numbers in the wrong place. Always sketch the triangle and mark the right angle.

Ladder. A 5 m ladder leans against a wall with its foot 1.4 m out. The ladder is the hypotenuse. Height = √(25 − 1.96) = 4.8 m.

Ramp. A ramp rises 0.5 m over 6 m horizontally. Its length is √(0.25 + 36) ≈ 6.02 m, and its angle is tan⁻¹(0.5 ÷ 6) ≈ 4.8°.

Screen size. A screen 120 cm wide and 67.5 cm high has a diagonal of √(14400 + 4556.25) ≈ 137.7 cm, about 54 inches, which is how screens are sold.

Shortcut. Walking diagonally across a 40 m by 30 m field is 50 m instead of 70 m, saving 20 m.

Distance between points. From (1, 2) to (7, 10): the differences 6 and 8 are the legs, so the distance is 10.

Into three dimensions

The longest rod that fits in a box runs from one bottom corner to the opposite top corner. Use the theorem twice: the floor diagonal of a 3 × 4 box is 5, and with a height of 12 the space diagonal is √(25 + 144) = 13. In one step, d = √(l² + w² + h²). Notice 3, 4, 12, 13: boxes built from triples give whole-number answers.

Practising well

  1. Do five missing-side questions with no calculator, using triples where you can.
  2. Do three word problems, drawing each triangle first.
  3. Use the 60-second sprint to build speed.

The trainer marks answers, shows the working on request and prints worksheets with answer keys.

Limits

The theorem only applies to right-angled triangles on a flat surface. Word-problem answers are idealised: real ladders need a safe angle, and building codes limit ramp slopes in ways this tool does not check.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages