You use the Pythagorean theorem whenever a right triangle (one angle is 90°) is hiding in the problem and you need a missing side length.

When Do We Use the Pythagorean Theorem?

The Pythagorean theorem says that in a right triangle:

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

where aaa and bbb are the legs and ccc is the hypotenuse (the side opposite the right angle).

You use it when:

  • There is a right angle in the picture or description.
  • You know two side lengths and want the third.
  • The situation can be turned into a right triangle, even if it doesn’t look like a triangle at first (like diagonals, distances on a grid, ladders against walls, etc.).

1. Classic use: right triangles

Whenever a problem literally shows or says “right triangle,” “90°,” or has a square at the corner, you can think about using the Pythagorean theorem.

Typical uses:

  • Find the hypotenuse:
    If the legs are 3 and 4, then c2=32+42=9+16=25c^2=3^2+4^2=9+16=25c2=32+42=9+16=25, so c=5c=5c=5.
  • Find a missing leg:
    If the hypotenuse is 13 and one leg is 5, then 52+b2=132⇒b2=169−25=1445^2+b^2=13^2\Rightarrow b^2=169-25=14452+b2=132⇒b2=169−25=144, so b=12b=12b=12.

You do not use it if the triangle is not right-angled; in that case other rules (like the cosine rule) are needed.

2. Diagonals of rectangles, squares, and doors

Any rectangle or square hides a right triangle in its diagonal.

You can use the theorem to find:

  • The diagonal of a rectangle or screen (TV size, phone, laptop):
    If a screen is 9 cm tall and 16 cm wide, the diagonal is 92+162=81+256=337\sqrt{9^2+16^2}=\sqrt{81+256}=\sqrt{337}92+162​=81+256​=337​.
  • The diagonal of a square (like floor tiles or a picture frame):
    If each side is sss, the diagonal is s2+s2=s2\sqrt{s^2+s^2}=s\sqrt{2}s2+s2​=s2​.
  • Whether furniture fits through a door:
    Compare the table’s longest side to the door’s diagonal , found with the theorem.

These are all “hidden right triangle” problems: the diagonal and two sides form a right triangle.

3. Distance between two points (navigation, maps, grids)

If you move horizontally and vertically, your path makes a right triangle. The straight-line distance between the start and end is the hypotenuse.

You use the theorem to:

  • Find straight-line distance on a coordinate grid:
    From (x1,y1)(x_1,y_1)(x1​,y1​) to (x2,y2)(x_2,y_2)(x2​,y2​), you get the distance formula

d=(x2−x1)2+(y2−y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}d=(x2​−x1​)2+(y2​−y1​)2​

which is just the Pythagorean theorem in disguise.

  • Word problems with directions:
    Two hikers walk south and west from the same point; your horizontal and vertical movements are legs of a right triangle, so you use the theorem to find how far apart they are.
  • Simple 2D navigation (planes, ships, GPS approximations on small scales): they often approximate the path as a right triangle on a flat map.

4. Real-world engineering and design

Professionals use the Pythagorean theorem whenever they need exact straight- line lengths in right-angled setups.

Examples:

  • Construction and architecture:
    • Checking whether a corner is a true right angle by measuring sides and diagonal.
    • Finding the length of rafters, supports, or bracing beams in structures.
  • Computer graphics and design:
    • Computing the distance between two points on a screen.
    • Determining the length of a vector from its horizontal and vertical components.
  • Technology (like facial recognition):
    Distances between feature points (eyes, nose, mouth) often use repeated Pythagorean distance calculations.

In all these, there’s a right angle and two perpendicular directions (x and y), and the direct distance is the hypotenuse.

5. When you cannot use it

Knowing when it does not apply is just as important:

  • The triangle does not have a right angle.
  • You don’t know at least two side lengths.
  • The angle involved is not clearly 90°, and you can’t reasonably create a right triangle from the situation.

In those cases, you need other tools (like trigonometry or the cosine rule).

6. Simple checklist you can use

Whenever you’re stuck, ask:

  1. Can I see or create a right angle in this situation?
  1. Do I know any two sides of a right triangle formed here?
  1. Is the quantity I’m asked for a straight-line distance (like a diagonal or shortest path)?

If you can answer “yes” to those, it’s probably a Pythagorean theorem problem.

Example story to make it concrete

Imagine you’re helping a friend move a big table: the table is 1.8 m by 0.9 m, the door is 2 m tall and 0.8 m wide. You’re not sure if you can tilt the table so it goes diagonally. The door’s diagonal is

22+0.82=4+0.64=4.64≈2.15 m\sqrt{2^2+0.8^2}=\sqrt{4+0.64}=\sqrt{4.64}\approx 2.15\text{ m}22+0.82​=4+0.64​=4.64​≈2.15 m

The table’s longest side is 1.8 m, which is less than 2.15 m, so it will fit diagonally through the door.

That “Will it fit?” moment is exactly when you use the Pythagorean theorem.

SEO-style notes for your post

  • Main focus keyword to repeat naturally: “when do we use the Pythagorean theorem”.
  • Other phrases you can sprinkle in: “right triangle problems”, “finding diagonals with the Pythagorean theorem”, “distance formula from the Pythagorean theorem”, “real-life uses of the Pythagorean theorem”.
  • Keep paragraphs short and use bullet lists for situations where the theorem is used, just like above, to keep readability high.

Information gathered from public forums or data available on the internet and portrayed here.