# Triangle Side Length Calculator using Law of Cosines

The calculator calculates the length of the third side of a triangle using the law of cosines, given the length of two sides and the angle between them.

### This page exists due to the efforts of the following people:

#### Timur

Created: 2011-07-31 21:31:58, Last updated: 2023-05-05 06:28:46

The calculator uses the law of cosines, which is a generalization of the Pythagorean theorem, to compute the length of the third side of a triangle given the lengths of two sides and the angle between them. The law of cosines states that the square of the length of the third side (C) is equal to the sum of the squares of the lengths of the other two sides (A and B) minus twice the product of the lengths of those sides and the cosine of the angle between them (θ). Mathematically, it can be represented as

$c^2=a^2+b^2-2abcos\gamma$

To use the calculator, the user needs to enter the lengths of the two known sides (A and B) and the angle between them (θ) in degrees. The calculator will then apply the law of cosines to compute the length of the unknown side (C) and display the result. This tool can be particularly useful in geometry and trigonometry problems involving triangles, where the length of one side is unknown but the lengths of the other two sides and the angle between them are known.

#### Side length of a triangle

Digits after the decimal point: 2
Side C

URL copied to clipboard
PLANETCALC, Triangle Side Length Calculator using Law of Cosines