Try it with your numbers
Show every step
The problems on this page run from one-step arithmetic to algebra, coordinates and 3D boxes, and each comes with a worked solution. The explanations focus on the places where points are actually lost, and the full lesson on the Pythagorean theorem is there if you want the basics first.
How do you solve Pythagorean theorem practice problems?
Every problem comes down to five moves, and the order matters more than the arithmetic. Most lost points come from the first and fourth moves, not from squaring or square roots.
- Find the right angle and label the side opposite it . That is the hypotenuse. Do this before reading any numbers, because the letters in a diagram rarely match the formula.
- Write with the known values in place and a letter for the unknown.
- Square each known number.
- Add if the unknown is the hypotenuse. Subtract if the unknown is a leg.
- Take the square root, then simplify or round as the question asks.
Here is the whole process on legs and :
The radical stays as because has no perfect-square factor. Remember that the theorem only describes right triangles, so first confirm that you have one. The page on types of triangles shows how to spot the right angle, including when it is only implied by perpendicular sides or a rectangle’s corner.
Quick check
Answer:
Why does the Pythagorean theorem work?

The whole theorem comes from comparing one area in two ways. Draw a big square with side . Place four copies of your right triangle inside it, one in each corner, so the leftover space in the middle is a tilted square with side .
The big square’s area is . It also equals the four triangles plus the tilted square:
, and are literally the areas of squares built on each side. Any similar shape works, so semicircles on the three sides also have areas that add up the same way.
This is why the formula squares lengths instead of adding them: lengths add along a line, but the theorem balances areas, which is why the area of a square shows up at its heart. There are over a hundred proofs, and a few of the cleanest are collected in the proofs of the Pythagorean theorem.
How do you find a missing leg without adding by mistake?

