Key Points
- Pythagorean theorem word problems always contain a right angle, and the side across from that right angle is the hypotenuse, the longest side.
- Finding the hypotenuse means adding the two leg squares, while finding a leg means subtracting the known leg square from the hypotenuse square.
- The longest straight line inside a box comes from , which is the theorem used twice in a row.
- Keeping the floor diagonal squared, instead of rounding its square root, stops a box answer from drifting off by a tenth.
A clay tablet that asked about a diagonal
A clay tablet at Yale shows a square with both of its diagonals drawn in. The side is marked 30, and the numbers on the tablet give the length of the slanted line across it. Historians date YBC 7289 to about 1800 BC to 1650 BC.
The slanted side was the hard one to measure then, and it still is. A tape runs easily along a floor, but not through the middle of a closed box.
Carpenters, wheelchair ramp designers and video game programmers all answer that same question today.

What are Pythagorean theorem word problems?
Pythagorean theorem word problems are story problems where you spot a right triangle, then use the Pythagorean theorem to find the side the story asks about. A right angle is a square corner of , and the two sides forming it are the legs. The hypotenuse is the side across from the right angle, and it is always the longest side.
In triangle with the right angle at , side sits across from .
| Symbol | Meaning | Units |
|---|---|---|
| , | the legs, the sides touching the right angle | a length, such as ft |
| the hypotenuse | the same length unit | |
| , , | areas of squares built on each side | square units |
It works because, with a square built on each side, the two leg squares hold exactly as many unit squares as the hypotenuse square. That is the "squares on the sides" model.

Common Core standard 8.G.B.7 asks 8th graders to find unknown sides "in two and three dimensions." Your child has usually just seen why the theorem is true. This standard is about using it in situations nobody has labeled.
How do you solve Pythagorean theorem word problems?
Find the right angle first, then the hypotenuse, then decide whether to add or subtract.
- Sketch the situation, even roughly (stick lines are fine).
- Mark the right angle with a small square.
- Label the hypotenuse , across from that square, and the legs and .
- If the story asks for , add: . If it asks for a leg, subtract: .
- Take the square root, which undoes squaring. Round only now, and attach the unit.
- Check the size. A leg must come out shorter than the hypotenuse.
Plenty of 8th graders grab the two biggest numbers in a story and start squaring. The sketch slows that habit down.
| Words in the problem | Math it means |
|---|---|
| "leans against a wall" | Wall and ground meet at a right angle; the ladder is . |
| "how high up the wall" | A missing leg, so subtract. |
| "walks diagonally across" | The hypotenuse, so add. |
| "corner to the opposite corner of a box" | Two steps, floor diagonal then space diagonal. |
| "will it fit" | Compare the longest diagonal with the object. |
| "fence around" | Add all three sides once the missing one is found. |
Pythagorean triples such as 3, 4, 5 and 5, 12, 13 are whole-number sides that fit the theorem, so legs of 6 and 8 give a hypotenuse of 10 with no square root. The shortcut fails once a side isn't part of a triple, and most real measurements aren't.
Try It Yourself
Drag the orange handle to stretch the bottom leg and the blue handle to raise the upright leg, and watch the square on each side change size. The readout adds the two leg squares and gives the hypotenuse, so hunt for leg pairs that make the hypotenuse a whole number.
How do you find the diagonal of a box?
Use the theorem twice: first across the floor of the box, then from that floor diagonal up to the opposite top corner. That longest line is the space diagonal, while a face diagonal only crosses one flat side.
Take a box 4 in long, 3 in wide and 12 in tall (a tall, narrow shipping box).
- Floor diagonal: , so it is .
- The 12 in edge stands straight up, so it meets the floor diagonal at a right angle.
- Space diagonal: , so it is .

