Cosine Rule Angle Calculator – Find Angle with 3 Sides


Cosine Rule Angle Calculator

Your expert tool for calculating an angle using cosine rule when all three triangle sides are known.



The side opposite the angle you want to find.


An adjacent side to the angle you want to find.


The other adjacent side.


Triangle Visualization

A visual representation of the triangle with the calculated angles and side lengths.

Results Breakdown

Parameter Value
Side ‘a’
Side ‘b’
Side ‘c’
Angle A
Angle B
Angle C
Summary of all triangle sides and calculated angles. Note that the primary calculation is for Angle A.

What is Calculating an Angle Using Cosine Rule?

Calculating an angle using the cosine rule, also known as the Law of Cosines, is a fundamental process in trigonometry for solving a triangle. This method is used specifically when you know the lengths of all three sides of the triangle (an SSS or Side-Side-Side case) and wish to determine the measure of one of the interior angles. It’s a generalization of the Pythagorean theorem, which means it works for any triangle, not just right-angled ones.

This is a crucial tool for engineers, architects, physicists, and navigators. The ability to find an angle with 3 sides allows for precise calculations in construction, vector analysis, and determining geographic positioning. A common misunderstanding is confusing it with the Sine Rule; the Sine Rule is used when you know a side and its opposite angle, whereas the cosine rule is perfect for the SSS scenario you find in our Sine Rule calculator.

The Formula for Calculating an Angle Using Cosine Rule

To find an angle (let’s say Angle A), given the lengths of the three sides a, b, and c, you rearrange the standard Law of Cosines formula. The side ‘a’ must be opposite the angle ‘A’ you are trying to find.

The formula is:

Angle A = arccos( (b² + c² – a²) / (2bc) )

This formula calculates the cosine of the angle first and then uses the inverse cosine function (arccos) to find the angle itself. For a deep dive into solving triangles, our triangle side calculator offers more examples.

Variables Table

Variable Meaning Unit Typical Range
a, b, c The lengths of the sides of the triangle. Unitless (or any consistent length unit like cm, m, inches) Greater than 0. Must satisfy the Triangle Inequality Theorem (a+b > c).
A The angle opposite side ‘a’. Degrees or Radians 0 to 180 degrees (0 to π radians).
arccos The inverse cosine function, which converts a ratio back into an angle. Input must be between -1 and 1.

Practical Examples

Example 1: Acute Triangle

  • Inputs: Side a = 5, Side b = 7, Side c = 8
  • Calculation:

    cos(A) = (7² + 8² – 5²) / (2 * 7 * 8)

    cos(A) = (49 + 64 – 25) / 112

    cos(A) = 88 / 112 = 0.7857

  • Result: Angle A = arccos(0.7857) ≈ 38.2°

Example 2: Obtuse Angle Triangle

  • Inputs: Side a = 12, Side b = 7, Side c = 8
  • Calculation:

    cos(A) = (7² + 8² – 12²) / (2 * 7 * 8)

    cos(A) = (49 + 64 – 144) / 112

    cos(A) = -31 / 112 = -0.2768

  • Result: Angle A = arccos(-0.2768) ≈ 106.1°. Notice how a negative cosine value results in an obtuse angle. If you’re interested in right-angled triangles, you might find our Pythagorean theorem calculator useful.

How to Use This Cosine Rule Angle Calculator

  1. Enter Side ‘a’: Input the length of the side that is directly opposite the angle you want to calculate.
  2. Enter Sides ‘b’ and ‘c’: Input the lengths of the two sides that are adjacent to the angle.
  3. Select Angle Unit: Choose whether you want the final result to be in Degrees or Radians. The calculator updates in real-time.
  4. Interpret Results: The primary result shows the calculated angle (Angle A). The breakdown below provides intermediate values and all three angles of the triangle for a complete picture. The chart provides a visual confirmation.

Key Factors That Affect the Angle 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 not, the sides cannot form a triangle, and the calculator will show an error.
  • Ratio of Sides: The calculated angle is entirely dependent on the ratio of the side lengths. Scaling all sides by the same factor (e.g., doubling them all) will not change the angles.
  • Opposite Side Length: The length of the side opposite the angle (side ‘a’ in our formula) has the most significant impact. Increasing ‘a’ while keeping ‘b’ and ‘c’ constant will increase Angle A.
  • Cosine Value Range: The value of `(b² + c² – a²) / (2bc)` must be between -1 and 1. A value outside this range indicates the side lengths cannot form a triangle.
  • Acute vs. Obtuse Angles: If the cosine value is positive (between 0 and 1), the angle is acute (less than 90°). If it’s negative (between -1 and 0), the angle is obtuse (between 90° and 180°). This is a key part of interpreting the results of any geometry calculator.
  • Unit Consistency: While this calculator doesn’t require a specific unit, you must use the same unit (e.g., all centimeters or all inches) for all three sides for the calculation to be correct.

Frequently Asked Questions (FAQ)

1. What is the cosine rule used for?
The cosine rule is used to find a missing side when you know two sides and the included angle (SAS), or to find a missing angle when you know all three sides (SSS).
2. How do I know which side is ‘a’, ‘b’, and ‘c’?
Side ‘a’ must be the side opposite the angle ‘A’ you are trying to find. Sides ‘b’ and ‘c’ are the other two sides; their order doesn’t matter.
3. What happens if the sides don’t form a triangle?
The formula will produce a cosine value that is less than -1 or greater than 1. Since the arccos function is only defined for this range, it’s mathematically impossible to find an angle, and our calculator will display an error message.
4. Can I use this calculator for a right-angled triangle?
Yes. If you input the sides of a right-angled triangle, the cosine rule will still work. For the right angle, the cosine term will be cos(90°) = 0, and the formula simplifies to the Pythagorean theorem: a² = b² + c² (if A is the right angle). For this specific case, our right triangle calculator is more direct.
5. Why do I get an obtuse angle (more than 90°)?
You get an obtuse angle when the square of the opposite side (a²) is greater than the sum of the squares of the other two sides (b² + c²). This results in a negative value for the cosine, which corresponds to an angle between 90° and 180°.
6. What is the difference between Degrees and Radians?
They are two different units for measuring angles. A full circle is 360 degrees or 2π radians. The calculator allows you to choose your preferred unit for the result.
7. Does it matter what length units I use?
No, as long as you are consistent. The units cancel out in the formula’s ratio. Whether you use centimeters, inches, or miles, the resulting angle will be the same.
8. When should I use the Sine Rule instead of this Law of Cosines calculator?
Use the Sine Rule when you know two angles and one side (AAS or ASA) or two sides and a non-included angle (SSA). Use the Cosine Rule when you know two sides and the included angle (SAS) or all three sides (SSS), like in this Law of Cosines calculator.

Related Tools and Internal Resources

Explore other calculators and resources to deepen your understanding of geometry and trigonometry.

© 2026 SEO Calculator Hub. All Rights Reserved.


Leave a Reply

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