Pythagorean Theorem Calculator
Solve a²+b²=c² for right triangles.
About this tool
Enter any two sides of a right triangle and leave the third at 0 to find the missing one. Legs 5 and 6 give a hypotenuse of 7.81025.
How to use
How it works
In a right triangle the square of the hypotenuse equals the sum of the squares of the legs. To find a leg, subtract: a = √(c² − b²). Whole-number triples such as 3-4-5, 5-12-13 and 8-15-17 are called Pythagorean triples.
a² + b² = c²
Worked example
A non-triple pair of legs
- Input
- a = 5, b = 6
- Output
- c = 7.81025
- Walkthrough
- 25 + 36 = 61, and √61 = 7.81025.
Limitations
- Exactly two sides must be given; entering all three returns an error.
- The hypotenuse must be the longest side.
Questions
What is c if a = 3 and b = 4?
What is the missing leg if the other leg is 12 and the hypotenuse is 13?
What is the hypotenuse for legs 5 and 6?
Features
- Solves for any side
- Instant
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
The essence of calculus
3Blue1Brown
Visual calculus story that complements symbolic solvers.
Watch on YouTubeVectors | Essence of linear algebra
3Blue1Brown
Linear algebra intuition for matrix and vector tools.
Watch on YouTube
- Math is Fun
Math is Fun
Clear explainers that pair well with calculator-style tools.
- OpenStax Math
OpenStax
Free textbooks for algebra through calculus.