Numnote
English (United Kingdom)

Third side of a triangle calculator

Enter two sides and the angle between them to see the third side of the triangle.

side a
side b
angle between them, °
√side a2+side b2−2×side a×side b×cos(angle between them, °)
=7.0841

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 aside bangle between them, °third side of a triangle
107.5305.1329
107.5457.0841
107.5609.0139
107.59012.5
107.512015.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.