Pythagorean Triples Calculator
Generate integer side lengths for right triangles up to a chosen limit.
About Pythagorean triples
Pythagorean triple examples
| Maximum c | Included triples | Observation |
|---|---|---|
| 5 | 3, 4, 5 | The smallest primitive triple |
| 10 | 3, 4, 5 and 6, 8, 10 | Includes one primitive triple and one multiple |
| 15 | 3, 4, 5; 6, 8, 10; 5, 12, 13; 9, 12, 15 | Four triples have hypotenuse at most 15 |
How to generate triples
- Choose the largest hypotenuse you want included in the search.
- Enter that limit as a whole number from 5 through 500.
- Select Generate triples to test all eligible integer leg pairs.
- Review each ordered triple and its primitive or multiple label.
Frequently asked questions
What makes three numbers a Pythagorean triple?
Their two smaller squares must add exactly to the square of the largest number. The largest number is the hypotenuse of the corresponding right triangle.
What is a primitive Pythagorean triple?
A primitive triple has no common divisor greater than one across all three sides. It is not a whole-number scaling of a smaller triple.
Is every multiple also a valid triple?
Yes, multiplying all sides of a valid triple by the same positive integer preserves the equation. The new triangle has the same angles and a larger scale.
Why is 3, 4, 5 important?
It is the smallest positive integer Pythagorean triple. Its simple proportions also make it useful for laying out right angles in practical work.
Does the calculator include duplicate triples?
No, each triangle is listed once with its shorter leg first. Reversing the two legs does not create a different triangle.