Law of Cosines Calculator
Find the third side of a triangle from two sides and the included angle.
Solve any triangle given two sides and the angle between them.
The math behind it
c² = a² + b² − 2ab·cos(C). At C = 90° it reduces to the Pythagorean theorem.
Worked example
a 5, b 7, C 60° → c = 6.24.
FAQ
Find an angle?
Rearrange to cos(C) = (a² + b² − c²) ÷ 2ab.