Skip to content

Pythagorean Theorem Calculator

Find the hypotenuse or a missing leg of a right triangle with a² + b² = c², plus the area, perimeter and both acute angles — with the working shown.

  • Free, no sign-up
  • Runs in your browser
  • Reviewed Nov 8, 2026

How to use the Pythagorean Theorem Calculator

  1. Choose whether to find the hypotenuse or a leg.
  2. Enter the two sides you know.
  3. Read the missing side, area and angles.

How it works

In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: c = √(a² + b²) and a = √(c² − b²).

Worked examples

3-4-5 triangle

√(3² + 4²) = √25 = 5. Builders use 3-4-5 to check corners are square.

Frequently asked questions

Does it work for any triangle?

Only right-angled triangles. For others, use the law of cosines: c² = a² + b² − 2ab·cos C.

G

Built and reviewed by Guru G

Calculation logic is covered by automated tests against known values. Last reviewed Nov 8, 2026. Found a problem? Let us know — see our editorial policy.