A right triangle follows a² + b² = c², where the square of the hypotenuse equals the sum of the squares of the two legs.
A right triangle has one 90-degree angle, and that single angle gives it a famous equation: a² + b² = c². If you’ve seen it in class and felt like the letters were floating around with no anchor, the fix is simple. Each letter has a job. The two shorter sides are the legs. The longest side, sitting across from the right angle, is the hypotenuse. Square the two legs, add them, and you get the square of the hypotenuse.
That’s the full relationship in one line, yet the real value comes from knowing when to use it, how to label the sides, and what kinds of mistakes throw the answer off. Once those pieces click, right triangle questions stop feeling random. They start feeling mechanical in a good way.
This equation comes from the Pythagorean theorem, one of the best-known rules in geometry. The Pythagorean theorem states the same relationship in formal mathematical terms, and it applies only to right triangles. That last part matters. If the triangle does not have a 90-degree angle, this equation is not the one to use.
Why This Right Triangle Equation Works
The equation works because the three sides of a right triangle are linked by a fixed geometric rule. Change one side, and the others must adjust to preserve that 90-degree corner. That is why builders, surveyors, students, and engineers return to this equation so often. It gives a clean way to move from known side lengths to an unknown one.
Written plainly, the equation says this:
If a and b are the legs, and c is the hypotenuse, then:
a² + b² = c²
The little 2 does not mean multiply by 2. It means square the number, or multiply it by itself. So 3² means 3 × 3, which equals 9. If one leg is 3 and the other is 4, then the equation becomes 3² + 4² = c². That gives 9 + 16 = 25, so c² = 25. Take the square root of 25, and c = 5.
That 3-4-5 set is famous because it makes the whole idea easy to see. It is also one of the most common checks used in schoolwork and in real measuring jobs.
What Each Letter Means
Students often get tripped up not by the arithmetic, but by the labels. The letters are placeholders, not fixed side lengths. You could swap in x and y and z if your teacher wanted. What stays fixed is the role of each side.
- a and b are the legs. These are the two sides that meet at the right angle.
- c is the hypotenuse. This is the side across from the right angle, and it is always the longest side.
If you mislabel the hypotenuse, the whole problem falls apart. So before you do any squaring, find the right angle. Then look directly across from it. That opposite side is c.
What “Square” And “Square Root” Mean In Plain Terms
Squaring a number means multiplying it by itself. Square root means asking, “What number multiplied by itself makes this result?” You use both moves in right triangle work all the time.
Say a triangle has legs of 5 and 12. Then:
5² + 12² = c²
25 + 144 = c²
169 = c²
c = 13
That’s it. The method stays the same no matter what numbers you start with. The only thing that changes is whether you are solving for the hypotenuse or for one of the legs.
What Is The Equation For A Right Triangle In Practice?
In practice, this equation shows up in two main ways. One version finds the hypotenuse when both legs are known. The other finds a missing leg when the hypotenuse and one leg are known.
To find the hypotenuse:
c = √(a² + b²)
To find a missing leg:
a = √(c² – b²) or b = √(c² – a²)
Notice the sign change. When you are finding the hypotenuse, you add the two leg squares. When you are finding a leg, you subtract one squared leg from the squared hypotenuse. That makes sense because the hypotenuse is the biggest side, so its square must sit on the side of the equation with the larger value.
The Pythagorean Theorem entry at Wolfram MathWorld lays out the same rule and its algebraic forms, which is handy if you want a formal math reference along with classroom-friendly wording.
Using The Equation To Find The Hypotenuse
Say the legs are 8 and 15. Plug them into the formula:
8² + 15² = c²
64 + 225 = c²
289 = c²
c = 17
This is another common right triangle set: 8, 15, and 17. You do not need to memorize every set, though some students like doing that. The formula already does the heavy lifting.
Using The Equation To Find A Missing Leg
Say the hypotenuse is 10 and one leg is 6. Let the missing leg be b.
6² + b² = 10²
36 + b² = 100
b² = 64
b = 8
This is the same rule, just rearranged. Many errors happen at the rearranging step, so slow down there. Write one line at a time. Do not skip from the formula to the final answer in your head unless you’re certain.
| Known Values | Equation Setup | Result |
|---|---|---|
| a = 3, b = 4 | 3² + 4² = c² | c = 5 |
| a = 5, b = 12 | 5² + 12² = c² | c = 13 |
| a = 8, b = 15 | 8² + 15² = c² | c = 17 |
| c = 10, a = 6 | 6² + b² = 10² | b = 8 |
| c = 13, a = 5 | 5² + b² = 13² | b = 12 |
| c = 25, a = 7 | 7² + b² = 25² | b = 24 |
| a = 9, b = 12 | 9² + 12² = c² | c = 15 |
| c = 41, a = 9 | 9² + b² = 41² | b = 40 |
How To Set Up The Equation Without Mixing Up The Sides
The cleanest way to set up a right triangle problem is to follow the same order every time. That habit cuts down mistakes more than any trick.
Step 1: Find The Right Angle
Look for the square corner mark or the note saying the angle is 90 degrees. If the problem does not show a right angle, you cannot assume the formula applies.
Step 2: Mark The Hypotenuse
The side across from the right angle is the hypotenuse. Circle it or label it lightly on scratch paper. That side must be c.
Step 3: Label The Legs
The two sides that touch the right angle are a and b. Their order does not matter. You can swap them and still get the same answer, since a² + b² equals b² + a².
Step 4: Plug In The Numbers Carefully
Substitute each side into the correct spot. Use parentheses if needed, especially with decimals or variables. This keeps the squared terms clear.
Step 5: Solve In Small Moves
Square first. Then add or subtract. Then take the square root if needed. This order keeps the algebra tidy and makes it easier to catch a sign slip.
That routine may sound basic, yet it is what separates a steady answer from a messy one. When students say, “I knew the formula but still got it wrong,” the setup step is often where the trouble started.
Common Mistakes With A Right Triangle Formula
Right triangle questions are friendly once the structure is clear, though a few mistakes show up again and again.
Using The Wrong Side As c
This is the classic error. The hypotenuse is not just any long-looking side in a sketch. It must be across from the right angle. A sloppy drawing can fool your eye, so trust the angle, not the sketch.
Adding When You Should Subtract
If you are finding the hypotenuse, add the leg squares. If you are finding a leg, subtract from the squared hypotenuse. Students sometimes keep adding out of habit and land on a leg longer than the hypotenuse, which cannot happen in a right triangle.
Forgetting To Square The Whole Number
If the side length is 12, then 12² is 144, not 24. If the side length is 1.5, then 1.5² is 2.25. Decimals need the same care as whole numbers.
Stopping At c² Instead Of c
If your work gives c² = 49, your answer is not 49. Your answer is c = 7. You still need the square root unless the question asks for the square of the side length.
Using The Rule On A Non-Right Triangle
This equation belongs to right triangles. No right angle means no direct use of a² + b² = c². That condition is not a tiny detail. It is the whole reason the formula works.
| Mistake | What Goes Wrong | Fix |
|---|---|---|
| Wrong hypotenuse | Numbers land in the wrong spots | Pick the side opposite the 90° angle |
| Added instead of subtracted | Missing leg comes out too large | Use c² minus the known leg square |
| Did not square properly | Arithmetic breaks early | Multiply each side by itself |
| Stopped at squared value | Final answer is too large | Take the square root at the end |
| Used a non-right triangle | Formula does not apply | Check for a 90° angle first |
Where You See This Equation Outside The Classroom
This formula is not stuck inside geometry homework. It appears any time a straight-line distance connects horizontal and vertical movement.
A ladder leaning against a wall makes a right triangle with the ground and the wall. A rectangular room’s diagonal follows the same rule. So does the shortest straight-line distance across a screen or a map grid when you know the horizontal and vertical parts.
In construction, the rule helps workers check whether corners are square. In computer graphics, it helps measure distance on coordinate planes. In physics, it shows up when one quantity splits into perpendicular parts. You may meet it in trigonometry too, where it works alongside sine, cosine, and tangent.
That broad use is one reason the formula sticks around year after year. It is simple enough to teach early, yet strong enough to keep showing up in later math and applied work.
How To Remember The Equation Without Memorizing Blindly
If memory tricks help you, tie the equation to the shape. The hypotenuse is the longest side, so its square should be the larger piece standing alone. The two shorter sides meet at the right angle, so their squares combine on the other side.
You can also hold onto a single number set such as 3-4-5. Once that set feels natural, the pattern becomes easier to trust. Then, when a problem uses different numbers, you still know what the equation is doing.
Another solid memory cue is this sentence: legs add, hypotenuse stands alone. It is not a formal math statement, yet it captures the structure cleanly.
Final Take On The Equation
The equation for a right triangle is a² + b² = c². Use it when one angle is 90 degrees. Let c be the side across from that angle. Add the squared legs to get the squared hypotenuse, or rearrange the same rule to find a missing leg. Once you label the sides the right way, the math becomes steady and predictable.
If you are studying for class, the smartest move is to practice a few setups, not just a few answers. Spot the right angle. Mark the hypotenuse. Write the equation. Then solve line by line. That rhythm builds speed and accuracy at the same time.
References & Sources
- Encyclopaedia Britannica.“Pythagorean theorem.”Defines the theorem and states the side-length relationship used for right triangles.
- Wolfram MathWorld.“Pythagorean Theorem.”Gives the formal statement and algebraic forms of the right triangle equation.