Pythagorean theorem word problems are translation problems before they are calculation problems. The story rarely hands you a labeled right triangle. Your first job is to find two perpendicular directions, draw the triangle, and decide whether the missing length is a leg or the hypotenuse.
For a right triangle with legs and and hypotenuse :
The hypotenuse is always opposite the right angle and is always the longest side. That one identification determines whether you add two squares or subtract one square from another.
How to recognize a Pythagorean word problem
Look for a situation that contains a right angle, even if the words never say “right triangle.” Common clues include:
- a vertical wall meeting level ground;
- the length and width of a rectangle;
- movement north or south followed by movement east or west;
- a square or rectangular field and its diagonal;
- a pole, cable or ramp perpendicular to the ground.
A diagonal alone is not enough. The theorem applies only when the three relevant lengths form a right triangle. The Khan Academy Pythagorean theorem unit also separates ordinary applications from multi-step problems, which is a useful reminder to identify the triangle before calculating.
Use this five-step routine:
- Sketch the situation. A rough drawing is enough.
- Mark the right angle. If you cannot justify one, do not use the theorem yet.
- Label the known sides and the unknown. Include units.
- Identify the hypotenuse. It lies across from the right angle.
- Write the equation before substituting. Solve, attach units and check whether the result is reasonable.
Which form of the formula should you use?
| Missing side | Setup | What to do |
|---|---|---|
| Hypotenuse | Add the squared legs, then take the square root | |
| Leg | Subtract the known leg’s square from the hypotenuse’s square | |
| Leg | Subtract the known leg’s square from the hypotenuse’s square |
Never write and guess which side is which. Labeling the hypotenuse first prevents the most common setup error.
Worked example 1: ladder against a wall
Problem: A ladder leans against a vertical wall. Its base is from the wall. How high up the wall does the ladder reach?
The wall and ground are perpendicular, so they are the legs. The ladder is opposite the right angle, so it is the hypotenuse.
Let be the height:
Answer: The ladder reaches up the wall.
Check: , so the leg is shorter than the hypotenuse. The values also form the familiar –– right triangle.
Worked example 2: television screen diagonal
Problem: A screen is wide and high. What is its diagonal size to the nearest tenth of an inch?
The width and height meet at a right angle. The advertised screen size is the diagonal, so we are finding the hypotenuse .
Answer: The screen diagonal is approximately .
The exact value is . Rounding belongs at the end, after the square root—not after squaring the side lengths.
Worked example 3: shortest path across a field
Problem: A rectangular sports field is long and wide. How much shorter is a straight diagonal walk than walking along two sides from one corner to the opposite corner?
First find the diagonal :
Walking along two sides takes:
The saving is:
Answer: The diagonal route is shorter.
This is a two-part question. Finding the diagonal is not the final answer because the story asks for the difference between two routes.
Worked example 4: north-and-east navigation
Problem: A hiker walks east and then north. How far is the hiker from the starting point in a straight line?
East and north are perpendicular directions, so the two stages form the legs. The straight-line displacement is the hypotenuse .
Answer: The hiker is from the starting point.
Do not add . That gives the distance walked, , not the straight-line distance from start to finish.
Worked example 5: finding a missing leg
Problem: A support cable is long and runs from the top of a vertical pole to a point from the pole’s base. How tall is the pole?
The cable is the hypotenuse. Let be the pole’s height:
Answer: The pole is tall.
Notice the subtraction. When the missing side is a leg, subtract the known leg’s square from the hypotenuse’s square.
When the Pythagorean theorem does not apply
Do not use merely because you see three lengths. You need a right angle. If a triangle is not right, another method—such as the law of cosines—may be required.
The converse can test whether three side lengths form a right triangle. Put the longest length in the position and compare:
- if , the triangle is right;
- if , it is acute;
- if , it is obtuse.
That is a classification test, not permission to call the longest side a hypotenuse before you establish a right angle.
Common mistakes and quick checks
Calling the unknown side
is the hypotenuse, not automatically the unknown. An unknown leg should still be labeled , or another variable.
Forgetting the final square root
If , the diagonal is , not . Check the unit too: the side length is in inches, not square inches.
Rounding too early
Keep the square root in the calculator until the last step. Early rounding can noticeably change a multi-step answer.
Answering the calculation instead of the question
A problem may ask for time saved, remaining cable, perimeter or the difference between two routes. Reread the final sentence after you find the missing side.
Trusting a diagram’s scale
Geometry diagrams are often not drawn to scale. Use the stated lengths and right-angle marks, not visual measurement. The same rule matters in triangle congruence proofs and circle theorem problems.
Try these three problems
- A rectangular garden is by . Find its diagonal.
- A ramp rises . How long is its horizontal run?
- A boat travels south and west. How far is it from its starting point?
Answers
- .
- .
- .
For a problem that begins as a photo or screenshot, SolveTap’s free geometry solver from a picture can identify the right triangle and explain the setup. Use the explanation to check which side is the hypotenuse, then solve the next example without assistance.
Frequently asked questions
How do I know whether to add or subtract?
Add when the missing side is the hypotenuse: . Subtract when the hypotenuse and one leg are known and the other leg is missing: .
Can the Pythagorean theorem find an angle?
No. It relates the three side lengths of a right triangle. Use sine, cosine or tangent to find an unknown acute angle once the needed side lengths are known.
Does the theorem work for every triangle?
No. It applies only to right triangles. The law of cosines is the more general side-and-angle relationship for non-right triangles.
Should I give an exact answer or a decimal?
Follow the question. If no rounding instruction is given, an exact radical such as is often preferred. For a real-world measurement, a sensible decimal with units is usually expected.


