Skip to content

The sine rule and the cosine rule: which to use and how, with the area formula

TutorAura guide · Updated

For triangles without a right angle, SOHCAHTOA doesn't apply. Instead there are two rules. The sine rule links each side to the sine of the angle opposite it, and works when you know a side and its opposite angle. The cosine rule is Pythagoras with a correction term, and works when you know two sides and the angle between them, or all three sides. Label the triangle with capital letters for angles and the matching lower-case letters for the sides opposite them, and the formulas do the rest.

Key takeaways

  • Sine rule: a/sin A = b/sin B = c/sin C. Use with a side and its opposite angle.
  • Cosine rule: a² = b² + c² − 2bc cos A. Use with two sides and the included angle, or three sides.
  • Area of any triangle: ½ab sin C, with C the angle between sides a and b.
  • Side a is always opposite angle A.

Which rule?

You knowYou wantUse
Two angles and any sideAnother sideSine rule
Two sides and an angle not between themAnother angleSine rule
Two sides and the angle between themThe third sideCosine rule
All three sidesAn angleCosine rule

A quick test: if you can make a matching pair (a side and the angle opposite it), the sine rule works. If not, it's the cosine rule.

The sine rule

asin⁡A=bsin⁡B=csin⁡C\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}

Finding a side: in triangle ABC, A=40°A = 40°, B=75°B = 75° and a=8a = 8 cm. Find bb.

bsin⁡75°=8sin⁡40°  ⇒  b=8sin⁡75°sin⁡40°=12.0 cm\frac{b}{\sin 75°} = \frac{8}{\sin 40°} \;\Rightarrow\; b = \frac{8 \sin 75°}{\sin 40°} = 12.0 \text{ cm}

Finding an angle: flip the rule so the angles are on top: sin⁡Aa=sin⁡Bb\dfrac{\sin A}{a} = \dfrac{\sin B}{b}. With a=8a = 8, A=40°A = 40° and c=10c = 10: sin⁡C=10sin⁡40°8=0.8035\sin C = \dfrac{10 \sin 40°}{8} = 0.8035, so C=53.5°C = 53.5°.

The ambiguous case: when you find an angle with the sine rule from two sides and a non-included angle, there can be two valid triangles, because sin⁡θ=sin⁡(180°−θ)\sin\theta = \sin(180° - \theta). Here CC could also be 180°−53.5°=126.5°180° - 53.5° = 126.5° (which works, since 40°+126.5°<180°40° + 126.5° < 180°). Check whether the question's diagram or wording rules one out.

The cosine rule

a2=b2+c2−2bccos⁡Aa^2 = b^2 + c^2 - 2bc \cos A

Finding a side: two sides are 7 cm and 9 cm with a 60° angle between them. Find the third side.

a2=49+81−2(7)(9)cos⁡60°=130−63=67  ⇒  a=8.19 cma^2 = 49 + 81 - 2(7)(9)\cos 60° = 130 - 63 = 67 \;\Rightarrow\; a = 8.19 \text{ cm}

Finding an angle: rearrange to cos⁡A=b2+c2−a22bc\cos A = \dfrac{b^2 + c^2 - a^2}{2bc}. For sides 5, 7 and 8, the angle opposite the 8:

cos⁡A=25+49−642×5×7=1070  ⇒  A=81.8°\cos A = \frac{25 + 49 - 64}{2 \times 5 \times 7} = \frac{10}{70} \;\Rightarrow\; A = 81.8°

If cos⁡A\cos A comes out negative, the angle is obtuse; the cosine rule handles that correctly on its own, with no ambiguous case.

Area of a triangle

When you know two sides and the angle between them:

Area=12absin⁡C\text{Area} = \tfrac{1}{2} ab \sin C

Sides 7 cm and 9 cm with a 60° angle between: area =12×7×9×sin⁡60°=27.3= \tfrac{1}{2} \times 7 \times 9 \times \sin 60° = 27.3 cm². The angle must be the one between the two sides you use.

Putting them together

Longer questions chain the rules. Given three sides, the cosine rule finds one angle; the sine rule (or the cosine rule again) then finds another; the third comes from the angles summing to 180°; finally ½ab sin C gives the area. Write down what you know, mark it on the diagram, and pick the rule from the table each time. Our sine rule calculator and cosine rule calculator show every step.

Practice questions

  1. A=52°A = 52°, B=63°B = 63°, a=11a = 11 cm. Find bb.
  2. Sides 6 cm and 10 cm with an included angle of 110°. Find the third side.
  3. Sides 4, 6 and 9. Find the largest angle.
  4. Find the area of the triangle in question 2.

Answers: 1. 11sin⁡63°/sin⁡52°=12.411 \sin 63° / \sin 52° = 12.4 cm. 2. 36+100−120cos⁡110°=177.0=13.3\sqrt{36 + 100 - 120\cos 110°} = \sqrt{177.0} = 13.3 cm. 3. Opposite the 9: cos⁡A=(16+36−81)/48=−0.604\cos A = (16 + 36 - 81)/48 = -0.604, A=127.2°A = 127.2°. 4. 12×6×10×sin⁡110°=28.2\tfrac{1}{2} \times 6 \times 10 \times \sin 110° = 28.2 cm².

More practice in our sine rule questions and cosine rule questions.

Frequently asked questions

How do I know whether to use the sine rule or the cosine rule?

If you know a side and the angle opposite it (a matching pair), use the sine rule. If you know two sides and the angle between them, or all three sides, use the cosine rule.

What is the ambiguous case?

When the sine rule is used to find an angle from two sides and a non-included angle, there can be two possible answers, θ and 180° − θ, because both have the same sine. Check which fit the triangle.

Is the cosine rule the same as Pythagoras?

It's Pythagoras with an extra term. When A = 90°, cos A = 0 and the rule becomes a² = b² + c².

Sources

  1. GCSE mathematics: subject content and assessment objectives. Department for Education.
  2. GCSE maths and GCSE sciences: formulae and equation sheets for 2025 to 2027. AQA.
  3. Cambridge IGCSE Mathematics 0580 syllabus. Cambridge International.