ProCalc.ai
Pro

Pythagorean Theorem Calculator

Pythagorean Theorem Calculator

Solve For
0.01–100000
0.01–100000
0.01–100000
⚡ ProcalcAI

Pythagorean Theorem Calculator

✨ Your Result
5
RESULT
Solving ForHypotenuse

Pythagorean Theorem Calculator — Frequently Asked Questions

Common questions about pythagorean theorem.

Last updated Mar 2026

What the Pythagorean Theorem Calculator Does (and When to Use It)

The Pythagorean Theorem Calculator helps you find a missing side of a right triangle when you already know the other two sides. A right triangle is any triangle with one 90-degree angle. The side opposite that 90-degree angle is the hypotenuse (usually labeled c), and it’s always the longest side. The other two sides are the legs (usually labeled a and b).

This calculator is useful any time you have a right angle and need a distance you can’t measure directly—common in geometry homework, construction layout, navigation on a grid, and coordinate geometry.

The core relationship is the Pythagorean theorem:

a² + b² = c²

Where: - a and b are the legs - c is the hypotenuse

On ProcalcAI, you choose which side to solve for, enter the two known sides, and it computes the third.

The Formulas Used (Solve for c, a, or b)

The calculator supports three solve modes via the “Solve For” input:

### 1) Solve for the hypotenuse (c) Use this when you know both legs a and b.

c = √(a² + b²)

This is the most common case: you have two perpendicular distances and want the diagonal distance.

### 2) Solve for a leg (a) Use this when you know the hypotenuse c and the other leg b.

a = √(c² − b²)

### 3) Solve for the other leg (b) Use this when you know the hypotenuse c and the other leg a.

b = √(c² − a²)

Important constraint: when solving for a leg, the value under the square root must be non-negative. That means c must be larger than the known leg. If c ≤ b (or c ≤ a), you do not have a valid right triangle.

The ProcalcAI calculator returns results rounded to 4 decimal places.

How to Use the Calculator (Inputs Explained)

You’ll see four inputs:

1) Solve For (choice) - Select c if you want the hypotenuse - Select a if you want side a - Select b if you want side b

2) Side a (number) - Enter the length of leg a if it’s known - Leave it blank if you’re solving for a and you’re entering c and b instead

3) Side b (number) - Enter the length of leg b if it’s known - Leave it blank if you’re solving for b and you’re entering c and a instead

4) Hypotenuse (c) (number) - Enter the hypotenuse length if it’s known - Leave it blank if you’re solving for c

Practical workflow: - Identify the right angle. - Identify the hypotenuse (opposite the right angle). - Choose “Solve For” based on the missing side. - Enter the two known sides. - Calculate.

Worked Examples (Step-by-Step)

### Example 1: Find the hypotenuse (c) from two legs You measure a right triangle with: - a = 9 - b = 12 Solve for c.

Formula: c = √(a² + b²)

Compute: - a² = 9² = 81 - b² = 12² = 144 - a² + b² = 81 + 144 = 225 - c = √225 = 15

Result: c = 15

How to enter in the calculator: - Solve For: c - Side a: 9 - Side b: 12 - Hypotenuse (c): (leave blank)

### Example 2: Find a leg (a) from hypotenuse and the other leg You know: - c = 13 - b = 5 Solve for a.

Formula: a = √(c² − b²)

Compute: - c² = 13² = 169 - b² = 5² = 25 - c² − b² = 169 − 25 = 144 - a = √144 = 12

Result: a = 12

Calculator entry: - Solve For: a - Side b: 5 - Hypotenuse (c): 13 - Side a: (leave blank)

### Example 3: Find the other leg (b) with a non-integer result You have: - c = 10 - a = 6 Solve for b.

Formula: b = √(c² − a²)

Compute: - c² = 10² = 100 - a² = 6² = 36 - c² − a² = 100 − 36 = 64 - b = √64 = 8

Result: b = 8

Now a quick variant to show decimals: If c = 10 and a = 7, then: - c² − a² = 100 − 49 = 51 - b = √51 ≈ 7.1414 (rounded to 4 decimals)

Calculator entry for the decimal case: - Solve For: b - Side a: 7 - Hypotenuse (c): 10

Pro Tips for Getting Reliable Results

- Label the hypotenuse first. The hypotenuse is always opposite the 90-degree angle and is always the longest side. If you mislabel it, everything else goes wrong. - Use consistent units. If a is in centimeters and b is in meters, convert before calculating. The theorem assumes the same unit for all sides. - Sanity-check your answer: - If you solved for c, your result should be larger than both a and b. - If you solved for a or b, your result should be smaller than c. - Watch for measurement precision. If your inputs come from real-world measuring, small errors can shift the output. Rounding to 4 decimals is helpful, but don’t overinterpret extra digits. - In coordinate geometry, treat a and b as horizontal and vertical distances: a = |x₂ − x₁|, b = |y₂ − y₁|, then c is the distance between points.

Common Mistakes (and How to Avoid Them)

1) Confusing a leg with the hypotenuse If you enter a leg as c, you may end up taking √(negative number) when solving for a or b, or you’ll get a “hypotenuse” that’s not the longest side.

2) Using the theorem on non-right triangles The Pythagorean theorem only works for right triangles. If the angle is not 90 degrees, you need a different method (like the Law of Cosines).

3) Forgetting the squares The relationship is a² + b² = c², not a + b = c. Adding side lengths directly is incorrect.

4) Entering impossible values When solving for a leg, you must have c > known leg. For example, c = 8 and b = 9 cannot form a right triangle because the hypotenuse cannot be shorter than a leg.

5) Rounding too early If you’re doing manual steps, keep extra decimals until the final step. Early rounding can noticeably change the final result, especially for larger numbers.

Quick Reference: Which Option Should You Choose?

- Choose Solve For: c when you know both legs (a and b). - Choose Solve For: a when you know c and b. - Choose Solve For: b when you know c and a.

If you treat the calculator like a “two known sides in, third side out” tool—and you correctly identify the right angle and hypotenuse—you’ll get consistent, correct results every time.

Authoritative Sources

This calculator uses formulas and reference data drawn from the following sources:

- NIST — Weights and Measures - NIST — International System of Units - MIT OpenCourseWare

Pythagorean Theorem Formula & Method

This pythagorean theorem calculator uses standard math formulas to compute results. Enter your values and the formula is applied automatically — all math is handled for you. The calculation follows industry-standard methodology.

Pythagorean Theorem Sources & References

Explore More Calculators

Content reviewed by the ProCalc.ai editorial team · About our standards

ProcalcAI·Powered by Axiom·Results may not be 100% accuratev11.6.3·b19mar26

We use cookies to improve your experience and show relevant ads. Read our privacy policy