Pythagorean Triples & Right Triangle Solver

Solve missing sides, angles, perimeter, and area of right triangles, test for triples, or generate Euclid's primitive triples.

The Pythagorean Theorem & Primitive Triples

In any Euclidean right-angled triangle, the square of the length of the hypotenuse equals the sum of the squares of the lengths of the other two legs.

Pythagorean Equation & Euclid Generator Formula

a² + b² = c²

Euclid: a = m² − n², b = 2mn, c = m² + n² (for m > n > 0)

If m and n are coprime and one is even, the resulting triple (a, b, c) is primitive (GCF(a, b, c) = 1).

Step-by-Step Worked Examples

Classic 3-4-5 Triangle

3² + 4² = 9 + 16 = 25 = 5². Area = (3 × 4) / 2 = 6, Perimeter = 12, Angles ≈ 36.87°, 53.13°, 90°.

Frequently Asked Questions

What is a primitive Pythagorean triple?

A primitive triple is an integer solution (a, b, c) to a² + b² = c² where a, b, and c share no common divisor other than 1.

What are the first five primitive Pythagorean triples?

(3, 4, 5), (5, 12, 13), (8, 15, 17), (7, 24, 25), and (20, 21, 29).