Understand the method
What does the pythagorean triples calculation mean?
A Pythagorean triple is a set of three positive integers satisfying a² + b² = c², so the lengths form a right triangle. Triples are primitive when the three numbers share no common factor; every other triple is a whole-number multiple of a primitive one.
When to use it
Use it to test whether integer measurements form a right angle, or to construct exact right triangles without decimals.
Formula
In plain text: a² + b² = c²
Variables and units
| Symbol | Meaning |
|---|---|
| a, b | the legs |
| c | the hypotenuse |
| gcd | 1 for a primitive triple |
How to use the calculator
- Enter each known value in its labeled field.
- Select the answer precision you want.
- Choose Calculate answer to see the result and working.
Worked example
3-4-5 is primitive because 9 + 16 = 25. Then 5-12-13 and 8-15-17 are also primitive, while 6-8-10 is a doubling of 3-4-5.
Common mistakes
- The hypotenuse must be the largest value.
- Any multiple of a triple is also a triple but not primitive.
- Many valid right triangles have non-integer sides, so no triple is expected to exist.
Interpret the result
A triple confirms a right angle exactly, which is why these ratios are used to lay out square corners.