Input Values

Result

Enter values and click Calculate.

About Law of Cosines

The Law of Cosines relates the sides and angles of any triangle:

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

Use it to find:

  • Unknown side: When you know two sides and the included angle
  • Unknown angle: When you know all three sides

This generalizes the Pythagorean theorem for non-right triangles.

Plane Geometry Calculators