How To Find An Angle With 3 Sides

9 min read

How to Find an Angle with 3 Sides: A Step‑by‑Step Guide Using the Law of Cosines

When you know the lengths of all three sides of a triangle but none of its angles, determining any interior angle becomes a straightforward application of the law of cosines. Worth adding: this formula relates the three side lengths to the cosine of one of the angles, allowing you to solve for the angle directly. Whether you are a high‑school geometry student, a college engineering learner, or someone refreshing trigonometry basics, mastering this technique will let you solve a wide range of practical problems—from surveying land to designing mechanical linkages The details matter here..


Why the Law of Cosines Works

In any triangle with sides a, b, and c opposite angles A, B, and C respectively, the law of cosines states:

[ c^{2}=a^{2}+b^{2}-2ab\cos(C) ]

Re‑arranging to isolate the cosine term gives:

[ \cos(C)=\frac{a^{2}+b^{2}-c^{2}}{2ab} ]

Because the cosine function is invertible on the interval ([0,\pi]) (0° to 180°), taking the inverse cosine (arccos) yields the unique angle C that satisfies the equation. The same relationship holds for the other two angles by cyclically permuting the side labels.

Key points to remember

  • The formula works for all triangle types—acute, right, and obtuse.
  • If the triangle is right‑angled, the law of cosines reduces to the Pythagorean theorem, confirming consistency.
  • The result of the arccos function will be in radians if your calculator is set to radian mode; switch to degree mode for angle measurements in degrees.

Step‑by‑Step Procedure to Find an Angle

Follow these clear steps to compute any angle when you have the three side lengths.

  1. Label the triangle
    Assign each side a letter (a, b, c) and decide which angle you want to find. As an example, to find angle C opposite side c, keep the sides as they are.

  2. Plug the values into the law of cosines formula
    Use the rearranged version: [ \cos(\text{desired angle}) = \frac{(\text{side}_1)^2 + (\text{side}_2)^2 - (\text{opposite side})^2}{2 \times (\text{side}_1) \times (\text{side}_2)} ]

  3. Calculate the numerator and denominator
    Square the two known sides, add them, subtract the square of the opposite side, then divide by twice the product of the two known sides.

  4. Take the inverse cosine (arccos)
    Apply the arccos function to the result from step 3. Ensure your calculator is in the correct mode (degrees or radians) according to the required answer format Worth keeping that in mind..

  5. Interpret the result
    The output is the measure of the desired interior angle. Verify that it lies between 0° and 180° (or 0 and π radians). If you obtain a value outside this range, double‑check your arithmetic.

  6. Optional: Find the remaining angles
    Once one angle is known, you can use the law of sines or repeat the law of cosines for another angle, or simply subtract the known angles from 180° (since the sum of interior angles in any triangle equals 180°).


Worked Example

Problem:
A triangle has side lengths a = 7 cm, b = 10 cm, and c = 5 cm. Find angle C opposite side c.

Solution:

  1. Identify the sides:
    Side adjacent to angle C: a = 7 cm, b = 10 cm.
    Opposite side: c = 5 cm.

  2. Apply the formula: [ \cos(C) = \frac{a^{2}+b^{2}-c^{2}}{2ab} = \frac{7^{2}+10^{2}-5^{2}}{2 \times 7 \times 10} ]

  3. Compute squares: [ 7^{2}=49,\quad 10^{2}=100,\quad 5^{2}=25 ] Numerator: (49+100-25 = 124) Simple, but easy to overlook..

  4. Compute denominator: [ 2 \times 7 \times 10 = 140 ]

  5. Form the fraction: [ \cos(C) = \frac{124}{140} = 0.885714\ldots ]

  6. Take arccos (calculator in degree mode): [ C = \arccos(0.885714) \approx 27.^\circ ] More precisely, (C \approx 27.13^\circ).

Check:
Since all sides are positive and the computed angle is less than 90°, the triangle is acute, which is plausible given the side lengths Easy to understand, harder to ignore..


Alternative Approach: Using the Law of Sines After One Angle

If you prefer to avoid repeated law of cosines calculations, you can find one angle with the law of cosines (as shown above) and then determine the other two angles using the law of sines:

[ \frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)} ]

Once you know, say, angle C and its opposite side c, you can solve for angle A:

[ \sin(A) = \frac{a \cdot \sin(C)}{c} \quad\Longrightarrow\quad A = \arcsin!\left(\frac{a \sin(C)}{c}\right) ]

Then obtain angle B by subtraction: (B = 180^\circ - A - C).
Note: The arcsin function returns an angle between –90° and 90°; if the triangle is obtuse, you may need to adjust by taking (180^\circ - \arcsin(\dots)) for the appropriate angle Practical, not theoretical..

This is where a lot of people lose the thread Small thing, real impact..


Special Cases and Quick Checks

