Math

Law of Cosines Calculator

Find the third side of a triangle from two sides and the included angle.

Parameters Live Compute
Calculated Output
Side c 6.245
Formula: c² = a² + b² − 2ab·cos(C)
Step-by-Step Breakdown
1. Values used:
2. Side a = 5
3. Side b = 7
4. Included angle C = 60 degrees
5.
6. Side c = 6.245
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

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.

Frequently Asked Questions

Find an angle?

Rearrange to cos(C) = (a² + b² − c²) ÷ 2ab.

Advertisement