How to Find the Third Length of a Triangle: 4 Methods With Step-by-Step Examples
Learning how to find the third length of a triangle is one of the most useful skills in geometry, because almost every triangle problem eventually reduces to finding one missing side. Plus, the method you choose depends entirely on what information you already have: two sides of a right triangle, two sides plus an angle, two angles plus a side, or the perimeter. This guide walks through all four situations with clear formulas, worked examples, and the checks you should run before trusting your answer.
First, Identify What Information You Have
Before touching a formula, sort your problem into one of these categories:
- Two sides of a right triangle → use the Pythagorean theorem.
- Two sides and the included angle (SAS) → use the Law of Cosines.
- Two angles and any side (AAS or ASA) → use the Law of Sines.
- Perimeter plus two sides → simple subtraction, then verify with the triangle inequality.
A quick note: if you only know two sides and nothing else about an ordinary (non-right) triangle, the third side is not uniquely determined. The angle between the sides can open or close, changing the third side's length. You always need at least one angle or the perimeter Less friction, more output..
Method 1: Right Triangles and the Pythagorean Theorem
For any right triangle with legs a and b and hypotenuse c:
a² + b² = c²
The hypotenuse is always the side opposite the 90° angle and always the longest side That alone is useful..
Example: A ladder leans against a wall. Its base sits 3 m from the wall and it reaches 4 m up the wall. How long is the ladder?
- Identify the unknown as the hypotenuse: c² = 3² + 4²
- Square: c² = 9 + 16 = 25
- Take the square root: c = √25 = 5 m
If the hypotenuse is given instead, rearrange: a = √(c² − b²). To give you an idea, with c = 13 and b = 5, a = √(169 − 25) = √144 = 12.
Memorizing common Pythagorean triples (3-4-5, 5-12-13, 8-15-17, 7-24-25) and their multiples lets you answer many problems instantly.
Method 2: Two Sides and the Included Angle — Law of Cosines
The Law of Cosines is the generalization of the Pythagorean theorem for any triangle:
c² = a² + b² − 2ab·cos(C)
Here C is the angle between sides a and b, and c is the side opposite that angle.
Example: Two sides measure 7 cm and 10 cm, and the angle between them is 45° Easy to understand, harder to ignore..
- Substitute: c² = 7² + 10² − 2(7)(10)·cos(45°)
- Simplify: c² = 49 + 100 − 140(0.7071)
- Compute: c² = 149 − 98.99 = 50.01
- Square root: c ≈ 7.07 cm
Notice the pattern: when C = 90°, cos(90°) = 0 and the formula collapses into a² + b² = c². That connection makes the Law of Cosines much easier to remember Easy to understand, harder to ignore..
You can also