Pythagorean Triples Calculator

This Pythagorean triples calculator can check if three given numbers form a Pythagorean triple and also generate Pythagorean triples via Euclid's formula!

Clear
Triples found16with hypotenuse up to 100
Smallest3, 4, 5
Showing16 of 16
TypePrimitive only

Pythagorean triples

abcAreaKind
3456primitive
5121330primitive
8151760primitive
7242584primitive
202129210primitive
123537210primitive
94041180primitive
284553630primitive
116061330primitive
166365504primitive
335665924primitive
4855731,320primitive
138485546primitive
3677851,386primitive
3980891,560primitive
6572972,340primitive

The formula

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

Euclid’s formula

Every primitive Pythagorean triple comes from two coprime integers m > n of opposite parity:

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

With m=2, n=1 that gives 3, 4, 5. Every other triple is a whole multiple of a primitive one — 6, 8, 10 is just 3, 4, 5 doubled.

What always holds

  • The three angles add to 180°, without exception.
  • Any two sides must add to more than the third — the triangle inequality. Sides of 4, 5 and 12 cannot close.
  • The longest side always faces the largest angle.
  • Area = ½ × base × height for any triangle, with the height measured perpendicular to that base.

Which formula to reach for

With three sides, use Heron’s formula. With a base and its height, use ½bh. With two sides and the angle between them, use ½ab·sin C. With a right angle, the two legs are already base and height, so the area is just half their product.