Step 3 used , which is just 25 again, so the floor diagonal's square root was never needed:
Here is the space diagonal, and , and are length, width and height. The page on the diagonal of a cuboid builds the same formula with other letters. Real boxes often give a that isn't a whole number, which is where approximating irrational numbers to the nearest tenth comes in.
Face and space diagonals are easy to mix up, even for adults. In high school, this same stacking idea grows into a distance formula for points in 3D space.
Examples of Pythagorean theorem word problems
Example 1
A park is a rectangle 60 yd wide and 80 yd long. How long is the path from one corner to the opposite corner?
The edges meet at a right angle, and the path is the hypotenuse.
Taking the square root gives , which is 40 yd shorter than walking the two edges.
Example 2
A 20 ft ladder leans against a wall with its foot 5 ft from the wall. How high up the wall does it reach?
The ladder is the hypotenuse. Subtract from both sides, because subtraction undoes addition.
Taking the square root gives , shorter than the ladder, as a leg must be.
Example 3
A box is 12 in long, 9 in wide and 8 in tall. Will a thin 16 in drumstick fit inside?
The tempting move is to find the floor diagonal and stop: , so it is 15 in. That is shorter than 16 in, so the answer looks like no.
That fails because the drumstick can tilt from a bottom corner to the opposite top corner. Keep 225 and add the height squared.
Taking the square root gives , so the drumstick fits when tilted.
Example 4
A wheelchair ramp must rise 2 ft with a 1:12 slope, meaning 12 ft of ground for every 1 ft of rise. How long is the sloped surface?
The run is (a lot of ground for a small rise), and the sloped surface is the hypotenuse.
Taking the square root gives .
Example 5
A garden bed is a right triangle with a longest side of 13 ft and one shorter side of 5 ft. Find the fencing needed to go around it and its area.
The 13 ft side is the hypotenuse, so subtract.
Taking the square root gives . The perimeter is , and the area is .
Example 6
A fish tank is 30 in long, 12 in wide and 16 in tall. What is the longest straight thermometer that fits inside, to the nearest tenth?
Leave the floor diagonal squared, .
Taking the square root gives .
Why do ladders and ramps follow this rule?
Right triangles appear wherever something slanted meets something level, and safety rules are written in those terms. The theorem turns the rules into lengths you can cut, buy or place.
- Ladder angles: OSHA's construction rule, 29 CFR 1926.1053, puts a leaning ladder's foot about one-quarter of its working length from the wall, as in Example 2.
- Ramp slopes: the 2010 ADA Standards limit ramp runs to a 1:12 slope and a 30 in rise, which is why Example 4 needed 24 ft of ground.
- Square corners: the converse of the Pythagorean theorem says sides of 3, 4 and 5 must form a right angle, so marks 3 ft and 4 ft from a corner that sit 5 ft apart confirm it is square.
- Things that might not fit: without the theorem, the only way to know a rod fits a box is to try it after buying the box.
Each bullet starts with a real object and ends as a right triangle. That habit is what the 8th grade standard is after.
What most guides miss about Pythagorean theorem word problems
The hard part is finding the triangle, not the arithmetic. Most worksheets hand over a drawn triangle with two numbers, so a child can square and add without deciding where the right angle is. A story removes that crutch.
The second thing guides skip is the 3D habit. In a two-step box problem, keep the first answer squared. You never need its square root, and that single habit means a rounding error has nowhere to sneak in halfway through the problem.
Where do kids trip up on Pythagorean theorem word problems?
Mistake 1: Adding when the hypotenuse is already given
Where it slips in: Ladder and "how high" problems, as in Example 2.
Don't do this: , so the height is , taller than the 20 ft ladder itself.
The correct way: The ladder is , so subtract to get , and the height is .
Children often learn the theorem as "square and add," so the plus sign comes out on its own. Step 6 of the method catches it, because a leg can never beat the hypotenuse.

Mistake 2: Rounding the floor diagonal too soon
Where it slips in: Two-step box problems, as in Example 6.
Don't do this: Round to 32.3, then square it: , plus 256 is 1299.29, and the root is about 36.0 in.
The correct way: Keep 1044, so and .
A calculator shows as 32.310988..., and copying every digit feels messy, so rounding happens by reflex.
Mistake 3: Using the theorem with no right angle
Where it slips in: Sail, roof or ramp problems that give an angle other than .
Don't do this: A sail has sides of 6 ft and 8 ft meeting at , and makes the third side 10 ft.
The correct way: The theorem needs a angle. A angle is narrower, so the third side is shorter than 10 ft (about 8.2 ft, found with the law of cosines in high school trigonometry).
The 6 and 8 look so much like the 6, 8, 10 triple that children reach for 10 before they read the angle.
Key Takeaways
- A right triangle hides in every Pythagorean theorem word problem, and spotting its right angle comes before any squaring.
- Adding or subtracting depends only on whether the hypotenuse is the unknown or the given.
- A box's longest diagonal is two right triangles stacked, joined by a floor diagonal that can stay squared.
- Ladder and ramp rules are written as ratios, and the theorem turns those ratios into lengths.
- For more practice spotting the hidden right angle and choosing add or subtract, explore Bhanzu's 8th grade math curriculum or work with a geometry tutor.
Read More
- Distance Formula
- Hypotenuse
- Squares and Square Roots
- Rational and Irrational Numbers
- Right Triangle Formulas
Research Behind This Article
- J J O'Connor and E F Robertson, MacTutor, Pythagoras's theorem in Babylonian mathematics (2000). mathshistory.st-andrews.ac.uk
- Common Core State Standards Initiative, Grade 8, Geometry: Understand and apply the Pythagorean Theorem (2010). thecorestandards.org
- OpenStax, Prealgebra 2e, 9.3 Use Properties of Angles, Triangles, and the Pythagorean Theorem (2020). openstax.org
- Occupational Safety and Health Administration, 29 CFR 1926.1053, Ladders (2014). osha.gov
- US Department of Justice, 2010 ADA Standards for Accessible Design (2010). ada.gov
Quick Quiz: Check Yourself
Three levels, new numbers every time: find a hypotenuse from two legs, find a missing leg to the nearest tenth, then find the longest diagonal inside a box.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
Can the Pythagorean theorem be used for any triangle?
Can you solve the Pythagorean theorem with only the hypotenuse?
Do you always need to use the square root when solving these problems?
What grade do students learn the Pythagorean theorem?
How do you teach Pythagorean theorem word problems at home?
Where can my child find Pythagorean theorem practice problems with answers?




