Pythagorean Theorem Calculator

Find the hypotenuse or a missing leg of a right triangle, with the angles, perimeter and area calculated alongside.

Hypotenuse c 5
a² + b² = c²
Missing leg (if c was given) Not defined
Angle opposite a 36.8699 °
Angle opposite b 53.1301 °
Area 6
Perimeter 12

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Pythagorean Theorem Calculator does

Use this pythagorean theorem calculator to find the hypotenuse or a missing leg of a right triangle, with the angles, perimeter and area calculated alongside. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for checking a corner is square during construction. If you want to cross-check the result, there is another pythagorean theorem calculator on FreeToolStation.org.

How to use it

  1. Enter the two known sides.
  2. Leave the hypotenuse at zero to calculate it from the two legs.
  3. To find a missing leg instead, enter side a and the hypotenuse c.
  4. Angles, area and perimeter are calculated from whichever sides you supplied.

When to use it

  • Checking a corner is square during construction.
  • Finding a diagonal measurement for a screen, room or frame.
  • Solving right-triangle geometry problems.

Common mistakes to avoid

  • Treating a leg as the hypotenuse — the hypotenuse is always the longest side, opposite the right angle.
  • Applying the theorem to a triangle that is not right-angled; use the law of cosines instead.

Frequently asked questions

How do I find a leg instead of the hypotenuse?

Enter side a and the hypotenuse c, leaving b at zero. The missing-leg row gives √(c² − a²).

What is the 3-4-5 rule?

A right triangle with sides 3, 4 and 5 — the simplest whole-number case. Builders use multiples of it (6-8-10, 9-12-15) to check that a corner is square without a set square.

Related tools

See all math & statistics calculators →