A Pythagorean triplet is three whole numbers a, b, c with a² + b² = c², so they can be the sides of a right triangle with c as the hypotenuse. Knowing the common ones turns many geometry and mensuration questions into recognition rather than calculation.

Primitive tripletCommon multiples
3, 4, 56-8-10, 9-12-15, 12-16-20, 15-20-25, 18-24-30
5, 12, 1310-24-26, 15-36-39, 20-48-52
8, 15, 1716-30-34, 24-45-51
7, 24, 2514-48-50
20, 21, 2940-42-58
12, 35, 3724-70-74
9, 40, 4118-80-82
28, 45, 53
11, 60, 61
33, 56, 65 and 16, 63, 65

Checked: six primitive triplets

5-12-13, 8-15-17, 7-24-25, 20-21-29, 12-35-37 and 9-40-41 all satisfy a² + b² = c²: 6 of 6.

Checked: the rest of the list

28-45-53, 11-60-61, 33-56-65, 16-63-65 and 3-4-5: 5 of 5. Note that 65 is the hypotenuse of two different primitive triplets.

If a question gives one side and the number is not in your list, build the triplet. These rules give one triplet for each starting number, usually the primitive one; a number can belong to several triplets, so if the result does not match the other given side, try dividing out a common factor first.

  • Odd number a: the triplet is a, (a² − 1)/2, (a² + 1)/2. The other two numbers are consecutive.
  • Even number a: the triplet is a, (a/2)² − 1, (a/2)² + 1. The other two differ by 2.
  • Euclid's formula: for whole numbers m > n, the triplet is m² − n², 2mn, m² + n².

Worked example 1: starting from 7

(49 − 1)/2 = 24 and (49 + 1)/2 = 25, giving 7-24-25.

Worked example 2: starting from 12

(12/2)² − 1 = 35 and 36 + 1 = 37, giving 12-35-37.

Worked example 3: Euclid with m = 5, n = 2

25 − 4 = 21, 2 × 5 × 2 = 20 and 25 + 4 = 29: the triplet 20-21-29, and 21² + 20² = 29² holds (true).

Before squaring and taking roots, divide the given sides by any common factor and look for a known triplet.

Worked example 4: legs 18 and 24

Divide by 6: 3 and 4. So the hypotenuse is 5 × 6 = 30.

Worked example 5: a ladder

A 25 m ladder reaches up a wall with its foot 7 m away. 7-24-25 gives the height straight away: 24 m.

Worked example 6: a rectangle's diagonal

A 16 m by 30 m field: halve to 8 and 15, part of 8-15-17, so the diagonal is 34 m.

The same shortcut works wherever a right angle hides inside another shape.

Worked example 7: a rhombus

A rhombus has diagonals 30 cm and 16 cm. The diagonals bisect each other at right angles, so each side is the hypotenuse of a triangle with legs 15 and 8: 8-15-17 gives a side of 17 cm.

Worked example 8: a cone's slant height

A cone of radius 7 cm and height 24 cm has slant height 25 cm, from 7-24-25.

Worked example 9: distance between two points

From (1, 2) to (6, 14), the horizontal and vertical gaps are 5 and 12, so the distance is 13.

Not every three numbers that look close form a triplet. Test quickly with squares, or use parity: in a primitive triplet exactly one leg is even and the hypotenuse is odd.

Worked example 10: is 6, 8, 11 a triplet?

36 + 64 = 100, but 11² = 121, so no (false). The right hypotenuse for 6 and 8 is 10.

  • Treating the longest side as a leg. The hypotenuse is always the largest number.
  • Forgetting to scale back. After dividing by a common factor, multiply the answer by it.
  • Assuming 65 has one triplet. Both 33-56-65 and 16-63-65 exist, plus multiples like 25-60-65 and 39-52-65.
  • Using triplets for non-right triangles. The shortcut applies only when there is a right angle.

For squares up to 50, see the squares and cubes table; for chords and tangents, which also use right triangles, see circle theorems.

Q1. The two shorter sides of a right triangle are 20 cm and 21 cm. What is the hypotenuse? easy

✅ Answer: (a) 29 cm

💡 Explanation: 20-21-29 is a primitive triplet: 400 + 441 = 841 = 29².

Q2. A right triangle has one leg 9 cm and hypotenuse 41 cm. What is the other leg? easy

✅ Answer: (b) 40 cm

💡 Explanation: 9 is odd, so (81 − 1)/2 = 40 and (81 + 1)/2 = 41. The triplet is 9-40-41.

Q3. The legs of a right triangle are 11 and 60. What is the hypotenuse? medium

✅ Answer: (c) 61

💡 Explanation: By the odd-number rule, 11 gives (121 − 1)/2 = 60 and (121 + 1)/2 = 61.

Q4. A rectangle measures 33 m by 56 m. How long is its diagonal? medium

✅ Answer: (d) 65 m

💡 Explanation: 33-56-65 is a primitive triplet: 1,089 + 3,136 = 4,225 = 65².

Q5. The legs of a right triangle are 15 cm and 36 cm. What is the hypotenuse? medium

✅ Answer: (b) 39 cm

💡 Explanation: Divide by 3 to get 5 and 12, part of 5-12-13. Multiply back: 13 × 3 = 39 cm.

What is a primitive Pythagorean triplet?

One whose three numbers share no common factor, such as 3-4-5 or 8-15-17. Every other triplet, such as 6-8-10 or 15-20-25, is a whole-number multiple of a primitive one.

Can every whole number be part of a triplet?

Every whole number from 3 upwards can. An odd number a gives (a, (a² − 1)/2, (a² + 1)/2), and an even number a gives (a, (a/2)² − 1, (a/2)² + 1).

Is one side of a primitive triplet always even?

Yes. In a primitive triplet, exactly one leg is even and the hypotenuse is always odd. This is a quick way to reject options.

All problems and solutions on this page are original. No outside facts are relied on; every numeric answer is recomputed by software before publishing.

How this page was prepared. Drafted with AI assistance (Claude (Anthropic AI model)) from the sources listed above. 17 calculations on this page were recomputed by software and matched. Automated checks also covered structure, internal links and duplicate text. Software checks cannot confirm facts.

Found an error? Report it and we will correct the page.