Law of Cosines Calculator

Solve SAS & SSS Triangles

Calculate unknown sides and angles using the Law of Cosines. Perfect for SAS and SSS triangle cases.

Triangle Values

Use Cases

  • SSS: All three sides known
  • SAS: Two sides and included angle

Law of Cosines Formulas

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

b² = a² + c² - 2ac×cos(B)

a² = b² + c² - 2bc×cos(A)

Note

Law of Cosines works best for SSS and SAS cases. For other cases, use Law of Sines.