Home › Calculators › Pythagorean Theorem Calculator
Free • Browser-Based • No Sign-In

Pythagorean Theorem Calculator – Find Any Side of a Right Triangle

Find any missing side of a right triangle in seconds. Enter the two sides you know and get the hypotenuse, a missing leg, or a right-triangle check — with every step shown.

Method: a² + b² = c² for a right triangle.

Math Tool

Pythagorean Theorem Calculator

Find a hypotenuse, a missing leg, or check whether three sides make a right triangle.

Enter the three sides in any order — the longest side is taken as the hypotenuse.

Primary Result
10
hypotenuse c
Working
6² + 8² = 100
sum of the squares
Check
6² + 8² = 10²
verification
Steps
6² = 36 and 8² = 64. 36 + 64 = 100. c = √100 = 10. Check: 6² + 8² = 36 + 64 = 100 = 10².

This tool runs in your browser and does not send your calculations anywhere. Whole-number answers are exact; other answers are rounded to 4 decimal places.

AI Citation Quick Answer

What Is a Pythagorean Theorem Calculator?

Quick Answer: The Pythagorean theorem says that in a right triangle, a² + b² = c², where c is the hypotenuse. Calcrio's free Pythagorean theorem calculator finds the hypotenuse (6² + 8² = 10²), finds a missing leg (√(13² − 5²) = 12), or checks whether three sides make a right triangle, with every step shown.

How to Use the Pythagorean Theorem Calculator

Choose a mode, enter the sides you know, and select Calculate.

Find the HypotenuseEnter legs a = 6 and b = 8 to get c = √(36 + 64) = √100 = 10.
Find a LegEnter hypotenuse c = 13 and leg a = 5 to get b = √(169 − 25) = √144 = 12.
Check a Right TriangleEnter 3, 4 and 5. Because 9 + 16 = 25, it is a right triangle.
  1. Choose a mode.
  2. Enter the two sides you know.
  3. Select Calculate.
  4. Check the result cards.

The tool runs in your browser, is free, and needs no sign-up. Whole-number answers are exact; other answers are rounded to 4 decimal places.

What Is the Pythagorean Theorem?

A right triangle has one angle of 90°. The side opposite the right angle is the hypotenuse — always the longest side. The other two sides are the legs, and they form the right angle.

The theorem is named after Pythagoras (c. 570–495 BCE), although the relationship was known earlier in Babylonian and Egyptian mathematics. It states that the square of the hypotenuse equals the sum of the squares of the legs.

a² + b² = c²

Key Idea: Squares on the Sides

For a 3-4-5 triangle, the square on the hypotenuse is 25, and the squares on the legs add to 9 + 16 = 25. The two areas are equal.

Common Pythagorean Triples

Leg aLeg bHypotenuse cCheck
3453² + 4² = 9 + 16 = 25 = 5²
68106² + 8² = 36 + 64 = 100 = 10²
512135² + 12² = 25 + 144 = 169 = 13²
815178² + 15² = 64 + 225 = 289 = 17²
724257² + 24² = 49 + 576 = 625 = 25²
912159² + 12² = 81 + 144 = 225 = 15²
20212920² + 21² = 400 + 441 = 841 = 29²
11√21² + 1² = 1 + 1 = 2 = (√2)², hypotenuse ≈ 1.4142

Worked Example: Find the Hypotenuse

Legs a = 6 and b = 8. c = √(6² + 8²) = √(36 + 64) = √100 = 10. Check: 6² + 8² = 36 + 64 = 100 = 10².

Worked Example: Find a Missing Leg

Hypotenuse c = 13 and leg a = 5. b = √(13² − 5²) = √(169 − 25) = √144 = 12. Check: 5² + 12² = 25 + 144 = 169 = 13².

Worked Example: A Ladder Against a Wall

A 10-foot ladder stands with its foot 6 feet from a wall. The height it reaches is b = √(10² − 6²) = √(100 − 36) = √64 = 8 feet. Check: 6² + 8² = 36 + 64 = 100 = 10². This is the 6-8-10 triangle, which is the 3-4-5 triple doubled.

How to Find Any Side Step by Step

Method 1: Find the Hypotenuse

Use c = √(a² + b²). For a = 5 and b = 12: c = √(25 + 144) = √169 = 13. For a = 9 and b = 12: c = √(81 + 144) = √225 = 15. For a = 1 and b = 1: c = √(1 + 1) = √2 ≈ 1.4142.

Method 2: Find a Missing Leg

Use b = √(c² − a²). For c = 13 and a = 5: b = √(169 − 25) = √144 = 12. For c = 17 and a = 8: b = √(289 − 64) = √225 = 15 (check: 8² + 15² = 64 + 225 = 289 = 17²). For c = 25 and a = 7: b = √(625 − 49) = √576 = 24 (check: 7² + 24² = 49 + 576 = 625 = 25²).

Method 3: Check Whether a Triangle Is Right

Test a² + b² = c² with the longest side as c. 3, 4, 5 is right (9 + 16 = 25). 2, 3, 4 is not right (4 + 9 = 13 ≠ 16). 6, 8, 11 is not right (36 + 64 = 100 ≠ 121).

