🌐 EN

📐 Pythagorean Theorem Calculator

Find a missing side of a right triangle from its other two sides.

Result
—
Formula Used
—

Inputs and checks

  • Choose Hypotenuse, Side a, or Side b as the unknown. The unknown side’s input is hidden.
  • Enter two known positive lengths in the same unit; number fields use steps of 0.01.
  • Changing the selected side or a known length calculates immediately. There is no Calculate button.

Reading the result

  • The missing length is shown to four decimal places with a calculation line; no unit suffix is added.
  • When finding a leg, the hypotenuse must be greater than the other known leg, or dashes appear.
  • This assumes a right triangle. It does not calculate angles, area, or arbitrary triangles.

Examples

Find hypotenuse from 3 and 4

Input
Select Hypotenuse; a = 3, b = 4.
Result
5.0000; c = √(a² + b²) = √(3² + 4²) = 5.0000.
How to check it
3² + 4² = 25, and √25 = 5.

Find side a from 5 and 13

Input
Select Side a; b = 5, c = 13.
Result
12.0000; a = √(c² - b²) = √(13² - 5²) = 12.0000.
How to check it
13² - 5² = 144, and √144 = 12.

Frequently asked questions

Which side is the hypotenuse?
It is the longest side, opposite the right angle.
Why must c be longer when solving for a leg?
In a right triangle the hypotenuse is longer than either leg.
Can this test whether any three sides make a right triangle?
No. Select one unknown side and enter only the other two.