Finding Missing Length of a Triangle- Methods and Formulas
How to Find the Missing Length of a Triangle
You're stuck on a triangle problem. You have two sides, you need the third. This happens more often than you'd think in geometry, trigonometry, and real-world applications like construction and surveying.
Here's the reality: there are exactly three methods that work for different situations. The method you use depends on what information you already have. That's it. No magic, no tricks.
Before You Start: What Type of Triangle Do You Have?
This matters more than most textbooks admit. The wrong method for your triangle type will give you wrong answers every time.
- Right triangle — one angle is exactly 90°
- Acute triangle — all angles are less than 90°
- Obtuse triangle — one angle is greater than 90°
If you're dealing with a right triangle, the Pythagorean theorem is your fastest route. For everything else, you need trigonometry.
Method 1: Pythagorean Theorem (Right Triangles Only)
The formula is simple:
a² + b² = c²
Where c is the hypotenuse (the longest side, opposite the 90° angle) and a and b are the other two sides.
Finding the Hypotenuse
If you know a and b, finding c is straightforward:
c = √(a² + b²)
Example: If a = 3 and b = 4, then c = √(9 + 16) = √25 = 5
Finding a Leg (Not the Hypotenuse)
If you know the hypotenuse and one leg:
a = √(c² - b²)
Example: If c = 10 and b = 6, then a = √(100 - 36) = √64 = 8
This method only works if you have a right triangle. Using it on an acute or obtuse triangle will destroy your answer.
Method 2: Law of Cosines (When You Know Two Sides and the Included Angle)
The law of cosines handles non-right triangles where you know:
- Two sides of the triangle
- The angle between those two sides
The formula:
c² = a² + b² - 2ab·cos(C)
Where C is the angle between sides a and b.
Example Calculation
Say you have a = 7, b = 10, and angle C = 45°.
c² = 49 + 100 - 2(7)(10)(0.7071)
c² = 149 - 98.99
c² = 50.01
c = √50.01 = 7.07
This works for any triangle type. The angle doesn't need to be acute or obtuse — the formula handles both.
Method 3: Law of Sines (When You Know Two Angles and One Side)
The law of sines applies when you have:
- Two angles of the triangle
- One side opposite one of those angles
The formula:
a/sin(A) = b/sin(B) = c/sin(C)
Example Calculation
You know angle A = 30°, angle B = 45°, and side a = 8.
First, find angle C: 180° - 30° - 45° = 105°
Then solve for side c:
8/sin(30°) = c/sin(105°)
8/0.5 = c/0.9659
16 = c/0.9659
c = 16 × 0.9659 = 15.45
Comparing the Three Methods
| Method | Best For | Requirements | Triangle Type |
|---|---|---|---|
| Pythagorean Theorem | Fastest, simplest | Two sides known | Right triangles only |
| Law of Cosines | Flexible, reliable | Two sides + included angle | Any triangle |
| Law of Sines | Angle-side relationships | Two angles + one side | Any triangle |
The law of cosines is the most versatile. If you're unsure which method applies, check if you have an angle between the two known sides. If yes, use law of cosines. If you have a 90° angle and two sides, use Pythagorean theorem. Law of sines requires angle information you might not always have.
How to Get Started: Step-by-Step Process
Follow this decision tree every time you encounter a missing side problem:
Step 1: Identify Your Known Values
Write down exactly what you know. Do you have:
- Two sides only?
- Two sides and an angle?
- One side and two angles?
Step 2: Check for a Right Angle
Look for a 90° angle in your diagram or problem statement. If one exists and you have two sides, go straight to the Pythagorean theorem.
Step 3: Apply the Correct Formula
Use the table above to match your known values to the right method. Don't mix them up — using Pythagorean theorem on a non-right triangle is a guaranteed way to get the wrong answer.
Step 4: Check Your Answer
Verify by plugging your answer back into the original formula. If the numbers don't work out, you've made an arithmetic error or chosen the wrong method.
Common Mistakes That Ruin Your Answer
- Using Pythagorean theorem on non-right triangles — this fails more often than you'd expect. Students assume all triangles work the same way. They don't.
- Confusing which angle goes with which side — in law of sines, each side must match its opposite angle. Mixing them up gives garbage results.
- Rounding too early — keep full decimal precision until your final answer. Rounding at each step compounds errors.
- Forgetting to find a missing angle — law of sines requires all three angles. If you only have two, find the third first (angles sum to 180°).
- Using degrees instead of radians — if your calculator is in the wrong mode, your trigonometry answers will be completely wrong. Check before you calculate.
When You Only Have Three Sides (Heron's Formula for Area First)
Sometimes you have all three sides but no angles. You can't find a "missing" side in this case — you have them all. But you might need to find an angle.
For this situation, use the law of cosines in reverse to find any angle:
cos(C) = (a² + b² - c²) / 2ab
Then use inverse cosine (cos⁻¹) to get the angle value.
Quick Reference Formulas
- Missing hypotenuse: c = √(a² + b²)
- Missing leg: a = √(c² - b²)
- Law of cosines: c² = a² + b² - 2ab·cos(C)
- Law of sines: a/sin(A) = b/sin(B) = c/sin(C)
Bookmark this page. You'll need it.