# Pythagorean Theorem Calculator

> Solve for the hypotenuse or a missing side of a right triangle with a² + b² = c². Shows working, angles and area. Free Pythagoras calculator.

URL: https://allincalculators.com/pythagorean-theorem-calculator/

Find the hypotenuse or a missing side of a right triangle with a² + b² = c², plus angles, area and perimeter.

Side a

Side b

Hypotenuse c

Units (optional)

Hypotenuse c–

Table of Contents
- [1Pythagorean Theorem Calculator: Find the Missing Side](#pythagorean-theorem-calculator-find-the-missing-side)

- [2How to Use the Pythagorean Theorem Calculator](#how-to-use-the-pythagorean-theorem-calculator)

- [3The Pythagorean Theorem Formula](#the-pythagorean-theorem-formula)

- [4Worked Examples](#worked-examples)

- [5Common Pythagorean Triples](#common-pythagorean-triples)

- [6The 3-4-5 Rule for Checking a Square Corner](#the-3-4-5-rule-for-checking-a-square-corner)

- [7Angles, Area and Perimeter of a Right Triangle](#angles-area-and-perimeter-of-a-right-triangle)

- [8Frequently Asked Questions](#frequently-asked-questions)

- [9Related Calculators](#related-calculators)

## Pythagorean Theorem Calculator: Find the Missing Side

If you’ve got a right triangle and you know two of its sides, you can always work out the third.
That’s the whole point of Pythagoras’ theorem, and it’s surprisingly useful outside the classroom: checking a wall is square, working out the length of a ladder, the diagonal of a TV screen, or the length of a roof rafter.

This free Pythagorean theorem calculator finds the **hypotenuse** from the two shorter sides, or a **missing leg** from the hypotenuse and the other leg.
It also gives you both angles, the area and the perimeter, and shows the working step by step. You can add units such as cm, m, inches or feet.

## How to Use the Pythagorean Theorem Calculator

- **Find c (hypotenuse):** enter the two shorter sides, a and b.

- **Find a or b (leg):** enter the hypotenuse c and the side you know.

- Pick a unit if you want it shown in the answer. All sides must be in the same unit.

## The Pythagorean Theorem Formula

**a² + b² = c²**

In a right triangle (one with a 90° corner), the square of the longest side, the **hypotenuse** c, equals the squares of the two other sides added together. The hypotenuse is always the side opposite the right angle.

- **Find the hypotenuse:** c = √(a² + b²)

- **Find a leg:** a = √(c² − b²), or b = √(c² − a²)

## Worked Examples

### Example 1: the classic 3-4-5 triangle

a = 3, b = 4. c² = 3² + 4² = 9 + 16 = 25, so c = √25 = **5**.

### Example 2: finding a missing leg

c = 13, b = 12. a² = 13² − 12² = 169 − 144 = 25, so a = **5**.

### Example 3: a ladder against a wall

A ladder reaches 15 ft up a wall and its foot is 8 ft from the wall. The ladder length is √(15² + 8²) = √289 = **17 ft**.

### Example 4: TV screen diagonal

A screen about 121.8 cm wide and 68.5 cm tall has a diagonal of √(121.8² + 68.5²) ≈ 139.7 cm, which is about 55 inches.

## Common Pythagorean Triples

These are right triangles where all three sides are whole numbers. Multiply any of them by the same number (for example 6-8-10) and you get another one.

a | b | c |

3 | 4 | 5 |

5 | 12 | 13 |

8 | 15 | 17 |

7 | 24 | 25 |

20 | 21 | 29 |

9 | 40 | 41 |

## The 3-4-5 Rule for Checking a Square Corner

Builders and DIYers use this all the time. Measure 3 units along one wall and 4 units along the other, then measure the diagonal between those two marks.
If it’s exactly 5 units, the corner is a perfect 90°. For bigger spaces use 6-8-10 or 9-12-15, in feet or metres. It works for laying out patios, decking and tiles too.

## Angles, Area and Perimeter of a Right Triangle

- **Angle α** (opposite side a) = arctan(a ÷ b), and **angle β** = 90° − α.

- **Area** = a × b ÷ 2

- **Perimeter** = a + b + c

- **Height to the hypotenuse** = a × b ÷ c

For the 3-4-5 triangle the angles are 36.87° and 53.13°, the area is 6 and the perimeter is 12.

## Frequently Asked Questions

### Which side is the hypotenuse?

The longest side, opposite the right angle. It’s always c in a² + b² = c².

### Does the Pythagorean theorem work for any triangle?

No, only for right triangles. For other triangles you need the law of cosines.

### How do I find the hypotenuse in feet and inches?

Convert both sides to inches (or to decimal feet) first, use the calculator, then convert back. 12 inches = 1 foot.

### Can a leg be longer than the hypotenuse?

No. The hypotenuse is always the longest side. If c isn’t the largest number, the triangle isn’t a right triangle.

### Who discovered the Pythagorean theorem?

It’s named after the Greek mathematician Pythagoras (around 570–495 BC), but the relationship was known earlier in Babylon, India and China.

## Related Calculators

More free tools from our **Math Calculators** collection:

- [Slope Calculator](/slope-calculator/)

- [Square Root Calculator](/square-root-calculator/)

- [Surface Area Calculator](/surface-area-calculator/)

- [Square Footage Calculator](/square-footage-calculator/)

- [Quadratic Formula Calculator](/quadratic-formula-calculator/)

- [Volume Calculator](/volume-calculator/)

- [Triangle Calculator](/triangle-calculator/)

- [Circle Calculator](/circle-calculator/)

- [Stair Calculator](/stair-calculator/)

## Link to this calculator

Teacher, blogger or student? Share this free Pythagorean Theorem Calculator with your readers or class by pasting this code into your website:

---
The interactive calculator runs in the browser at https://allincalculators.com/pythagorean-theorem-calculator/
