Law of Cosines Calculator (SAS & SSS)

Solve any triangle with the law of cosines — find the third side from two sides and the included angle, or every angle from three…

Results

Enter your details and click Calculate to see your results.
About This Calculator

c² = a² + b² − 2ab·cos C. For angles: cos A = (b² + c² − a²)/(2bc).

Example

Example: a = 7, b = 9, C = 60° → c = 8.18535277187; A = 47.783651°, B = 72.216349°, C = 60°.

Assumptions

Angles in degrees.

Frequently Asked Questions

When do I use the law of cosines instead of sines?

For SAS and SSS — when you don't know an angle-opposite-side pair.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile