a²+b²=c² Calculator – Solve Right Triangles Fast

Calculate Right Triangle Sides

Enter any two values to find the third side using the famous equation \( a^2 + b^2 = c^2 \). This works for all right triangles where c is always the longest side (hypotenuse).

First leg of the right triangle
Second leg of the right triangle
Longest side opposite the right angle
Results
847 people found this helpful

How to Use This Calculator

Getting started with the \( a^2 + b^2 = c^2 \) equation is easier than you might think. Here’s exactly what you need to do:

  • Pick any two sides of your right triangle that you already know. These could be both legs (a and b), or one leg and the hypotenuse (c).
  • Type those numbers into the corresponding boxes. Don’t worry about which leg is “a” or “b” – they’re interchangeable since we’re squaring them anyway.
  • Hit the Calculate button and watch the magic happen. The missing side will appear instantly with full explanations.
  • Check out the visual diagram that shows your specific triangle with all measurements labeled clearly.
  • Want to try another triangle? Just click Clear and start fresh with new values.

What Makes This Equation Work?

The Pythagorean theorem, expressed as \( a^2 + b^2 = c^2 \), is one of the oldest mathematical discoveries still used today. Here’s the fascinating part about why it works:

The Core Principle: When you have a right triangle (one with a 90-degree angle), the area of a square built on the hypotenuse equals the combined areas of squares built on the other two sides.

Think of it visually: if you drew squares extending from each side of your right triangle, the big square on the longest side would have exactly the same area as the two smaller squares combined. That’s not a coincidence – it’s geometry at its finest.

This relationship only works for right triangles. If your triangle doesn’t have a 90-degree angle, you’ll need different formulas (like the Law of Cosines). But for right triangles, this equation is perfect every single time.

Classic Example: Take a triangle with legs of 3 and 4. According to our equation: \( 3^2 + 4^2 = 9 + 16 = 25 \). The square root of 25 is 5, so the hypotenuse equals 5. Check it yourself on the calculator above!

Common Pythagorean Triples

Some combinations of numbers work out to perfect whole numbers. We call these “Pythagorean triples,” and they’re super handy for quick calculations or checking your work:

3 – 4 – 5
Most famous triple
5 – 12 – 13
Great for larger triangles
8 – 15 – 17
Less common but valid
7 – 24 – 25
Useful for precision
6 – 8 – 10
Double of 3-4-5
9 – 12 – 15
Triple of 3-4-5

Here’s a cool trick: you can multiply any Pythagorean triple by the same number to get another valid triple. So if 3-4-5 works, then 6-8-10, 9-12-15, and 30-40-50 all work too!

Frequently Asked Questions

Which side is the hypotenuse?
The hypotenuse is always the longest side of a right triangle, and it’s always across from the 90-degree angle. In our equation, that’s the “c” value. If you’re not sure which side is longest, just measure them – the hypotenuse will be bigger than either of the legs.
Can I use this for triangles without a right angle?
Nope! The \( a^2 + b^2 = c^2 \) equation specifically requires a 90-degree angle to work correctly. If your triangle has all acute angles or includes an obtuse angle, you’ll need different formulas. The Law of Cosines is your friend for those situations.
What if my answer is a decimal or irrational number?
That’s totally normal! Most right triangles don’t result in neat whole numbers. For example, if both legs are 1, the hypotenuse is \( \sqrt{2} \), which equals approximately 1.414. The calculator will give you both the exact square root form and the decimal approximation.
Does it matter which leg is “a” and which is “b”?
Not at all! Since we’re squaring both legs and then adding them, the order doesn’t change anything. \( 3^2 + 4^2 \) gives you the same answer as \( 4^2 + 3^2 \). Feel free to assign them however makes sense to you.
Can I use this with units like feet, meters, or inches?
Absolutely! Just make sure all your measurements use the same units before calculating. If side a is 3 feet and side b is 4 feet, then side c will be 5 feet. But if you mix feet and meters, you’ll get nonsense results. Keep it consistent!
Why do I need to know this anyway?
This equation pops up everywhere in real life! Carpenters use it to make sure corners are square. Surveyors use it to measure land. Architects use it in building design. Even GPS systems use variations of this formula to calculate distances. It’s genuinely one of the most practical math concepts you’ll ever learn.

