Numnote
English (Canada)

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, °)
=8.9622

This calculator is also in the Numnote app for your phone. Google Play

Example

Sides of 12 and 10 with an angle of 47° between them give a third side of 8.9622.

Third side of a triangle with sides 12 and 10 at different angles between them

side aside bangle between them, °third side of a triangle
1210306.0128
1210458.6194
12106011.1355
12109015.6205
121012019.0788

In detail

How it is calculated

This is the law of cosines, a generalization 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.