When a hypotenuse is given, the unknown is a leg and the equation rearranges to . The trap: the formula is printed as a sum, so tired students add anyway and get a “leg” longer than the hypotenuse. A leg can never be longer than the hypotenuse, so one glance at the answer catches this.
Take a hypotenuse of and a leg of :
The result is less than , so it passes the sanity check. To simplify a radical quickly, pull out the largest perfect square, here .
There is also a faster route that skips big squares. Since , the same problem becomes in your head. With hypotenuse and leg you get , so the other leg is with almost no writing.
Pythagorean triples: the fastest way to check practice answers
A Pythagorean triple is a set of whole numbers that satisfies the formula exactly, so no square root ever gets messy. Recognizing one lets you answer in seconds, and any scaled copy counts too, because multiplying all three sides by the same number gives a similar triangle with the same angles. The full list and the pattern behind it live on the Pythagorean triples page.
| Core triple | Scaled versions |
|---|---|
| and and | |
| and | |
Here is a test most students never learn. In every triple, some leg is a multiple of , some leg is a multiple of , and some side is a multiple of . So cannot be a triple, and you know it before squaring anything.
Builders use the -- shape to square a corner. Measure ft along one wall and ft along the other. If the diagonal between the marks is exactly ft, the corner is a true right angle. The other two shapes that come up in geometry, the -- and the --, have their own ratios in special right triangles.
Quick check
Answer:
Pythagorean theorem practice with algebra and variables
Algebra problems give the sides as expressions and ask you to find the variable. The equation is the same, but the expansion is where errors creep in. Suppose the legs are and and the hypotenuse is :
The roots are and . A length cannot be negative, so only survives, giving sides , and . Check: .
The trap is . It is not , and the missing middle term is exactly what turns the equation into a quadratic. If the factoring is not obvious, the quadratic formula practice problems will build that skill.
Squaring also hides signs, which is why a negative root can appear as a false answer. One more fact worth knowing: the -- triangle is the only right triangle whose sides are three consecutive integers. Setting up gives and nothing else.
How do you tell if a triangle is right, acute or obtuse?
The converse of the theorem lets you test any three side lengths. Call the longest side and compare with :
For sides , and : , which is greater than , so every angle is acute. For , and : , which is less than , so the largest angle is obtuse. The reason comes from the law of cosines, : the right angle is exactly the case where and the extra term vanishes. The page on types of angles reviews the three categories.
If you square the wrong side as , the test gives nonsense. Sort the three lengths first, and check that the two shorter ones sum to more than the longest.
That last condition is the triangle inequality theorem. Sides , and fail it, so no triangle exists, and the Pythagorean test would be meaningless.
Pythagorean theorem practice with distance and 3D boxes
The distance formula is the theorem in disguise. Any two points form the corners of a right triangle whose legs are the horizontal and vertical differences. For and :
Subtracting a negative turns into adding, and the squaring erases the sign of , so the order of the points never matters. The same idea gives the equation of a circle: a circle is every point at one fixed distance from the center.
In three dimensions, apply the theorem twice. A box that is by by has a floor diagonal of . That diagonal and the height form a second right triangle:
The shortcut is . It tells you the longest rod that fits inside a rectangular prism, which is a standard shipping and packing question.
Quick check
Answer:
How do you check a Pythagorean theorem answer?
Four checks take under ten seconds and catch nearly every error:
- The hypotenuse must be the longest side, and each leg must be shorter than it.
- Estimate the root between two perfect squares. Since , lies between and , close to .
- Plug the answer back in and confirm that really equals .
- Look at the units and the form requested: exact radical, decimal, or a labelled length such as feet.
Try this: Without a calculator, place between two whole numbers using perfect squares, then guess the first decimal. Check it against and note how close the estimate lands.
The method also has limits. It cannot be used on a triangle without a right angle, and a diagram that only looks square is not proof. For a general triangle, use the law of cosines for a missing side. Scores of exam errors come from using on an isosceles or acute triangle just because it looks tidy. Confirm the right angle first, then run the five moves.
Practice problems
0 of 10 solved
- A right triangle has legs and . Find the hypotenuse.
Answer:
The unknown is the hypotenuse, so add the squares. . Then . - A right triangle has a hypotenuse of and one leg of . Find the other leg.
Answer:
The unknown is a leg, so subtract. . Then . - A right triangle has legs and . Find the hypotenuse to two decimal places.
Answer:
. Since has no square factor, . Because and , the value sits just above : . - A right triangle has a hypotenuse of and one leg of . Find the other leg to two decimal places.
Answer:
. So . Since and , is a little above : , which is less than as it must be. - A ft ladder leans on a wall with its base ft from the wall. How high up the wall does it reach? Give the exact value and a decimal to two places.
Answer: ft
The ladder is the hypotenuse. . Factor , so . Numerically ft. - Triangle sides are , and . Is the triangle right, acute or obtuse?
Answer: obtuse
The longest side is , so test against . Because , the angle opposite is greater than . The triangle exists since . - Find the distance between and .
Answer:
Differences: and . Then , so . - An isosceles right triangle has a hypotenuse of . Find the length of each leg.
Answer:
Both legs equal , so . That gives and . So . - The legs of a right triangle are and , and the hypotenuse is . Find .
Answer:
gives , so . Factor: . Lengths are positive, so (legs and ). - A box measures by by . Find the length of its longest interior diagonal.
Answer:
The space diagonal satisfies . So .
Common questions
What is the Pythagorean theorem formula?
For a right triangle with legs and and hypotenuse , the formula is . The hypotenuse is the side opposite the right angle and is always the longest side.
How do you know which side is the hypotenuse?
Find the right angle (the small square marker) and look straight across from it. That side is the hypotenuse, no matter how the triangle is rotated or which letters label it.
Can the Pythagorean theorem be used on any triangle?
No, only on right triangles. For other triangles, compare with to classify the angle, or use the law of cosines to find a missing side.
How do you find a missing leg using the Pythagorean theorem?
Subtract instead of adding: , then take the square root. The result must be smaller than the hypotenuse, which is a quick way to catch a mistake.
Should the answer be a simplified radical or a decimal?
Follow the question. If it says exact, simplify the radical, for example . If it asks for a rounded value or involves a real object, give a decimal with units.
What are the most common Pythagorean triples?
The ones worth memorizing are --, --, -- and --. Every whole-number multiple of a triple, such as --, is also a triple.