Mistakes People Make (And How to Avoid Them)

Even with a straightforward equation like this, there are some common pitfalls. Let’s make sure you don’t fall into these traps:

Forgetting to Take the Square Root
After calculating \( a^2 + b^2 \), you get \( c^2 \), not c itself. You must take the square root to find the actual length. For example, if \( a^2 + b^2 = 25 \), then \( c = \sqrt{25} = 5 \), not 25!
Mixing Up Which Side is the Hypotenuse
The hypotenuse must be the longest side and must be opposite the right angle. If you accidentally use a leg as “c” in your formula, your answer will be wrong. Always identify the right angle first, then locate the side across from it.
Using It on Non-Right Triangles
This is huge: \( a^2 + b^2 = c^2 \) only works when you have exactly a 90-degree angle. If your triangle is 80 degrees or 100 degrees at its largest angle, this formula will give incorrect results. Confirm you have a right triangle before proceeding.
Mixing Different Units of Measurement
If one side is in centimeters and another is in meters, you can’t just plug them in. Convert everything to the same unit first. This seems obvious but trips up a lot of people when they’re working quickly.
Calculating \( a^2 – b^2 \) Instead of \( c^2 – b^2 \)
When finding a leg (not the hypotenuse), rearrange to \( a = \sqrt{c^2 – b^2} \). Some people mistakenly do \( \sqrt{a^2 – b^2} \) or subtract in the wrong order. Remember: hypotenuse squared minus known leg squared.

Practical Applications

You might wonder when you’d actually use this outside of a classroom. Here are real scenarios where the \( a^2 + b^2 = c^2 \) equation saves the day:

Situation How It Helps
Home Construction Contractors check if walls are perfectly square by measuring diagonals. If the corner is truly 90 degrees, the diagonal will match the Pythagorean calculation.
Ladder Safety You need to know how far to place the ladder base from a wall to safely reach a certain height. The equation tells you the exact distance for stability.
Screen Sizes TV and monitor screens are measured diagonally. If you know the width and height, you can calculate the advertised diagonal measurement.
Navigation When traveling north then east, the straight-line distance back to your starting point forms the hypotenuse of a right triangle with your path.
Sports Fields Baseball diamonds, soccer goals, and basketball court markings all need precise right angles. This equation verifies the measurements are correct.

Different Formulas for Different Unknowns

Depending on what you’re trying to find, you’ll rearrange the equation differently. Here are all three variations:

Finding the Hypotenuse (c):
\[ c = \sqrt{a^2 + b^2} \]
Use this when you know both legs and need the longest side.
Finding a Leg (a):
\[ a = \sqrt{c^2 – b^2} \]
Use this when you know the hypotenuse and one leg, and need the other leg.
Finding a Leg (b):
\[ b = \sqrt{c^2 – a^2} \]
Same as above, just solving for the other leg instead.

Notice how we’re always taking the square root at the end? That’s because we’re solving for a length (a, b, or c), not an area (a², b², or c²).

Quick Tips for Faster Calculations

Want to speed up your work? Here are some shortcuts that experienced users swear by:

Memorize common triples: Knowing that 3-4-5, 5-12-13, and 8-15-17 work perfectly means you can solve problems instantly when you spot these numbers or their multiples.

Check your work with estimation: Before you calculate, estimate whether your answer makes sense. The hypotenuse should always be longer than either leg but shorter than both legs added together.

Use the calculator for everything else: For numbers that don’t form nice triples, there’s no shame in using our calculator. It’s faster and eliminates arithmetic errors, especially with decimals.

Square small numbers mentally: Practice squaring numbers 1-15 in your head. It makes the formula much faster when you can quickly compute \( 8^2 = 64 \) or \( 12^2 = 144 \) without paper.

Work in the same units throughout: Convert all measurements to the same unit before starting. It’s much easier than trying to convert at the end or fixing mistakes later.

Scroll to Top