» Pythagorean Theorem Calculator


Pythagorean theorem calculator: find hypotenuse or missing leg (a² + b² = c²). Example: a=3, b=4 → c=5. For geometry, construction, and schoolwork. Free.

Use this Pythagorean theorem calculator to find the hypotenuse or a missing leg of a right triangle. Enter any two sides and the calculator applies a² + b² = c² to find the third — works in both directions depending on which side you select.

Examples: a = 3, b = 4 → c = 5. a = 5, b = 12 → c = 13. Hypotenuse c = 10, leg a = 6 → b = 8. Missing leg formula: b = √(c² − a²). Useful for geometry homework, construction layout, carpentry, roof pitch, and any problem involving right-triangle distances. Results in metres, centimetres, inches, feet, and more.

$$a^{2}+b^{2}=c^{2}\Leftrightarrow c= \sqrt{a^{2}+b^{2}}$$

Choose, if you would like to find A, B or C and insert the other two values!
α  β  γ
Angle α -
Angle β -
Angle γ -
A  P  s
Area -
Perimeter -
Semiperimeter -
h  r  R  m
Height hc -
Inradius r -
Circumradius R -
Median ma -
Median mb -
Median mc -

Pythagorean Theorem FAQ

What is the Pythagorean theorem?
The Pythagorean theorem states that in a right triangle, a² + b² = c², where c is the hypotenuse (the longest side, opposite the right angle) and a and b are the two legs. It was proven by Pythagoras of Samos around 570–495 BC, though known earlier in Babylonian and Indian mathematics.

How do you find the hypotenuse of a right triangle?
Use c = √(a² + b²). Example: a = 3, b = 4 → c = √(9 + 16) = √25 = 5. Example: a = 5, b = 12 → c = √(25 + 144) = √169 = 13. Example: a = 8, b = 6 → c = √(64 + 36) = √100 = 10. These 3-4-5, 5-12-13, and 6-8-10 are called Pythagorean triples.

How do you find a missing leg of a right triangle?
Rearrange a² + b² = c²: use a = √(c² − b²) or b = √(c² − a²). Example: hypotenuse c = 10, one leg b = 6 → a = √(100 − 36) = √64 = 8. Example: c = 13, a = 5 → b = √(169 − 25) = √144 = 12. The calculator handles both directions.

What are Pythagorean triples?
Pythagorean triples are sets of three whole numbers satisfying a² + b² = c². Common ones: 3-4-5 (9+16=25), 5-12-13, 8-15-17, 7-24-25. Any multiple also works: 6-8-10, 9-12-15. Construction workers use the 3-4-5 rule to check right angles: measure 3 ft along one wall, 4 ft along another — the diagonal should be exactly 5 ft.

How do you use the Pythagorean theorem in construction?
Key applications: laying out right angles using the 3-4-5 rule, calculating rafter length (run and rise give the slant), diagonal bracing (a 4 m × 3 m frame needs a 5 m diagonal brace), staircase stringers (rise 18 cm, run 27 cm → stringer = √(324+729) = 32.4 cm per step). Essential for any right-angle geometry on site.

What is the angle notation like α (bc) in this calculator?
It means angle α is formed by sides b and c — that is, it sits at the vertex where sides b and c meet. Standard notation: angle α is opposite side a, angle β is opposite side b, angle γ is opposite side c. A right triangle always has one 90° angle (γ if c is the hypotenuse).

How do you find the distance between two points using Pythagoras?
Use the distance formula, which is just the Pythagorean theorem: d = √((x₂−x₁)² + (y₂−y₁)²). Example: point A(1, 2) and B(4, 6) → d = √((4−1)² + (6−2)²) = √(9+16) = √25 = 5 units. Used in navigation, GPS, maps, and coordinate geometry.

Can the Pythagorean theorem be used in 3D (three dimensions)?
Yes. The 3D version is d = √(a² + b² + c²). Example: diagonal of a box 3 cm × 4 cm × 12 cm → d = √(9+16+144) = √169 = 13 cm. First find the base diagonal: √(9+16) = 5, then √(25+144) = 13. Useful for calculating distances in 3D space, box diagonals, and computer graphics.


Ages 2–5
Free right now
Free Toddler Learning, No Ads
TeddyBase learning app for toddlers
ABC, numbers, colours, animals, time and weekdays in simple tap-and-listen lessons.
No ads No in-app purchases No data collection
Download on the App Store
Stainless steel grill tongs holding grilled meat
BBQ essential
Keep Your Hands Away From the Heat
Long stainless-steel tongs for steaks, ribs, vegetables, and hot grill food.
14 inch reach · Locking handle
See it on Amazon