Guide

Pythagoras' theorem: finding a shorter side

By Viktor Lassen3 min readUpdated 3 September 2026

Sometimes you know the hypotenuse and one shorter side, and it is the other shorter side you are missing. Then you rearrange Pythagoras' theorem for it first, exactly like getting x on its own in an equation.

Sometimes we find that it is not cc we have to find, but maybe aa or bb when we use Pythagoras' theorem. The formula is built for finding the hypotenuse, so when we want one of the shorter sides instead, we have to move things around in it first. That one extra step is the whole difference from the usual case.

When do I use this?

You use this when you have a right-angled triangle, you know the hypotenuse (the side opposite the right angle) and one of the shorter sides, and it is the other shorter side you are missing. If it is the hypotenuse you are missing, the formula works as it stands, and that case is in the guide on finding the hypotenuse.

It could look like this:

A right-angled triangle where the hypotenuse is 5 and one shorter side is 4. What is b?

Here we actually have aa and cc, and have to find bb.

The procedure

Our formula, as we know, looks like this:

a2+b2=c2a^2 + b^2 = c^2

It is made to find cc, because cc stands alone. So we have to move things around a bit so it is bb that is on its own.

If we look at it as an equation, we can, after all, get bb on its own by simply subtracting a2a^2 on both sides:

b2=c2−a2b^2 = c^2 - a^2

Smart, isn't it? Now we suddenly have Pythagoras' theorem, but rearranged for bb instead. All we did was get bb on its own in Pythagoras' theorem, exactly like we get xx on its own in an equation. From here the steps are the same as always:

  1. Insert the hypotenuse in place of cc and the known shorter side in place of aa.
  2. Work out the two squares and subtract.
  3. Take the square root on both sides to get bb and not b2b^2.

Worked example

Now we can insert our values in the rearranged formula:

b2=52−42b^2 = 5^2 - 4^2

That becomes:

b2=25−16b^2 = 25 - 16

b2=9b^2 = 9

So b2b^2 is 99, but we are not interested in b2b^2, only bb. So we remove the squared again, and we do that by taking the square root:

b2=9\sqrt{b^2} = \sqrt{9}

b=9b = \sqrt{9}

b=3b = 3

So the side length bb is 33.

We can check this is right, because we know the triangle from the guide on finding the hypotenuse: the sides 33 and 44 gave a hypotenuse of 55. Here we went the other way, from 55 and 44 back to 33, and landed on the same triangle.

When we do not have to find cc, but aa or bb instead, we can simply rearrange for the side length, exactly like we get xx on its own in an equation, and then insert our values, as we normally do.

Common mistakes

  • Adding the squares as usual. If you add 52+425^2 + 4^2 you get 4141, and 41\sqrt{41} is longer than the hypotenuse, which cannot be right. When a shorter side is missing, the formula has to be rearranged first: b2=c2−a2b^2 = c^2 - a^2.
  • Subtracting the wrong way round. It is always the hypotenuse squared minus the known shorter side squared. The hypotenuse is the long side, so c2c^2 is the biggest number and comes first.
  • Forgetting the square root. b2=9b^2 = 9 is not the answer. The side is b=9=3b = \sqrt{9} = 3. Same slowdown point as when you find the hypotenuse.
  • Mixing up which side is the hypotenuse. The hypotenuse is the side opposite the right angle. Find it on the drawing before you put anything into the formula, because it is the only side that may take the place of cc.

Frequently asked questions

Read next

Want to get good at maths?

Mathara explains every topic step by step with videos, exercises and personal feedback.

👉 Get started for free