Trigonometry

Law of Cosines Calculator: Solve Triangles Easily

Use our Law of Cosines calculator to quickly solve for unknown sides or angles of a triangle. Simply input the known values and get instant results. Perfect for trigonometry and geometry problems.

Input Values

Enter the known sides and angles of your triangle. Select the value you wish to calculate.

Triangle Visualization

Understanding the Law of Cosines

The Law of Cosines (also known as the Cosine Rule) is fundamental in trigonometry for solving triangles. It relates the lengths of the sides of a triangle to the cosine of one of its angles.

Formula: For a triangle with sides a, b, c and angles A, B, C opposite to these sides respectively, the Law of Cosines states:

$$c^2 = a^2 + b^2 - 2ab \cos(C)$$

This formula can be rearranged to solve for any side or angle, provided you have enough information (like two sides and the included angle, or all three sides). It's a generalization of the Pythagorean theorem, which it becomes if angle C is a right angle (90 degrees or π/2 radians), because the cosine of 90 degrees is zero.

Use Cases:

  • Finding the third side of a triangle when two sides and the included angle are known.
  • Finding the angles of a triangle when all three sides are known.
  • Useful in navigation, surveying, and various branches of physics and engineering.

Learn more about the Law of Cosines on Wikipedia.

Frequently Asked Questions

What is the Law of Cosines Calculator: Solve Triangles Easily?
The Law of Cosines Calculator: Solve Triangles Easily is an online Trigonometry calculator. You enter your values, and it returns the answer with the steps shown so you can follow along.
How accurate is the Law of Cosines Calculator: Solve Triangles Easily?
The solver uses a math engine that avoids the floating-point rounding errors you get from most hardware calculators. For typical homework and professional calculations, the results will match what you would get by hand.
Can I use the Law of Cosines Calculator: Solve Triangles Easily for professional Trigonometry projects?
Yes. The math behind it is standard Trigonometry, so the results are reliable for professional use. That said, always double-check that your inputs are in the right format before relying on the output.
Why use the Law of Cosines Calculator: Solve Triangles Easily instead of calculating by hand?
Manual calculation is slow and error-prone, especially with multiple steps. This tool does the arithmetic for you and shows each step, so you can catch mistakes before they carry forward.
How do I format my inputs for the Law of Cosines Calculator: Solve Triangles Easily?
Type your numbers into the input fields. Leave out units and symbols unless a field specifically asks for them. The solver handles the rest.