UnitCompiler
⊿

Pythagorean Theorem Calculator

Solve for hypotenuse (c) or leg (a, b), triangle angles, perimeter, and area.

Pythagorean Theorem Calculator (a² + b² = c²)

Solve for hypotenuse or missing leg, right triangle angles, area, and perimeter.

⊿
Solve For:
Pythagorean Triples:
Hypotenuse (c)
5
c = √(3² + 4²) = √(9 + 16) = √25 = 5
Area
6 sq units
Perimeter
12 units
Angle α (deg)
36.87°
Angle β (deg)
53.13°

Pythagorean Theorem Overview

a² + b² = c²  ⟹  c = √(a² + b²)  |  a = √(c² - b²)

The Pythagorean theorem states that in any right-angled triangle, the square of the length of the hypotenuse (c) is equal to the sum of the squares of the lengths of the other two legs (a and b).

How This Calculation Works

The Pythagorean Theorem relates the two perpendicular legs a and b of a right-angled triangle to its longest side, the hypotenuse c (opposite the 90° angle). Beyond solving missing triangle sides, its algebraic form underlies Cartesian Euclidean distance, vector magnitude, and trigonometric angle calculations.

Core Formulas & Identities

Hypotenuse Formula
c = √(a² + b²)
Missing Leg Formula
a = √(c² − b²) (where c > a, b)
Right Triangle Area & Angles
Area = ½ · a · b | α = arctan(a / b)

Variable Legend:a and b are the two shorter perpendicular legs; c is strictly the hypotenuse opposite the 90° right angle.

Step-by-Step Worked Examples

Example1

Classic 3–4–5 Triangle: a = 3, b = 4

  1. Square both legs: 3² + 4² = 9 + 16 = 25.
  2. Take principal square root: √25 = 5.
  3. Check acute angles: 36.87° and 53.13° (sum = 90°).
Result:c = 5, Area = 6
Example2

Find Leg b when Hypotenuse c = 10 and Leg a = 6

  1. Subtract known leg square from c²: 10² − 6² = 100 − 36 = 64.
  2. Extract root: b = √64 = 8.
  3. Compute perimeter: 6 + 8 + 10 = 24.
Result:b = 8

Practical Applications & Accuracy Tips

  • Remember hypotenuse c must always exceed either leg individually; if c ≤ a, no real right triangle exists.
  • Scaling integer Pythagorean triples like (3,4,5) or (5,12,13) provides quick carpentry squaring checks.
  • For non-right triangles with angle γ ≠ 90°, generalize using the Law of Cosines: c² = a² + b² − 2ab·cos(γ).