Hypotenuse Calculator

Find the hypotenuse of a right triangle from its two legs.

Leave empty if unknown

Leave empty if unknown

Try

Result

You entereda=1, b=2a = 1,\ b = 2

c=5≈2.236068\displaystyle c = \sqrt{5} \approx 2.236068
Show the work
  1. Pythagorean theorem

    In a right triangle the square of the hypotenuse cc, the side opposite the right angle, equals the sum of the squares of the other two sides. Here a=1a = 1 and b=2b = 2.

    c2=a2+b2=12+22=1+4=5\begin{aligned} c^2 &= a^2 + b^2 \\ &= 1^2 + 2^2 \\ &= 1 + 4 \\ &= 5 \end{aligned}
  2. Take the square root

    A length is positive, so take the positive square root of c2c^2. Here 55 is not a perfect square, so the root is simplified and a decimal is given beside it.

    c=5≈2.236068c = \sqrt{5} \approx 2.236068
  3. Result

    So the hypotenuse is c=5≈2.236068c = \sqrt{5} \approx 2.236068.

Worked examples