Law of Cosines:
From: | To: |
The Law of Cosines is a formula relating the lengths of the sides of a triangle to the cosine of one of its angles. It generalizes the Pythagorean theorem for any triangle, not just right-angled ones.
The calculator uses the Law of Cosines formula:
Where:
Explanation: The formula calculates the length of the third side when you know two sides and the included angle.
Details: Calculating unknown sides of triangles is fundamental in geometry, trigonometry, navigation, engineering, and physics applications.
Tips: Enter lengths of two sides and the included angle in degrees. All values must be positive numbers (side lengths > 0, angle between 0-180 degrees).
Q1: Can I use this for right-angled triangles?
A: Yes, but when angle C is 90°, the formula simplifies to the Pythagorean theorem (cos 90° = 0).
Q2: What units should I use?
A: Any consistent length units (cm, m, inches, etc.). Angle must be in degrees.
Q3: What if I know three angles but no sides?
A: This calculator won't work. You need at least one side length to determine triangle sizes.
Q4: Can I calculate angles with this formula?
A: The formula can be rearranged to find angles, but this calculator only finds side lengths.
Q5: What about obtuse triangles?
A: The formula works for all triangles, including obtuse ones (angles > 90°).