Pythagorean Theorem Calculator
Last updated: June 2026 · Free · No sign-up required
Enter values above and click Calculate to see your result instantly.
Quick reference
| Pythagorean triple | Check |
|---|---|
| 3, 4, 5 | 9 + 16 = 25 |
| 5, 12, 13 | 25 + 144 = 169 |
| 8, 15, 17 | 64 + 225 = 289 |
| 7, 24, 25 | 49 + 576 = 625 |
functions Shows the working, not just the answer
For students and teachers, the final number is only half the value. Every math tool here exposes the formula it applied, the intermediate steps, and the rounding rule, so you can follow along, check your homework, or use the answer in a proof or report with confidence.
calculate Accurate to the spec
Calculations use 64-bit floating point with sensible rounding for the domain (currency to 2 decimals, percentages to 4 decimals, algebra to 6 significant figures). Where exact rational arithmetic matters — fractions, factorials, simplification — we use a dedicated BigNumber path so 1/3 + 1/6 returns ½, not 0.49999.
school Free for classroom use
Educators are welcome to link to any math calculator on CalcaTools from a class site, Google Classroom, or worksheet. The pages are mobile-friendly, free, ad-supported (so we can keep them free) and have no sign-up wall — students just click and use them in class or at home.
tips_and_updates Pair with the spoke articles
Below the calculator we link a small set of plain-English explainer pages — "What is a percentage?", "Why does PEMDAS matter?", and so on. They cover the underlying concept in 4–6 short paragraphs. Read those before the calculator if the topic is new, or after if you want the extra context.
Interpretation guide
| Solving for… | Rearranged formula |
|---|---|
| Hypotenuse c | c = √(a² + b²) |
| Leg a | a = √(c² - b²) |
| Leg b | b = √(c² - a²) |
Formula & methodology
Formula: a² + b² = c² (a and b are legs, c is the hypotenuse)
How the Pythagorean theorem works
In any right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides.
Example: legs 6 and 8
c = √(6² + 8²) = √(36 + 64) = √100 = 10.
Finding a leg
If c = 13 and one leg b = 5, then a = √(13² - 5²) = √(169 - 25) = √144 = 12 (the 5-12-13 triple).
The theorem only applies to right triangles. Whole-number side sets like 3-4-5 are called Pythagorean triples.