This Law of Cosines Calculator can help you calculate the unknown angles or sides of a triangle if you know any 3 dimensions.


I want to solve for:*
Side a:*
Side b:*
Side c:*

How does this law of cosines calculator work?

Together with the law of sines, the law of cosines can help in solving from simple to complex trigonometric problems by using the formulas provided below. These calculations can be either made by hand or by using this law of cosines calculator.

A = cos-1[(b2+c2-a2)/2bc]

Considering that a, b and c are the 3 sides of the triangle opposite to the angles A, B and C as presented within the following figure, the law of cosines states that:

Triangle Shape for Law of Cosines

■ In order to solve for the three sides (a, b and c) you should be using these equations:

a2 = b2 + c2 - 2bc*cos(A)

a = √[b2 + c2 - 2bc*cos(A)]

b2 = a2 + c2 - 2ac*cos(B)

b = √[a2 + c2 - 2ac*cos(B)]

c2 = a2 + b2 - 2ac*cos(C)

c = √[a2 + b2 - 2ac*cos(C)]

■ In order to determine the three angles (A, B and C) you should be applying these formulas:

A = cos-1 [(b2 + c2 - a2)/2bc]

B = cos-1 [(a2 + c2 - b2)/2ac]

C = cos-1 [(a2 + b2 - c2)/2ab]

Triangle formulas

In trigonometry the most often used triangle formulas are:

Triangle perimeter (P) = a + b + c

Triangle semi-perimeter (s) = 0.5 * (a + b + c)

Triangle area by Heron formula (AS) = √[ s*(s - a)*(s - b)*(s - c)]

Radius of inscribed circle in the triangle (r) = √[ (s - a)*(s - b)*(s - c) / s ]

Radius of circumscribed circle around triangle (R) = (abc) / (4AS)

Where:

a = Side a

b = Side b

c = Side c

A = Angle A

B = Angle B

C = Angle C

P = Perimeter

s = Semi-perimeter

SA = Area

r = radius of inscribed circle

R = radius of circumscribed circle

10 Aug, 2015