6 min read · Math Help
One Rule Connects the Three Sides of Every Right Triangle
-
In any right triangle, the two shorter sides squared and added together equal the longest side squared. That single rule lets you find a missing side whenever you know the other two.
-
The rule shows up in building, mapping and measuring distance. Carpenters use it to check that a corner is square, and the distance between two points on a graph comes straight from it.
-
A handful of whole-number sets fit the rule exactly, so you can spot answers quickly. Learning them also gives you a fast way to check your work.
-
The rule works only when the triangle has a square corner. Confirm the right angle first, then decide which side you need to find.
You are in a garage with a tape measure, trying to tell whether the corner of a new workbench is truly square. Nobody wants to guess. A few marks, a length of string and the Pythagorean theorem settle it in about a minute.
The same rule helps a student at the kitchen table with a ladder problem, and it sits behind the way a graph measures distance.
This article explains what the theorem is used for, why it holds, and how to find a missing side without second-guessing yourself.
What Is the Pythagorean Theorem Used For?
The Short Answer
The Pythagorean theorem is used to find a missing side of a right triangle when you know the other two sides. Builders use it to check that corners are square, and coordinate geometry uses it to measure the distance between two points. It applies only to triangles that contain one square corner, called a right angle.
What the Rule Says in Plain Words
A right triangle has one square corner, a right angle of 90 degrees. The two sides that meet at that corner are the legs. The side across from it, always the longest, is the hypotenuse. The theorem says that if you square each leg and add the results, you get the square of the hypotenuse: a squared plus b squared equals c squared, with c standing for the hypotenuse.
Here is the visual reason it holds. Draw a square on each side of a triangle whose legs measure 6 and 8. The two smaller squares cover 36 and 64 square units, which together make 100, exactly the area of the square on the hypotenuse, whose edges each measure 10. Wikipedia’s summary of the theorem states it just that way: the square on the hypotenuse has area equal to the sum of the squares on the other two sides.
The Greek mathematician Euclid placed the theorem as Proposition 47 of Book I of his Elements, and Proposition 48 gives the converse: if three sides fit the rule, the triangle has a right angle. Wikipedia notes that the theorem has been proved in possibly more ways than any other, and that the book The Pythagorean Proposition contains 370 proofs. If you would rather watch it drawn out, instructor Dana Mosely works through right triangles step by step on video.
Where Builders and Mappers Use It
Builders lean on the rule to square a corner. According to Concord Carpenter, a carpentry guide by Robert Robillard, the 3-4-5 method suits large foundations and walls, where a small framing square (the L-shaped tool a carpenter holds in a corner) is not accurate enough. The steps are short:
-
Mark 3 feet along one edge, starting at the corner.
-
Mark 4 feet along the other edge.
-
Measure the straight line between the two marks.
-
A reading of 5 feet means the corner is square. If not, shift one edge until it is.
For bigger layouts, the same guide suggests multiples of that ratio, such as 6-8-10 or 9-12-15. The converse is why this works: three sides that fit the rule must meet at a right angle.
Mapping uses the same idea. Say you want the straight-line distance between two points on a graph, (2, 3) and (14, 8). They sit 12 units apart across and 5 units apart up, so the distance is the hypotenuse of a right triangle with legs 12 and 5. Squaring gives 144 and 25, which add to 169, and the square root of 169 is 13. That is the distance formula, which Wikipedia says is derived from the Pythagorean theorem and extends to any number of dimensions.
Where the Idea Came From
The rule is older than the Greek textbooks that made it famous. According to the Institute for the Study of the Ancient World at New York University, the Babylonian clay tablet Plimpton 322, from the 19th to 17th century BCE (before the common era), lists whole-number sides of right triangles. That shows a method for finding such sets about a millennium and a half before Euclid.
Scholars still debate how the numbers were calculated and what the tablet was for. National Geographic reported in 2017 that researchers at the University of New South Wales (UNSW) argued it may be a trigonometric table that surveyors or builders used, while other experts, including Donald Allen, call that conjecture because the tablet is broken. The practical purpose remains an open question.
How Do You Find a Missing Side Step by Step?
Finding the Longest Side
When you know both legs and need the hypotenuse, add first and take the square root last. The square root of a number is the value that, multiplied by itself, gives that number.
-
Label the side across from the right angle as c.
-
Square each leg and add the two results.
-
Take the square root of the sum.
Try legs of 8 and 15. Squaring gives 64 and 225, which add to 289, and the square root of 289 is 17. The hypotenuse is 17.
Finding a Missing Leg
For a missing leg, you subtract. Square the hypotenuse, subtract the square of the leg you know, then take the square root of what remains.
Say a 13 foot ladder leans against a wall with its base 5 feet from the wall. The height it reaches is the missing leg: 169 minus 25 is 144, and the square root of 144 is 12, so the ladder reaches 12 feet up. Word problems follow this pattern, and a quick sketch with the right angle marked usually shows which side is the hypotenuse.
Always check the result. The hypotenuse must be longer than either leg, and the squares of the two legs must add up to the square of the hypotenuse.
A right triangle gives you a built-in way to check your own answer, because the three sides must always fit one rule.
Sets of three whole numbers that fit the rule are called Pythagorean triples. A few come up so often that they are worth knowing on sight:
-
3, 4 and 5
-
5, 12 and 13
-
8, 15 and 17
-
7, 24 and 25
Multiply any set by a whole number and you get another, so 6, 8 and 10 works too. Wikipedia also lists Euclid’s formula, which builds a triple from two whole numbers m and n with m larger: m squared minus n squared, two times m times n, and m squared plus n squared. Using 2 and 1 gives 3, 4 and 5.
When the Rule Does Not Apply
The theorem needs a right angle. If a triangle has no square corner, adding the squares of two sides will not give the square of the third, and you need other tools. It also returns lengths only. When a problem asks for an angle, or gives you one angle and one side, trigonometry (the study of ratios inside triangles) takes over, and a full trigonometry course picks up with sine, cosine and tangent.
Watch the order of operations as well. Add the squares when you want the longest side, and subtract when you want a leg. Mixing them up is an easy slip. If squaring and square roots still feel shaky, an Algebra 1 course rebuilds those skills before you come back to geometry.
Back in the garage, the string between your marks reads 5 feet, so the workbench corner is square and you can start building. The same rule works on a ladder, a graph or a homework page.
Study Right Triangles on Video
Right triangles and the Pythagorean theorem are part of the 53-lesson Geometry course, shown step by step on video by Dana Mosely
External References
-
National Council of Teachers of Mathematics, the professional organization for teachers of school mathematics
-
American Mathematical Society, a professional society for mathematicians





