Find the Missing Angle of a Triangle Using Cosine Calculator


Find the Missing Angle of a Triangle Using Cosine Calculator

This calculator uses the Law of Cosines to determine a missing angle when all three side lengths of a triangle are known.



The length of the side opposite to angle A.


The length of the side opposite to angle B.


The length of the side opposite to the angle you want to find (Angle C).

Triangle Visualization

Side b Side a Side c C

A general representation of the triangle. Not to scale.

What is a Find the Missing Angle of a Triangle Using Cosine Calculator?

A “find the missing angle of a triangle using cosine calculator” is a specialized tool that applies the Law of Cosines to determine an interior angle of a triangle when the lengths of all three sides are known. This scenario, known as Side-Side-Side (SSS), is a common problem in trigonometry and geometry. Unlike calculators for right-angled triangles which might use SOH-CAH-TOA, a cosine rule calculator works for any triangle (scalene, isosceles, or equilateral). This tool is invaluable for students, engineers, architects, and anyone needing to solve for angles without a known right angle.

The Law of Cosines Formula and Explanation

The Law of Cosines is a fundamental theorem in trigonometry that relates the lengths of the sides of a triangle to the cosine of one of its angles. To find a missing angle (for example, Angle C), when you know the lengths of all three sides (a, b, and c), the formula is rearranged from its standard form.

Formula to find Angle C:

C = arccos( (a² + b² – c²) / (2ab) )

Where ‘arccos’ is the inverse cosine function, which converts the ratio back into an angle.

Variables Table

Description of variables used in the Law of Cosines.
Variable Meaning Unit Typical Range
a, b, c The lengths of the sides of the triangle. Unitless (e.g., cm, inches, meters) Any positive number. Must satisfy the triangle inequality theorem (a + b > c).
C The angle opposite side ‘c’. Degrees or Radians 0° to 180°
arccos Inverse cosine function. N/A Takes a ratio from -1 to 1 and returns an angle.

Practical Examples

Example 1: Acute Triangle

Imagine you have a triangle with side lengths a = 10, b = 12, and c = 8. Let’s find Angle C.

  • Inputs: a = 10, b = 12, c = 8
  • Formula: C = arccos((10² + 12² – 8²) / (2 * 10 * 12))
  • Calculation: C = arccos((100 + 144 – 64) / 240) = arccos(180 / 240) = arccos(0.75)
  • Result: C ≈ 41.4°

Example 2: Obtuse Triangle

Now, consider a triangle with side lengths a = 5, b = 7, and c = 10. Let’s find Angle C.

  • Inputs: a = 5, b = 7, c = 10
  • Formula: C = arccos((5² + 7² – 10²) / (2 * 5 * 7))
  • Calculation: C = arccos((25 + 49 – 100) / 70) = arccos(-26 / 70) = arccos(-0.3714)
  • Result: C ≈ 111.8° (The negative value inside the arccos indicates an obtuse angle).

How to Use This Missing Angle Calculator

  1. Enter Side ‘a’: Input the length of the side opposite angle A.
  2. Enter Side ‘b’: Input the length of the side opposite angle B.
  3. Enter Side ‘c’: Input the length of the side opposite the angle you wish to find (Angle C).
  4. Review the Result: The calculator automatically updates, showing the value of Angle C in degrees.
  5. Check Intermediate Values: The section below the result shows the fraction inside the `arccos` function, helping you understand the calculation steps.
  6. Interpret Errors: If the input values cannot form a triangle, an error message will appear. This happens if the sum of any two sides is not greater than the third side.

For more general triangle problems, you might want to explore a comprehensive Triangle calculator.

Key Factors That Affect the Calculation

  • Triangle Inequality Theorem: The sum of the lengths of any two sides of a triangle must be greater than the length of the third side. If this rule is not met, a triangle cannot be formed, and the calculator will show an error.
  • Side Length Accuracy: The precision of the resulting angle is directly dependent on the accuracy of the input side lengths. Small measurement errors can lead to different angle results.
  • The ‘c’ Side: The formula is set up to find the angle C, which is opposite side c. To find a different angle (e.g., A), you would need to use the corresponding version of the Law of Cosines, such as `A = arccos((b² + c² – a²) / (2bc))`. Our calculator is specifically designed to find Angle C.
  • Input Units: The units of the side lengths (inches, cm, etc.) do not affect the angle calculation, as long as they are consistent. The result will always be in degrees.
  • Ratio Value: The value of `(a² + b² – c²) / (2ab)` must be between -1 and 1, inclusive. A value outside this range makes a triangle impossible and will result in a `NaN` (Not a Number) error.
  • Right Angles: If `a² + b² = c²`, the value inside the arccos becomes 0, resulting in an angle of 90°. This is a special case covered by the Pythagorean theorem calculator.

Frequently Asked Questions (FAQ)

What is the Law of Cosines?
The Law of Cosines is a formula used in trigonometry to find a side or an angle of a non-right triangle. It generalizes the Pythagorean theorem.
When should I use the Law of Cosines vs. the Law of Sines?
Use the Law of Cosines for “Side-Angle-Side” (SAS) or “Side-Side-Side” (SSS) cases. To find an angle with three known sides, the cosine rule is required. For other cases, you might use a Law of Sines calculator.
What does it mean if the result is ‘NaN’ or an error?
This typically means the provided side lengths do not form a valid triangle. Check that the sum of any two sides is greater than the third side.
Can I use this calculator for a right-angled triangle?
Yes. If you input the sides of a right triangle, the calculator will correctly compute the angle (e.g., 90° for the right angle). However, a specific Right triangle calculator might be more efficient.
Do the units of the sides matter?
No, as long as you use the same unit for all three sides (e.g., all in inches or all in centimeters), the resulting angle will be correct. The ratio calculation cancels out the units.
What is ‘arccos’?
It is the “inverse cosine” function. While `cos(angle)` gives a ratio, `arccos(ratio)` gives back the angle.
What if I want to find Angle A or B?
To find Angle A, you would treat ‘a’ as the side opposite the angle and use the formula `A = arccos((b² + c² – a²) / (2bc))`. You can mentally re-label the sides in the calculator to achieve this.
Can this calculator find the area?
No, this tool is specifically a find the missing angle of a triangle using cosine calculator. For area calculations, you would need a tool like a Triangle area calculator.

Related Tools and Internal Resources

Explore other tools to help with your geometry and trigonometry needs:

© 2026 Your Website. All rights reserved.


Leave a Reply

Your email address will not be published. Required fields are marked *