Grade 12 · Mathematics · Trigonometry

Sine and cosine rules

Solve triangles that are not right-angled using the sine rule, the cosine rule and the area formula, with worked examples, bearings and practice questions.

By David K. Mvula Updated 19 September 2026 12 min read

By the end of this lesson you should be able to

  • Choose between the sine rule and the cosine rule for a given triangle
  • Find unknown sides and angles in any triangle
  • Find the area of a triangle using two sides and the included angle
  • Apply the rules to bearing problems

Why we need these rules

The ratios sine, cosine and tangent from right-angled triangles only work when the triangle has a right angle. Many real problems, such as distances across a river or the position of a ship, involve triangles with no right angle. The sine rule and the cosine rule solve those triangles.

Labelling the triangle

Label the angles with capital letters AA, BB, CC, and label each side with the small letter of the angle opposite it. Side aa is opposite angle AA, side bb is opposite angle BB, and side cc is opposite angle CC.

A B C a b c
Each small letter is opposite the capital letter with the same name.

Key ideas

Sine rule

asinA=bsinB=csinC\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}

Cosine rule

a2=b2+c22bccosAorcosA=b2+c2a22bca^2 = b^2 + c^2 - 2bc\cos A \qquad\text{or}\qquad \cos A = \frac{b^2 + c^2 - a^2}{2bc}

Area of a triangle

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

Use this table to decide which rule to use.

You are givenUse
Two angles and any sideSine rule
Two sides and an angle not between themSine rule
Two sides and the angle between themCosine rule
All three sidesCosine rule

Only two of the three fractions in the sine rule are used at a time. Choose the two that contain the information you have and the value you want.

Worked examples

Example 1: sine rule, finding a side. In triangle ABCABC, A=40°A = 40°, B=65°B = 65° and a=8a = 8 cm. Find bb.

We know a side and its opposite angle (aa and AA), and we want bb, whose opposite angle BB is known.

bsin65°=8sin40°b=8sin65°sin40°=11.3 cm\frac{b}{\sin 65°} = \frac{8}{\sin 40°} \quad\Rightarrow\quad b = \frac{8 \sin 65°}{\sin 40°} = 11.3 \text{ cm}

Example 2: sine rule, finding an angle. In triangle ABCABC, a=12a = 12 cm, b=9b = 9 cm and A=70°A = 70°. Find angle BB.

sinB9=sin70°12sinB=9sin70°12=0.7048\frac{\sin B}{9} = \frac{\sin 70°}{12} \quad\Rightarrow\quad \sin B = \frac{9 \sin 70°}{12} = 0.7048 B=sin1(0.7048)=44.8°B = \sin^{-1}(0.7048) = 44.8°

Side bb is shorter than side aa, so angle BB is smaller than angle AA. That means BB must be acute, so this is the only answer.

Example 3: cosine rule, finding a side. In triangle ABCABC, b=7b = 7 cm, c=10c = 10 cm and A=60°A = 60°. Find aa.

The known angle is between the two known sides, so use the cosine rule:

a2=72+1022(7)(10)cos60°=49+10070=79a^2 = 7^2 + 10^2 - 2(7)(10)\cos 60° = 49 + 100 - 70 = 79 a=79=8.89 cma = \sqrt{79} = 8.89 \text{ cm}

Example 4: cosine rule, finding an angle. A triangle has sides 55 cm, 66 cm and 77 cm. Find its largest angle.

The largest angle is opposite the longest side. Call it CC, with c=7c = 7:

cosC=52+62722(5)(6)=1260=0.2C=78.5°\cos C = \frac{5^2 + 6^2 - 7^2}{2(5)(6)} = \frac{12}{60} = 0.2 \quad\Rightarrow\quad C = 78.5°

Example 5: area. Two sides of a triangle are 88 cm and 1111 cm, and the angle between them is 42°42°. Find the area.

Area=12(8)(11)sin42°=29.4 cm2\text{Area} = \tfrac{1}{2}(8)(11)\sin 42° = 29.4 \text{ cm}^2

Example 6: bearings. A ship sails 12 km on a bearing of 040°040°, then 9 km on a bearing of 110°110°. How far is it from its starting point?

