Solve Pythagorean Theorem Problems Step by Step
Screenshot any right triangle and get the substitution, the square root, and the missing side — hypotenuse or leg.
Try for free- Works on any screenshot — textbook, PDF, or worksheet
- Full step-by-step solutions, not just the final answer
- Free to start — no account needed
- 1Both legs are known, so square and add: .
- 2Take the square root: .
- 3This is the 3-4-5 triple — worth memorising, it appears constantly.
What is the Pythagorean theorem?
The Pythagorean theorem says that in any right triangle, the squares of the two shorter sides add up to the square of the longest side: . The two shorter sides are the legs, the one opposite the right angle is the hypotenuse, and it is always the longest.
The word "squares" is literal. Build a square on each side of a right triangle and the two smaller squares have exactly the same combined area as the big one — that is the picture the algebra is describing, and it is why the theorem only works when there is a right angle.
It runs in both directions. Given two sides you can find the third; given all three sides you can test whether the triangle is right-angled at all — that reverse use is called the converse, and it is where the 3-4-5 and 5-12-13 triples come from.
Where you'll actually use this
- Ladder safety: a 10 m ladder with its base 6 m out reaches exactly 8 m up the wall.
- Checking a room or foundation is square by measuring 3 m, 4 m, and confirming the diagonal is 5 m.
- TV and monitor sizing: a screen advertised as 55" is the diagonal, recovered from width and height.
- Navigation and GPS: straight-line distance from east–west and north–south displacements.
- Roof pitch and staircase stringers: rise and run give the rafter or stringer length directly.
- Hypotenuse
- The side opposite the right angle — always the longest side of a right triangle.
- Leg
- Either of the two shorter sides that meet at the right angle.
- Pythagorean triple
- Three whole numbers satisfying , such as 3-4-5 or 5-12-13.
- Converse
- The reversed statement: if holds, the triangle is right-angled.
The formulas you need
Keep these on hand — every method below builds on them.
a and b are the legs; c is the hypotenuse, always opposite the right angle.
Both legs known — square, add, then take the square root.
Hypotenuse known — subtract, do not add. The hypotenuse term is always the one being reduced.
If the sum falls short the triangle is obtuse; if it overshoots, acute.
Any multiple works too — 6-8-10 and 9-12-15 are both 3-4-5 scaled up.
The distance formula is the theorem applied to the horizontal and vertical gaps.
How to solve pythagorean theorem
Pick the method that fits the problem in front of you.
- 1Identify the hypotenuse: it is opposite the right angle, never touching it.
- 2Square both legs and add them: for legs and , .
- 3Take the positive square root: .
- 4Sanity-check that the answer is larger than either leg — if it is not, something went wrong.
Pythagorean Theorem, solved step by step
From easy to hard — pick a problem to see its full solution.
- 1Both legs are known, so square and add: .
- 2Take the square root: .
- 3This is the 3-4-5 triple — worth memorising, it appears constantly.
- 1Square and add: .
- 2.
- 3This is 3-4-5 doubled — spotting the scaled triple skips the arithmetic entirely.
- 1The hypotenuse is known, so this is a subtraction problem: .
- 2Subtract from both sides: .
- 3, which is smaller than as required ✓.
- 1Square and add: .
- 2, which does not simplify — has no square factor.
- 3Leave it exact as , or give if the question asks for a decimal.
- 1The ladder is the hypotenuse (), the ground distance is one leg (), the wall height is the unknown leg.
- 2Substitute: , so .
- 3Subtract: , so m.
- 1Test the converse using as the candidate hypotenuse, since it is longest.
- 2Sum of the squares of the shorter sides: .
- 3Square of the longest side: . They match, so yes — it is right-angled.
- 1A rectangle’s diagonal cuts it into two right triangles with the sides as legs.
- 2Apply the theorem: .
- 3The diagonal is — another 3-4-5 multiple.
Try it on your own pythagorean theorem homework
Photo Math Solver reads a right-triangle problem straight from a screenshot — a labelled diagram, a word problem about a ladder, a distance question on a grid — and shows the full Pythagorean working: which side is the hypotenuse, the substitution into $a^2 + b^2 = c^2$, and the square root at the end. No mistyping squares into a calculator and no guessing whether to add or subtract.

Now you try
Work each one on paper first, then check your answer.
Stuck on your pythagorean theorem homework? Screenshot it
Right-triangle problems put half the information on the diagram — side labels, the little square marking the right angle, which side is opposite it. Screenshot the whole figure with Photo Math Solver rather than retyping the numbers, and the solution identifies the hypotenuse for you before substituting.
Where points get lost
Each of these shows up on real graded work — and each has a simple fix.
| The mistake | Why it happens | The fix |
|---|---|---|
| Adding when the hypotenuse is the known side: getting for a missing leg. | The formula is memorised as "square, add, square root" as a single procedure, without checking which side is unknown. | Ask first: is the unknown the longest side? If yes, add. If the hypotenuse is already given, subtract — the answer has to come out smaller than the hypotenuse. |
| Forgetting the square root and reporting as the answer. | The addition step produces a satisfying round number like , which looks like a finished answer. | Write the unknown as on its own line so the missing final step is visible. A hypotenuse of for legs of and is obviously far too long. |
| Applying the theorem to a triangle that has no right angle. | The problem gives three convenient numbers and the theorem is the most familiar tool available. | Look for the right-angle square in the diagram or the words "right triangle" in the text. Without a right angle you need the law of cosines instead. |
| Assuming and computing as . | Squaring feels distributive over addition, and is quicker to produce than the real answer. | Square each side separately before adding: , giving , not . The hypotenuse is always shorter than the two legs combined. |
| Picking the wrong side as the hypotenuse in a rotated diagram. | The hypotenuse is remembered as "the bottom one" or "the slanted one", which stops being true once the figure is turned. | Find the right angle first, then take the side that does not touch it. That side is the hypotenuse no matter how the triangle is drawn. |
Photo Math Solver shows every intermediate step, so slips like these are easy to catch before they cost you marks.
Frequently asked questions
Related topics
Every plane-shape formula, plus composite figures and working backwards from a known area.
Surface Area and VolumePrisms, cylinders, cones, pyramids and spheres — including reverse problems and slant-height traps.
Similar TrianglesScale factors and proportions, the AA/SSS/SAS tests, and the area ratio that catches people out.
Right Triangle TrigonometrySOHCAHTOA for missing sides and inverse functions for missing angles, including elevation and depression.