Law of Cosines Calculator
Find a side or an angle of a triangle with the law of cosines.
Leave empty if unknown
Leave empty if unknown
Leave empty if unknown
Leave empty if unknown
Try
Result
You entered
Show the work
Law of cosines
The law of cosines extends Pythagoras' theorem to any triangle: it gives the side opposite a known angle from the two sides beside it. Here , and the angle between them is .
Take the square root
The side is a length, so take the positive square root of .
Result
So the side is .