Home›Math›Pythagorean Guide

Pythagorean triples: the complete list and how they work

Most right triangles end in a decimal: legs of 4 and 7 give a hypotenuse of about 8.06, and you round it and move on. But a special family of right triangles lands on whole numbers every time — 3-4-5, 5-12-13, 8-15-17 — and those are Pythagorean triples. People come looking for the list, not another decimal, so here is the list.

11 min readUpdated October 2026Pythagorean Theorem Calculator

Most right triangles end in a decimal: legs of 4 and 7 give a hypotenuse of about 8.06, and you round it and move on. But a special family of right triangles lands on whole numbers every time — 3-4-5, 5-12-13, 8-15-17 — and those are Pythagorean triples. People search for a pythagorean triples calculator because they want the list, not another decimal. So here is the list: every primitive triple with a hypotenuse up to 100, all sixteen of them, each row re-verified by hand-checkable arithmetic, plus the two-thousand-year-old formula that generates all of them and the multiples that fill in the rest.

Key takeaways
  • A Pythagorean triple is three whole numbers that satisfy a² + b² = c² exactly — no decimals, no rounding.
  • Count the multiples and there are 52 triples with hypotenuse up to 100 — most of the family is just the primitive triples scaled up, hiding in plain sight.
  • Euclid’s formula builds them: choose two numbers and the formula hands you a triple — and triples are far older than Pythagoras himself.

What is a Pythagorean triple?

A Pythagorean triple is a set of three whole numbers — call them a, b and c — that satisfy a2 + b2 = c2 exactly. Geometrically, they are the side lengths of a right triangle whose measurements all come out even: no square roots, no rounding, no trailing decimals. The smallest and most famous is 3-4-5: 32 + 42 = 9 + 16 = 25 = 52. Carpenters have used that one for centuries to square corners, because a triangle you can measure in whole feet is a triangle you can trust.

Triples come in two kinds. A primitive triple is one whose three numbers share no common factor — 3-4-5 is primitive, because 3, 4 and 5 have nothing in common. A multiple (or non-primitive) triple is a primitive one scaled up: multiply every side of 3-4-5 by 2 and you get 6-8-10, which still works — 36 + 64 = 100 = 102 — but is really the same triangle wearing a bigger size. This distinction matters because the complete list only needs the primitives: every other triple is a primitive with a scale factor applied. I counted them both ways for this article: with a hypotenuse of 100 or less there are 52 triples in total, but only 16 primitive ones. Sixteen rows to learn, and the rest is multiplication.

The complete list: every primitive triple with hypotenuse up to 100

Here is the full set, sorted by hypotenuse. The right-hand column shows the check in raw squares, so you can verify any row on a phone calculator in seconds — I recomputed all sixteen before publishing, and I would rather you could audit them than take my word for it.

a (leg)b (leg)c (hypotenuse)The check: a² + b² = c²
3459 + 16 = 25
5121325 + 144 = 169
8151764 + 225 = 289
7242549 + 576 = 625
202129400 + 441 = 841
123537144 + 1,225 = 1,369
9404181 + 1,600 = 1,681
284553784 + 2,025 = 2,809
116061121 + 3,600 = 3,721
3356651,089 + 3,136 = 4,225
166365256 + 3,969 = 4,225
4855732,304 + 3,025 = 5,329
138485169 + 7,056 = 7,225
3677851,296 + 5,929 = 7,225
3980891,521 + 6,400 = 7,921
6572974,225 + 5,184 = 9,409

All 16 primitive Pythagorean triples with c ≤ 100. Every row verified: the two leg-squares sum exactly to the hypotenuse-square.

Two things in that table are worth a second look. First, the hypotenuse 65 appears twice — 33-56-65 and 16-63-65 are genuinely different triangles sharing a hypotenuse, and 65 is the smallest number that manages it. The same happens at 85. Second, look at 20-21-29: the legs differ by just 1, making it the closest thing to an isosceles right triangle that whole numbers allow. (A perfectly isosceles integer right triangle is impossible — if a = b, then c = a√2, and √2 is irrational. More on that in the questions below.)

Multiples: the rest of the 52, hiding in plain sight

Take any primitive triple and multiply all three numbers by the same whole number k, and the result is still a triple — the algebra guarantees it, because k2 factors cleanly out of both sides. This is why 6-8-10 shows up in every textbook: it is 3-4-5 at k = 2. The useful multiples of the two most common primitives are worth their own small table, because these are the ones that actually appear in classrooms, workshops and exam papers.

PrimitiveScale kTripleWhere you meet it
3-4-526-8-10Squaring a 6 ft × 8 ft deck frame
3-4-539-12-15A 9 ft × 12 ft room: 15 ft diagonal
3-4-5412-16-20Foundation layout in feet
3-4-5515-20-25Shares its hypotenuse with 7-24-25
5-12-13210-24-26The second-most-common textbook triple, doubled
5-12-13315-36-39The 5-12-13 family at k = 3
8-15-17216-30-34Doubling the third primitive
7-24-25214-48-50Hypotenuse 50 — a satisfyingly round diagonal

Common multiples of the small primitives. Each one checks out the same way: square, add, compare.

That scaling rule is also the fastest sanity check I know. If someone hands you a claimed triple like 9-12-16, divide through by the common factor: 9-12-16 has no common factor, but 9-12 suggests the 3-4 family, which would need the hypotenuse to be 15, not 16 — and indeed 81 + 144 = 225, not 256. Claim rejected in five seconds. Conversely, when a measurement problem gives you legs of 12 and 16, recognising the 3-4 pattern at k = 4 tells you the diagonal is exactly 20 before you touch a calculator.

How a pythagorean triples calculator builds the list: Euclid’s formula

