Third side of a triangle calculator
Enter two sides and the angle between them to see the third side of the triangle.
This calculator is also in the Numnote app for your phone. Google Play
Example
Sides of 10 and 7.5 with an angle of 45° between them give a third side of 7.0841.
Third side of a triangle with sides 10 and 7.5 at different angles between them
| side a | side b | angle between them, ° | third side of a triangle |
|---|---|---|---|
| 10 | 7.5 | 30 | 5.1329 |
| 10 | 7.5 | 45 | 7.0841 |
| 10 | 7.5 | 60 | 9.0139 |
| 10 | 7.5 | 90 | 12.5 |
| 10 | 7.5 | 120 | 15.2069 |
In detail
How it is calculated
This is the law of cosines, a generalisation of the Pythagorean theorem to any triangle. The calculator adds the squares of the two known sides, subtracts twice the product of these sides and the cosine of the angle between them, and takes the square root. When the angle is a right angle, the cosine is zero, and the formula turns into the familiar Pythagorean theorem. The angle is entered in degrees.
Common mistakes
The angle must lie between the two typed sides. If the known angle is opposite one of them, the law of sines is needed. Type the angle in degrees, not radians. An obtuse angle is not a mistake: the cosine is then negative, and the third side comes out longer than by Pythagoras.
Questions
How do I find the third side of a triangle from two sides and an angle?
By the law of cosines: add the squares of the sides, subtract twice the product of the sides and the cosine of the angle, and take the root.
What if the angle is not between the known sides?
Then you need the law of sines: this formula works only for the angle between the two entered sides.