Law of Cosines Calculator

Find the third side of a triangle when you know two sides and the angle between them. Enter side a, side b and angle c between them to see side c…

8
Daily Uses

8 of 8 free uses remaining today

Find the third side of a triangle when you know two sides and the angle between them. Enter side a, side b and angle c between them to see side c when you calculate.

Enter your values

Each successful calculation counts toward this tool’s 8 free daily uses. Values stay in your browser.

Worked example

Example calculated from the starting values. Enter your own values and press Calculate to get your result.

Side c6.2450

With the default inputs (side a = 5, side b = 7, angle C between them = 60 degrees), the results are: side c 6.2450.

Quick reference: side a vs result

Reference table based on the example values; it is not your calculation result.

Side aSide c
2.56.1441
56.2450
108.8882
2522.3383
5046.8935
10096.6902

Frequently asked questions

What formula does this calculator use?

Side c = sqrt(a^2+b^2-2 × a × b × cos(C × pi ÷ 180)). Variables: a = side a, b = side b, C = angle c between them in degrees.

What do I need to enter?

You need side a, side b, angle c between them (degrees). Results update as you type.

What is an example result?

With the default inputs (side a = 5, side b = 7, angle C between them = 60 degrees), the results are: side c 6.2450.

Related Tools

View all