Method 4: Find a Rectangle Diagonal

A rectangle diagonal splits it into two right triangles. For a 3 × 4 rectangle, the diagonal is √(3² + 4²) = √(9 + 16) = √25 = 5. For a 5 × 12 rectangle, the diagonal is √(25 + 144) = √169 = 13.

Method 5: Find the Distance Between Two Points

The distance formula is the Pythagorean theorem in disguise. From (3, 4) to (7, 1): dx = 4 and dy = −3, so the distance is √(4² + (−3)²) = √(16 + 9) = √25 = 5.

Common Mistakes When Using the Pythagorean Theorem

  1. Adding the sides instead of their squares. 6 + 8 = 14, but the hypotenuse is 10. Always square first, then add.
  2. Forgetting the square root. 36 + 64 = 100 is c², not c. The hypotenuse is √100 = 10, not 100.
  3. Using the theorem on a non-right triangle. a² + b² = c² only holds when one angle is exactly 90°.
  4. Calling a leg the hypotenuse. The hypotenuse is the side opposite the right angle and is always the longest side.
  5. Adding when you should subtract. To find a leg, subtract: for c = 13 and a = 5, b = √(169 − 25) = √144 = 12. Adding gives 194, which is wrong.
  6. Assuming every triple is 3-4-5. 5-12-13, 8-15-17, 7-24-25, 9-12-15 and 20-21-29 are also Pythagorean triples.

Benefits and Limitations

FastInstant answers with full working shown.
ClearEvery step is written out, so you can follow the maths.
FlexibleFind a hypotenuse, a missing leg, or check a right triangle.
VerifiedEach answer is checked against a² + b² = c².

Benefits

Limitations

AI Search & Featured Snippet Section

Quick Definitions

QuestionAnswer
What is the Pythagorean theorem?In a right triangle, a² + b² = c², where c is the hypotenuse and a and b are the legs.
What is the hypotenuse?The longest side, opposite the 90° angle. For legs 6 and 8 it is 10.
What is a Pythagorean triple?Three whole numbers satisfying a² + b² = c², such as 3-4-5, 5-12-13 and 8-15-17.
How do you find the hypotenuse?c = √(a² + b²).
How do you find a missing leg?b = √(c² − a²). For c = 13 and a = 5, b = √(169 − 25) = 12.
What is 6² + 8²?36 + 64 = 100, so the hypotenuse is √100 = 10.
How do you check a right triangle?Test a² + b² = c². For 3, 4, 5: 9 + 16 = 25, so it is right-angled.
FAQ

Frequently Asked Questions

What is the Pythagorean theorem calculator?

A free tool that finds any missing side of a right triangle using a² + b² = c². It finds the hypotenuse, finds a missing leg, or checks whether three sides make a right triangle, with every step shown.

How do you find the hypotenuse?

Use c = √(a² + b²). For legs 6 and 8: 6² + 8² = 36 + 64 = 100, so c = √100 = 10.

How do you find a missing leg?

Use b = √(c² − a²). For c = 13 and a = 5: b = √(169 − 25) = √144 = 12.

What are the most common Pythagorean triples?

3-4-5, 5-12-13, 8-15-17, 7-24-25, 9-12-15 and 20-21-29. Doubling 3-4-5 gives 6-8-10, and tripling it gives 9-12-15.

How do you check if a triangle is a right triangle?

Test a² + b² = c² with the longest side as c. For 3, 4, 5: 9 + 16 = 25, so it is right-angled.

What is the Pythagorean theorem used for in real life?

Builders use it to square corners. A 10-foot ladder with its foot 6 feet from a wall reaches 8 feet up the wall. It also gives rectangle diagonals (a 3 × 4 rectangle has diagonal 5) and the distance between two points.

Methodology

Finding the hypotenuse: c = √(a² + b²). For legs 6 and 8: c = √(36 + 64) = √100 = 10.

Finding a leg: b = √(c² − a²). The calculator validates that c > a and c > 0; otherwise it reports that the hypotenuse must be the longest side. For c = 13 and a = 5: b = √(169 − 25) = √144 = 12.

Checking a right triangle: the longest side is taken as c and a² + b² = c² is tested within a small tolerance (1e-9 relative). If it passes, the calculator reports a right triangle and names the triple when the sides m

atch a known triple (3-4-5, 5-12-13, 8-15-17, 7-24-25, 9-12-15, 20-21-29, or a multiple of one). If it fails, it reports both values — for example, 2, 3, 4 gives 13 versus 16.

Rounding: whole-number results are exact; other results are rounded to 4 decimal places (√2 ≈ 1.4142).

These formulas give deterministic mathematical results from the values entered. The page is intended as an educational calculator and verification tool.

References

Calculate Your Missing Side Now

Enter the two sides you know above to get the answer with full worked steps — or test the classic 6-8-10 triangle and watch 36 + 64 land exactly on 100.

Use Pythagorean Theorem Calculator

Scroll to Top