Pythagorean Theorem Calculator

Find the third side of a right triangle from the other two.

Leave empty if unknown

Leave empty if unknown

Leave empty if unknown

Try

Result

You entereda=3, b=4a = 3,\ b = 4

c=5\displaystyle c = 5
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=3a = 3 and b=4b = 4.

    c2=a2+b2=32+42=9+16=25\begin{aligned} c^2 &= a^2 + b^2 \\ &= 3^2 + 4^2 \\ &= 9 + 16 \\ &= 25 \end{aligned}
  2. Take the square root

    A length is positive, so take the positive square root of c2c^2. Here 2525 is a perfect square, so the root is exact.

    c=25=5\begin{aligned} c &= \sqrt{25} \\ &= 5 \end{aligned}
  3. Result

    So the hypotenuse is c=5c = 5.

Worked examples