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.

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:

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:

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:

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

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

Bookmark this page. You'll need it.