Home › Math Calculators › Pythagorean Theorem Calculator
Find the hypotenuse or a missing leg of a right triangle.
How the calculation works
In a right triangle the square of the hypotenuse equals the sum of the squares of the other two sides. Choose whether to solve for the hypotenuse or a missing leg.
Formula used
a² + b² = c²
Example
With legs 3 and 4, the hypotenuse is 5, the area is 6 and the perimeter is 12.
About the Pythagorean theorem
The theorem
In a right triangle the square of the hypotenuse equals the sum of the squares of the other two sides, a squared plus b squared equals c squared. The hypotenuse is the longest side, opposite the right angle.
Finding a missing side
If you know both legs, the calculator finds the hypotenuse. If you know the hypotenuse and one leg, it finds the other leg. It also gives the area, perimeter and the two acute angles.
Pythagorean triples
Some whole number triples satisfy the theorem exactly, such as 3, 4, 5, 5, 12, 13 and 8, 15, 17. Builders use 3, 4, 5 to check that a corner is square.
Uses
Distances, ladders against a wall, screen sizes, roof slopes and navigation all use right triangles.
Frequently asked questions
Does this work for any triangle?
No, only right triangles.
Can the hypotenuse be shorter than a leg?
No. The hypotenuse is always the longest side.
Results are estimates for general information only and are not professional financial, medical or legal advice.
All Calculators
Every calculator on the site, in 16 categories.
💰
Financial Calculators
- Mortgage Calculator
- Loan Calculator
- Interest Calculator
- Payment Calculator
- Retirement Calculator
- Amortization Calculator
- Investment Calculator
- Inflation Calculator
- Finance Calculator
- Income Tax Calculator
- Compound Interest Calculator
- Daily Compound Interest Calculator
- Salary Calculator
- Pay Raise Calculator
- Interest Rate Calculator
- Sales Tax Calculator
- Simple Interest Calculator
- ROI Calculator
- Percent Off Calculator
- Unit Price Calculator
- Tip Calculator
📐
Math Calculators
- Scientific Calculator
- Fraction Calculator
- Improper Fraction to Mixed Number Calculator
- Long Division Calculator
- Percentage Calculator
- Percentage Change Calculator
- Discount Calculator
- Random Number Generator
- Triangle Calculator
- Rise Over Run to Degrees Calculator
- Average Rate of Change Calculator
- Standard Deviation Calculator
- Average Calculator
- Pythagorean Theorem Calculator
- Quadratic Formula Calculator
- GCD and LCM Calculator