Pythagorean Theorem Calculator
Find the missing side with a² + b² = c²
By Team Vind · Updated · How we check
Quick answer: In a right-angled triangle, a² + b² = c², where c is the hypotenuse: sides 3 and 4 give a hypotenuse of 5.
Example: Find: Hypotenuse c; Leg a: 6; Leg b: 8. This gives Hypotenuse c: 10.
- 1Choose the missing sideHypotenuse or a leg
- 2Enter the other twoAny length unit
- 3See the answerWith every step written out
What is the Pythagorean theorem?
In any right-angled triangle, the square on the hypotenuse equals the sum of the squares on the other two sides.
a² + b² = c²
c = √(a² + b²)
a = √(c² − b²)
Checking a right angle on site
Builders use the 3-4-5 rule: mark 3 m along one wall and 4 m along the other. If the diagonal between the marks is exactly 5 m, the corner is a perfect right angle.
Pythagorean triples
Some right triangles have whole-number sides: 3-4-5, 5-12-13, 8-15-17 and 7-24-25. Any multiple of a triple, such as 6-8-10, is a triple too.
Related calculators
Frequently asked questions
What is the Pythagorean theorem?
In a right triangle, a² + b² = c², where c is the hypotenuse (the side opposite the right angle) and a and b are the other two sides.
Does it work for every triangle?
No, only for right-angled triangles. For other triangles use the law of cosines, which our Triangle Calculator applies.
How do I find a leg if I know the hypotenuse?
Subtract the square of the known leg from the square of the hypotenuse, then take the square root: a = √(c² − b²).
How do I find side b with the Pythagorean theorem?
b = √(c² − a²). With hypotenuse 13 and side 5, b = √(169 − 25) = 12.
Related guides
- NumbersHow to Calculate Percentage: 3 Formulas and Quick TricksThe three types of percentage question, mental shortcuts, a fraction table and the reverse percentage.4 min read · Updated 12 October 2026
- StudentsSGPA to CGPA: How to Calculate It with CreditsThe credit-weighted formulas for SGPA and CGPA, a worked grade card, and the SGPA needed for a target.4 min read · Updated 12 October 2026
- StudentsGPA on the 4.0 Scale: A Guide for Indian StudentsThe 4.0 scale, how GPA is calculated, why Indian marks don't convert directly, and what to report.4 min read · Updated 12 October 2026
Sources
Last reviewed: 15 October 2026

