MathPath
Grades 1–13 Math Hub
Interactive Math Tool & Complete Study Guide

Pythagorean Theorem Calculator

Solve for the hypotenuse c or a missing leg a/b in any right triangle using a² + b² = c². Complete with step-by-step calculation breakdown, plain-English how-to guides, worked examples, common mistakes to avoid, practice questions, and printable worksheets.

Quick Try:
Jump to Guide: How to Use the Pythagorean Theorem ($a^2 + b^2 = c^2$)Worked ExamplesCommon MistakesRelated Worksheets

Key Formulas & Rules

Pythagorean Theorem

$$a^2 + b^2 = c^2$$

Solve for Hypotenuse

$$c = \sqrt{a^2 + b^2}$$

Solve for Missing Leg

$$b = \sqrt{c^2 - a^2}$$

How to Use the Pythagorean Theorem ($a^2 + b^2 = c^2$)

In any right triangle, the sum of the squares of the two legs ($a$ and $b$) equals the square of the hypotenuse ($c$, the longest side opposite the $90^\circ$ angle).

  1. Identify the hypotenuse $c$: Always the side directly across from the $90^\circ$ right angle.
  2. Finding the hypotenuse: Add the squares of both legs and take the square root: $c = \sqrt{a^2 + b^2}$.
  3. Finding a missing leg: Subtract the known leg squared from the hypotenuse squared: $b = \sqrt{c^2 - a^2}$.

Step-by-Step Worked Examples

Worked Example 1

Legs $a = 6, b = 8$, find $c$

$c = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10$.

Worked Example 2

Leg $a = 5$, hypotenuse $c = 13$, find $b$

$b = \sqrt{13^2 - 5^2} = \sqrt{169 - 25} = \sqrt{144} = 12$.

Common Mistakes & How to Avoid Them

Common Mistake #1

Adding instead of subtracting when solving for a leg

If the hypotenuse $c$ is already given, you MUST subtract ($c^2 - a^2$), otherwise your leg comes out longer than the hypotenuse!

Common Mistake #2

Forgetting the final square root

$a^2 + b^2$ equals $c^2$, not $c$—always take $\sqrt{\cdot}$ as the final step.

Quick Practice Questions (Check Your Understanding)

Try solving these on scratch paper first, then expand each card to verify your steps.

Practice #1: A ladder leans against a wall with base $9\text{ ft}$ away and top $12\text{ ft}$ high. How long is the ladder?

Solution: $c = \sqrt{9^2 + 12^2} = \sqrt{81 + 144} = \sqrt{225} = 15\text{ ft}$.

Practice #2: A right triangle has hypotenuse $17\text{ cm}$ and one leg $8\text{ cm}$. Find the other leg.

Solution: $b = \sqrt{17^2 - 8^2} = \sqrt{289 - 64} = \sqrt{225} = 15\text{ cm}$.

Practice #3: Do sides $7, 24, 25$ form a right triangle?

Solution: Check: $7^2 + 24^2 = 49 + 576 = 625 = 25^2$ — Yes!

Frequently Asked Questions

Does the Pythagorean Theorem work on non-right triangles?
No—for acute or obtuse triangles, use the Law of Cosines: $c^2 = a^2 + b^2 - 2ab\cos C$.