Skip to content
TOOLORA
Math

Law of Cosines Calculator

Find the third side of a triangle using the law of cosines.

Was this tool useful?

How it works

Fill in the 3 fields above and Law of Cosines Calculator calculates the result instantly, recalculating as you change any value. It applies the formula c² = a² + b² − 2ab·cos(C). The math runs locally in your browser — nothing is sent to a server.

Formula

c² = a² + b² − 2ab·cos(C)

Examples

  • Side a 5, Side b 7, Angle C 60 ° → Side c: 6.245

Frequently asked questions

How do I use the Law of Cosines Calculator?

Enter your values in the 3 input fields and the result is calculated automatically as you type. Change any value to see the numbers update instantly.

What formula does the Law of Cosines Calculator use?

It uses c² = a² + b² − 2ab·cos(C). The calculation is performed in your browser using standard, well-established math for accurate results.

Is my data private?

Yes. The Law of Cosines Calculator runs entirely in your browser. Nothing you enter is uploaded, saved to a server, or shared — it never leaves your device.

Is the Law of Cosines Calculator free?

Yes, it is completely free with no sign-up, no limits and no watermarks. Like every tool on math and the rest of the platform, you can use it as often as you like.

Popular in Math