Between the two legs the ship turns through 110°40°=70°110° - 40° = 70°. The angle inside the triangle at the turning point is therefore 180°70°=110°180° - 70° = 110°.

The distance dd is opposite that angle, and the two known sides enclose it, so use the cosine rule:

d2=122+922(12)(9)cos110°=225+73.88=298.88d^2 = 12^2 + 9^2 - 2(12)(9)\cos 110° = 225 + 73.88 = 298.88 d=298.88=17.3 kmd = \sqrt{298.88} = 17.3 \text{ km}

Common mistakes

Calculator in the wrong mode. Make sure your calculator is in degrees. A quick test: sin30°\sin 30° should give 0.50.5.

Rounding too early. Keep full calculator values through a calculation and round only the final answer.

Using the wrong rule. If you are given two sides and the angle between them, the sine rule cannot start, because no side and its opposite angle are both known. Use the cosine rule.

Forgetting that cos\cos can be negative. For an obtuse angle such as 110°110°, cos110°\cos 110° is negative, so 2bccosA-2bc\cos A becomes positive. Let the calculator handle the sign.

Practice questions

Give lengths and areas to 3 significant figures and angles to 1 decimal place.

  1. In triangle PQRPQR, P=50°P = 50°, Q=70°Q = 70° and p=9p = 9 cm. Find qq.
  2. In triangle ABCABC, a=15a = 15 cm, b=10b = 10 cm and C=48°C = 48°. Find cc.
  3. A triangle has sides of 88 cm, 1010 cm and 1212 cm. Find its smallest angle.
  4. Find the area of a triangle with sides of 77 cm and 99 cm and an included angle of 30°30°.
  5. In triangle ABCABC, a=14a = 14 cm, b=10b = 10 cm and A=40°A = 40°. Find angle BB.
  6. A boat sails 8 km on a bearing of 060°060°, then 5 km on a bearing of 140°140°. Find its distance from the start.
  7. Two sides of a triangle are 66 cm and 88 cm and its area is 2020 cm². Find the acute angle between the two sides.
Show answers
  1. q=9sin70°sin50°=11.0q = \dfrac{9 \sin 70°}{\sin 50°} = 11.0 cm
  2. c2=152+1022(15)(10)cos48°=124.26c^2 = 15^2 + 10^2 - 2(15)(10)\cos 48° = 124.26, so c=11.1c = 11.1 cm
  3. The smallest angle is opposite the 88 cm side: cosθ=102+122822(10)(12)=0.75\cos\theta = \dfrac{10^2 + 12^2 - 8^2}{2(10)(12)} = 0.75, so θ=41.4°\theta = 41.4°
  4. 12(7)(9)sin30°=15.75\tfrac{1}{2}(7)(9)\sin 30° = 15.75 cm², which is 15.815.8 cm² to 3 significant figures
  5. sinB=10sin40°14=0.4591\sin B = \dfrac{10 \sin 40°}{14} = 0.4591, so B=27.3°B = 27.3°. Side bb is shorter than side aa, so BB is acute.
  6. The turn is 140°60°=80°140° - 60° = 80°, so the interior angle is 100°100°. Then d2=82+522(8)(5)cos100°=102.89d^2 = 8^2 + 5^2 - 2(8)(5)\cos 100° = 102.89, so d=10.1d = 10.1 km
  7. 12(6)(8)sinθ=20\tfrac{1}{2}(6)(8)\sin\theta = 20, so sinθ=2024=0.8333\sin\theta = \dfrac{20}{24} = 0.8333 and θ=56.4°\theta = 56.4°

Summary

  • Label each side with the small letter of the angle opposite it.
  • Use the sine rule when you know a side and its opposite angle. Use the cosine rule for two sides and the included angle, or for three sides.
  • Area =12absinC= \tfrac{1}{2}ab\sin C when you know two sides and the angle between them.
  • In bearing problems, work out the angle inside the triangle first, then choose the rule.

Now practise this topic

Real questions show you what still needs work. Try a past paper under timed conditions, or take a short quiz.