Skip to content

Search topics

Practice for free Sign in

Formula

Pythagorean triple 5-12-13

When to use it

The numbers 5, 12 and 13 satisfy 5² + 12² = 25 + 144 = 169 = 13², and because gcd(5, 12) = 1 the triple is primitive: it is not a scaled copy of a smaller one. Euclid's formula produces it from m = 3 and n = 2: m² − n² and 2mn give 5 and 12, and m² + n² gives 13. Scaling by 2, 3 and 4 gives the non-primitive triples 10-24-26, 15-36-39 and 20-48-52, all of which describe similar right triangles. The hypotenuse exceeds the long leg 12 by 1, which Euclid's formula explains as (m − n)² = 1. The long leg is the even one (12); in every primitive triple exactly one leg is even and the hypotenuse is odd. The hypotenuse factors as 13, and every prime factor of a primitive hypotenuse is of the form 4t + 1. Use the converse of the Pythagorean theorem to test any triangle with these side lengths: it must have a right angle opposite the longest side.

Last checked Source: Triangle theorems Source: Triangle theorems www.corestandards.org (opens in a new tab)

Pythagorean triple 5-12-13 for the Geometry Regents exam, with its source.

Worked case: The two legs of a right triangle measure 5 cm and 12 cm. Give the hypotenuse, the area, the radius of the incircle and both acute angles.

Related pages include Pythagorean triple 57-176-185, Pythagorean triple 51-140-149, Pythagorean triple 52-165-173 and Pythagorean triple 60-221-229.

Result: hypotenuse 13; area 30; inradius 2; angles 22.6° and 67.4°

Application 1: A right triangle has legs 20 and 21. Find the hypotenuse and the perimeter. Step 1: Use the Pythagorean theorem: c² = a² + b². (Right triangle.) Step 2: c² = 400 + 441 = 841. (Square then add.) Step 3: c = 29; perimeter = 20 + 21 + 29 = 70. (Square root, then add the sides.) Result: 29; 70.

Application 2: A right triangle has legs 8 and 15. Find the hypotenuse and the perimeter. Step 1: Use the Pythagorean theorem: c² = a² + b². (Right triangle.) Step 2: c² = 64 + 225 = 289. (Square then add.) Step 3: c = 17; perimeter = 8 + 15 + 17 = 40. (Square root, then add the sides.) Result: 17; 40.

Application 3: In triangle ABC, DE is parallel to BC with D on AB and E on AC. AD = 6, DB = 9 and AE = 8. Find EC and the ratio AD : AB. Step 1: Parallel lines cut proportional segments: AD/DB = AE/EC. (Triangle proportionality theorem.) Step 2: 6/9 = 8/EC gives EC = 12. (Cross-multiply.) Step 3: AB = 15, so AD : AB = 6 : 15 = 2 : 5. (Add the parts.) Result: EC = 12; 2 : 5.

Practice for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practicing
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction