← All articles
mathPythagorean theoremright trianglesgeometryAugust 13, 20265 min read

Pythagorean Theorem: How to Use It and When It Works

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

The Pythagorean theorem gives you a direct relationship between the side lengths of a right triangle. If the shorter sides have lengths a and b and the hypotenuse has length c, then a squared plus b squared equals c squared. The formula is simple, but using it correctly depends on identifying the right triangle and the hypotenuse first.

The Pythagorean theorem only applies to right triangles

A right triangle contains one angle of 90 degrees. The side opposite that right angle is the hypotenuse, and it is always the longest side. In the formula a squared plus b squared equals c squared, c must represent the hypotenuse. The letters a and b can be assigned to the other two sides in either order.

Suppose the shorter sides are 3 and 4. Squaring them gives 9 and 16, and their sum is 25. The square root of 25 is 5, so the hypotenuse is 5. This familiar 3-4-5 triangle is a quick example of the Pythagorean theorem in action.

The theorem is not a general rule for every triangle. If there is no right angle, the relationship does not hold in this simple form. Checking the angle information before calculating prevents one of the most common mistakes.

You can find either a long or short side

If the missing side is the hypotenuse, add the squares of the two shorter sides and then take the square root. For a triangle with legs 6 and 8, you calculate 36 + 64 = 100, so the hypotenuse is 10.

If the hypotenuse is known and a shorter side is missing, rearrange by subtraction. If c = 13 and one shorter side is 5, then the missing side squared is 13 squared minus 5 squared, or 169 - 25 = 144. The missing length is 12.

This is why the Pythagorean theorem is easier when you label the diagram before touching the calculator. Find the right angle, mark the hypotenuse, decide which side is missing, and then choose addition or subtraction. The structure of the triangle tells you the operation.

A quick Pythagorean theorem check

Before you finish a problem, ask:

  • Is the triangle definitely a right triangle?
  • Have I identified the hypotenuse as the side opposite the right angle?
  • Did I square each known side before adding or subtracting?
  • Did I take a square root at the end?
  • Does the answer make sense, especially compared with the hypotenuse?

The theorem is also useful in coordinate geometry. If two points differ by 3 units horizontally and 4 units vertically, those changes form the shorter sides of a right triangle. The straight-line distance between the points is the hypotenuse, so the Pythagorean theorem gives a distance of 5 units. The same idea appears in navigation, construction, and diagonal measurements. Whenever perpendicular directions create a right triangle, the theorem can connect the two component distances with the direct distance between their endpoints.

You can also use the relationship in reverse. If three side lengths satisfy the equation with the largest side as c, the triangle is a right triangle. This makes the theorem useful for checking right angles as well as finding missing lengths.

The takeaway

The Pythagorean theorem connects the three side lengths of a right triangle through a squared plus b squared equals c squared. Label the hypotenuse correctly, decide whether you are finding the hypotenuse or a shorter side, and keep the squared quantities separate until the final square root. A good diagram usually makes the calculation much easier.

Practise this

Questions from Geometry and Trigonometry

Reading about something is not the same as being able to recall it. These are real questions from the Geometry and Trigonometry unit in our Math track, answers and explanations included. The unit has 120 in total across 21 steps.

  • Fill the blankLevel 3

    1. The area of a circle is pi times the radius ____.

    • squaredcorrect
    • cubed
    • doubled
    • halved

    Area of a circle is pi x r^2, so you square the radius.

  • Put in orderLevel 3

    2. Put the steps for finding a hypotenuse with the Pythagorean theorem in the correct order.

    Answer: Square each leg -> Add the two squares -> Take the square root

    You square both legs, add them, then take the square root to get the hypotenuse.

  • Match the pairsLevel 3

    3. Match each trig ratio to its definition.

    Answer: Sine = opposite / hypotenuse; Cosine = adjacent / hypotenuse; Tangent = opposite / adjacent

    These are the three ratios in SOHCAHTOA.