Pythagorean Theorem Calculator

Find the missing side of a right triangle

Find the hypotenuse or a missing leg of a right-angled triangle with the Pythagorean theorem, plus its area, perimeter and angles.
Share
Try an example:
Your result will appear here as you type.

About Pythagorean Theorem Calculator

Formula

a² + b² = c²

Worked examples

Legs 3 and 4

c = √(9 + 16) = √25 = 5. Area 6, perimeter 12, angles 36.87° and 53.13°.

How it works

  1. In a right triangle, a² + b² = c², where c is the side opposite the right angle.
  2. Missing hypotenuse: c = √(a² + b²). Missing leg: a = √(c² − b²).

What you need

  • Any two sides of a right-angled triangle.

Tips

  • 3-4-5, 5-12-13 and 8-15-17 are common whole-number (Pythagorean) triples.
  • Builders use 3-4-5 to check a corner is square.

Limitations

  • Only for right-angled triangles - use the Triangle Calculator for others.

Runs in your browser. Calculations run in your browser - nothing you enter is sent anywhere.

Definitions

Hypotenuse
The longest side, opposite the right angle.
Legs
The two sides that form the right angle.

Frequently asked questions

Does it work in any unit?+

Yes - use the same unit for every side and the answer is in that unit.

Was this calculator helpful?