AI-Powered Geometry Solver

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
4.4/5 from 35 Chrome Web Store reviews · 2,000+ users
  • Works on any screenshot — textbook, PDF, or worksheet
  • Full step-by-step solutions, not just the final answer
  • Free to start — no account needed
school-portal.com/homework-worksheet.pdf
Photo Math Solver Solved
a=3,  b=4,  c=?a = 3,\; b = 4,\; c = ?
  1. 1Both legs are known, so square and add: 32+42=9+16=253^2 + 4^2 = 9 + 16 = 25.
  2. 2Take the square root: c=25=5c = \sqrt{25} = 5.
  3. 3This is the 3-4-5 triple — worth memorising, it appears constantly.
01Definition

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: a2+b2=c2a^2 + b^2 = c^2. 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 a2+b2=c2a^2 + b^2 = c^2, such as 3-4-5 or 5-12-13.
Converse
The reversed statement: if a2+b2=c2a^2 + b^2 = c^2 holds, the triangle is right-angled.
02Formulas

The formulas you need

Keep these on hand — every method below builds on them.

The theorem
a2+b2=c2a^2 + b^2 = c^2

a and b are the legs; c is the hypotenuse, always opposite the right angle.

Finding the hypotenuse
c=a2+b2c = \sqrt{a^2 + b^2}

Both legs known — square, add, then take the square root.

Finding a leg
a=c2b2a = \sqrt{c^2 - b^2}

Hypotenuse known — subtract, do not add. The hypotenuse term is always the one being reduced.

The converse
a2+b2=c2    right trianglea^2 + b^2 = c^2 \;\Rightarrow\; \text{right triangle}

If the sum falls short the triangle is obtuse; if it overshoots, acute.

Common triples
(3,4,5),  (5,12,13),  (8,15,17),  (7,24,25)(3,4,5),\; (5,12,13),\; (8,15,17),\; (7,24,25)

Any multiple works too — 6-8-10 and 9-12-15 are both 3-4-5 scaled up.

Distance between points
d=(x2x1)2+(y2y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}

The distance formula is the theorem applied to the horizontal and vertical gaps.

03Methods

How to solve pythagorean theorem

Pick the method that fits the problem in front of you.

When to use it: Both legs are given and the unknown is the side opposite the right angle — the longest side.
  1. 1Identify the hypotenuse: it is opposite the right angle, never touching it.
  2. 2Square both legs and add them: for legs 66 and 88, 36+64=10036 + 64 = 100.
  3. 3Take the positive square root: c=100=10c = \sqrt{100} = 10.
  4. 4Sanity-check that the answer is larger than either leg — if it is not, something went wrong.
04Worked examples

Pythagorean Theorem, solved step by step

From easy to hard — pick a problem to see its full solution.

a=3,  b=4,  c=?a = 3,\; b = 4,\; c = ?
  1. 1Both legs are known, so square and add: 32+42=9+16=253^2 + 4^2 = 9 + 16 = 25.
  2. 2Take the square root: c=25=5c = \sqrt{25} = 5.
  3. 3This is the 3-4-5 triple — worth memorising, it appears constantly.

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.

05Practice

Now you try

Work each one on paper first, then check your answer.

Problem 1
a=9,  b=12,  c=?a = 9,\; b = 12,\; c = ?
Problem 2
a=?,  b=24,  c=25a = ?,\; b = 24,\; c = 25
Problem 3
a=2,  b=3,  c=?a = 2,\; b = 3,\; c = ?
Problem 4
Distance from (2,1) to (7,13)\text{Distance from } (2,1) \text{ to } (7,13)
Problem 5
Are 6,7,10 the sides of a right triangle?\text{Are } 6, 7, 10 \text{ the sides of a right triangle?}

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.

06Common mistakes

Where points get lost

Each of these shows up on real graded work — and each has a simple fix.

Adding when the hypotenuse is the known side: getting c=132+52c = \sqrt{13^2 + 5^2} 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 c2c^2 as the answer.The addition step produces a satisfying round number like 100100, which looks like a finished answer.Write the unknown as c2=c^2 = \ldots on its own line so the missing final step is visible. A hypotenuse of 100100 for legs of 66 and 88 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 (a+b)2=a2+b2(a + b)^2 = a^2 + b^2 and computing 62+82\sqrt{6^2 + 8^2} as 6+8=146 + 8 = 14.Squaring feels distributive over addition, and 1414 is quicker to produce than the real answer.Square each side separately before adding: 36+64=10036 + 64 = 100, giving 1010, not 1414. 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.

07FAQ

Frequently asked questions

Related topics

Ready to Solve Math Problems in Seconds?

No credit card required. Works in your browser. Free trial available. Learn math faster and smarter today!