esc
Calculators

Pythagorean theorem calculator:
a² + b² = c², with steps

Type two sides of a right triangle and get the third, squared and summed step by step, or type three sides to test whether the angle between the shorter two is exactly 90°.

Hypotenuse c13c = √(a² + b²) = √(25 + 144)
c²
169
Steps
5² + 12² = 25 + 144 = 169
Pythagorean triple (whole numbers)
Yes
  • a² + b² = c² holds only for right triangles, where c is the side opposite the right angle.

How to use Pythagorean theorem calculator

  1. 01Choose what to findHypotenuse, leg, or a check.
  2. 02Type the known sidesAny unit.
  3. 03Follow the stepsSquares, sum, square root.
File character arranging marked pages

The square on the hypotenuse.

In a right triangle the square of the hypotenuse equals the sum of the squares of the two legs. So c = √(a² + b²), and a missing leg is √(c² − a²). Turned around, three sides form a right triangle exactly when the two shorter ones squared add up to the longest squared; if the sum is bigger the triangle is acute, if smaller it is obtuse.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What is the hypotenuse when the legs are 5 and 12?

5² + 12² = 25 + 144 = 169 and √169 = 13. Because all three are whole numbers, 5-12-13 is a Pythagorean triple.

How do I find a missing leg?

Subtract instead of add: with a hypotenuse of 17 and a leg of 8, the other leg is √(17² − 8²) = √(289 − 64) = √225 = 15.

How do builders use this to check a corner?

The 3-4-5 rule: mark 3 units along one wall and 4 along the other. If the diagonal between the marks is exactly 5, the corner is square. 6-8-10 works the same way for larger rooms.

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.