Law of Cosines Calculator
Work out the third side of a triangle when you know two sides and the angle between them.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Law of Cosines Calculator
- Type the two sides you know.
- Type the angle between them, in degrees.
- The third side shows straight away.
Frequently asked questions
What is the law of cosines?
It says c squared equals a squared plus b squared minus 2ab times the cosine of the angle C between sides a and b. It works for any triangle, not only right triangles.
When do I use it?
Use it when you know two sides of a triangle and the angle between them, and want the third side.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.