Triangle Type Relationship Among Sides How the Law of Cosines Simplifies
Right triangle (c^{2}=a^{2}+b^{2}) (Pythagorean) (\cos(C)=\frac{a^{2}+b^{2}-c^{2}}{2ab}=0) → (C=90^\circ)
Equilateral triangle (a=b=c) (\cos(C)=\frac{a^{2}+a^{2}-a^{2}}{2a^{2}}=\frac{1}{2}) → (C=60^\circ)
**Isosceles
Triangle Type Relationship Among Sides How the Law of Cosines Simplifies
Isosceles Two sides equal, e.g. No algebraic shortcuts exist beyond plugging the numbers into the formula. \bigl( \cos C
Scalene All three sides are different ((a\neq b\neq c)) The law of cosines is the general tool: (\displaystyle \cos(C)=\frac{a^{2}+b^{2}-c^{2}}{2ab}).
Acute Every angle is less than (90^\circ); consequently each cosine is positive: (\cos(A),\cos(B),\cos(C)>0) (\displaystyle \cos(C)=\frac{a^{2}+b^{2}-c^{2}}{2ab}>0).
Obtuse The side opposite the obtuse angle is longest: (c^{2}>a^{2}+b^{2}) (\displaystyle \cos(C)=\frac{a^{2}+b^{2}-c^{2}}{2ab}<0). After computing the cosine, a simple (\arccos) gives the acute angle directly.

Quick Checklist for Angle Calculations

  1. Identify the side opposite the angle you need (call it (c)) and the two sides that form the angle ((a) and (b)).
  2. Plug into the law of cosines: (\displaystyle \cos(C)=\frac{a^{2}+b^{2}-c^{2}}{2ab}).
  3. Compute the cosine – keep a calculator in degree mode and double‑check arithmetic (the article’s opening reminder still applies!).
  4. Take the arccosine to obtain the angle.
  5. Verify the result:
    • All angles should sum to (180^\circ).
    • If any angle is obtuse

… if any angle is obtuse, remember that the inverse cosine already returns the correct obtuse value (since (\arccos) yields angles in (0^\circ) to (180^\circ)). Only when you prefer to work with the sine function—perhaps because you have already computed a side‑length ratio—do you need to apply the (180^\circ-\arcsin(\dots)) adjustment to obtain the obtuse angle And that's really what it comes down to..

Finding the remaining angles

Once you have one angle, say (C), you can determine the other two without re‑applying the law of cosines:

  1. Law of sines – (\displaystyle \frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C}).
    Compute, for example, (\sin A = a,\frac{\sin C}{c}) and then (A = \arcsin(\sin A)).
    Keep the calculator in degree mode Worth keeping that in mind. Surprisingly effective..

  2. Ambiguity check – If the triangle is not known to be acute, the arcsine may give an acute supplement.

    • If the side opposite the angle you are solving for is the longest side, the angle must be obtuse; replace the acute result by (180^\circ - \arcsin(\sin A)).
    • Otherwise, the acute result is correct.
  3. Angle sum verification – After obtaining (A) and (B), confirm that (A+B+C = 180^\circ) (within rounding tolerance). A mismatch usually signals a slip in the earlier cosine calculation or an incorrect quadrant choice.

Practical tips to avoid common pitfalls

  • Square first, then subtract – When forming (a^2+b^2-c^2), compute each square individually before combining; this reduces the chance of sign errors.
  • Watch for very small or large numbers – If the sides differ by orders of magnitude, consider scaling them (e.g., divide all sides by the longest side) to keep intermediate values within the calculator’s comfortable range.
  • Use the cosine sign as a quick obtuseness test – A negative (\cos C) instantly tells you (C>90^\circ); a positive value means (C<90^\circ). This can guide you before you even touch the arccosine button.
  • Document each step – Write down the intermediate cosine value; if you later need to recompute an angle via the law of sines, you’ll have the exact (\sin C) ready.

Example (brief)
Suppose (a=7), (b=10), (c=12).
[ \cos C = \frac{7^2+10^2-12^2}{2\cdot7\cdot10} = \frac{49+100-144}{140} = \frac{5}{140}=0.035714. ]
(C = \arccos(0.035714) \approx 87.95^\circ) (acute).
Then (\sin C \approx 0.99936).
Using the law of sines for angle (A):
[ \sin A = \frac{a\sin C}{c}= \frac{7\times0.99936}{12}\approx0.58296, \quad A = \arcsin(0.58296)\approx 35.66^\circ. ]
Finally (B = 180^\circ - A - C \approx 56.39^\circ).
The sum checks to (180.00^\circ) within rounding error.


Conclusion

The law of cosines provides a reliable, unified pathway to any triangle’s interior angle, regardless of whether the triangle is right, obtuse, acute, isosceles, or scalene. By carefully identifying the opposite side, computing the cosine, and applying the appropriate inverse trigonometric function—taking into account the sign of the cosine and, when needed, the supplementary‑angle adjustment for sine‑based solutions—you can obtain accurate angle measures. Practically speaking, verifying the angle sum and cross‑checking with the law of sines safeguards against arithmetic slips and quadrant ambiguities. With these steps in hand, solving triangles becomes a straightforward, repeatable process.

Just Added

Recently Written

Same Kind of Thing

Explore a Little More

Thank you for reading about How To Find An Angle With 3 Sides. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home