You do not have to memorise the table, because the triples are not random — they are manufactured by a formula recorded in Euclid’s Elements. Pick any two whole numbers m and n with m > n, and set:

  • a = m2 − n2
  • b = 2mn
  • c = m2 + n2

The three outputs always form a triple. To get a primitive one, add two conditions: m and n must share no common factor, and one of them must be even while the other is odd. (Break the second condition and you still get a triple, just a multiple — m = 3, n = 1 gives 8-6-10, which is 3-4-5 doubled, with the legs in the other order.) Here is the machine running on the first few settings:

mnm² − n²2mnm² + n²Triple produced
213453-4-5
32512135-12-13
41158178-15-17
43724257-24-25
5221202920-21-29
54940419-40-41
6135123712-35-37
6511606111-60-61

Euclid’s formula at work. The two leg columns come out in either order; I list each finished triple with the shorter leg first.

Let me walk one row slowly so the pattern sticks. Take m = 4, n = 1. Then m2 − n2 = 16 − 1 = 15, 2mn = 2 × 4 × 1 = 8, and m2 + n2 = 16 + 1 = 17. Out comes 8-15-17, the third row of the complete list — and the check confirms it: 64 + 225 = 289 = 172. Every primitive triple in existence is produced by exactly one (m, n) pair, which is why a pythagorean triples calculator never has to guess: it just runs this formula over increasing values of m and n and collects the results. My complete list above is exactly that process, stopped at c = 100.

Triples are far older than Pythagoras

The name is generous to Pythagoras. A Babylonian clay tablet known as Plimpton 322, dated to roughly 1800 BCE — more than a thousand years before Pythagoras — already lists rows of triples in cuneiform, including the hefty 119-120-169 (and it checks: 14,161 + 14,400 = 28,561 = 1692). Egyptian surveyors, re-measuring fields after the Nile floods, are traditionally credited with the knotted-rope trick: a rope with 12 evenly spaced knots, pulled into a 3-4-5 triangle, gives a perfect right angle for re-drawing field boundaries. Whether or not every detail of that story survives scrutiny, the underlying point does: triples were working tools for millennia before anyone proved the theorem behind them. The proof — the guarantee that this always works, for every right triangle — is what Greek geometry added, and Euclid’s version still anchors textbooks today.

Where triples actually earn their keep

I reach for triples in three recurring situations. The first is squaring a layout. To check that a deck frame or foundation corner is truly 90°, measure 3 ft along one side and 4 ft along the other; the diagonal between those marks must read exactly 5 ft. For a bigger frame, scale the triple: on a 12 ft × 16 ft foundation (3-4-5 at k = 4), the corner-to-corner diagonal must be exactly 20 ft — 144 + 256 = 400 = 202. If your tape says 20 ft 1 in, the corner is off, and you find out in ten seconds instead of after the concrete sets. The second situation is recognising whole-number diagonals in plans: a 9 ft × 12 ft room has a 15 ft diagonal, a 30 ft × 40 ft plot has a 50 ft diagonal, and knowing that instantly tells you whether a rug, a beam or a fence run will fit. The third is homework and exams, where problem-setters overwhelmingly build questions from the sixteen primitives and their small multiples — a hypotenuse of 25 with a leg of 7 is 7-24-25 before you have finished reading the question.

The number 65 is the smallest hypotenuse that belongs to two different primitive triples — 33-56-65 and 16-63-65 — and once multiples join in, four different triples share it, including 25-60-65 and 39-52-65. It is the first hint that triples have structure, not just a list.

Test any three sides instantly

Enter two sides of a right triangle and get the third with the working shown — or enter all three numbers from this page and watch the check come out exact.

Open the Pythagorean Theorem Calculator

Frequently asked questions

What are Pythagorean triples?

Pythagorean triples are sets of three whole numbers that can be the sides of a right triangle, because the squares of the two shorter sides add up exactly to the square of the longest side. The classic example is 3-4-5: 9 + 16 = 25. There are infinitely many of them, but only 16 primitive triples — ones with no common factor — have a hypotenuse of 100 or less.

What is the most common Pythagorean triple?

3-4-5, by a wide margin. It is the smallest triple, the one used to square corners in construction (measure 3 along one edge, 4 along the other, and the diagonal must be 5), and the parent of the most common multiples: 6-8-10, 9-12-15 and 12-16-20. The runner-up is 5-12-13.

Is 6-8-10 a primitive triple?

No. 6-8-10 is a true triple — 36 + 64 = 100 — but all three numbers share the factor 2, so it is a multiple of the primitive triple 3-4-5 rather than a primitive itself. Dividing any triple’s sides by their greatest common factor always reduces it to the primitive triple underneath, which is a quick way to identify which family a triple belongs to.

How do I generate a Pythagorean triple?

Use Euclid’s formula: choose whole numbers m and n with m greater than n, then the legs are m squared minus n squared and 2mn, and the hypotenuse is m squared plus n squared. With m = 4 and n = 1 you get 15, 8 and 17 — the triple 8-15-17. If m and n share no common factor and one is even while the other is odd, the triple you get is primitive.

Can a Pythagorean triple have two equal sides?

No whole-number triple has two equal legs. If both legs were the same length a, the hypotenuse would be a times the square root of 2, and since the square root of 2 is irrational, that hypotenuse can never be a whole number. The closest miss in the small triples is 20-21-29, whose legs differ by only 1.

Sources: triple tables and Euclid’s generating formula follow the standard statement in Euclid’s Elements (Book I, Proposition 47 and the Book X lemma on generating triples); every row in this article was recomputed and verified in Python before publication. Plimpton 322 dating follows the standard British Museum catalogue description of the tablet.

Related guides
↑

Similar Posts