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=5, c=13a = 5,\ c = 13

b=12\displaystyle b = 12
Show the work
  1. Pythagorean theorem

    In a right triangle the square of the hypotenuse cc equals the sum of the squares of the other two sides, so a leg is found by subtracting the square of the known leg from c2c^2. Here c=13c = 13 and a=5a = 5.

    b2=c2−a2=132−52=169−25=144\begin{aligned} b^2 &= c^2 - a^2 \\ &= 13^2 - 5^2 \\ &= 169 - 25 \\ &= 144 \end{aligned}
  2. Take the square root

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

    b=144=12\begin{aligned} b &= \sqrt{144} \\ &= 12 \end{aligned}
  3. Result

    So the missing side is b=12b = 12.

Worked examples