STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

The sine rule and cosine rule, explained

SOHCAHTOA only works in right-angled triangles. The sine rule and cosine rule work in any triangle, so you can find missing sides and angles in shapes such as roof trusses, survey plots and navigation routes.

On this page
  1. Labelling the triangle
  2. The sine rule
  3. The cosine rule
  4. Which rule should I use?
  5. Worked examples
  6. Multi-step questions
  7. The ambiguous case (Higher and A level)
  8. Area using sine
  9. Common mistakes
  10. Practice questions
  11. Frequently asked questions
  12. Key takeaways
  13. Related guides
ABCabc
Label the angles with capital letters and the side opposite each angle with the matching lower-case letter: side a is opposite angle A, and so on.

Labelling the triangle

Both rules depend on consistent labels. Call the angles A, B and C, and call the side opposite each angle by the matching lower-case letter: a is opposite A, b is opposite B and c is opposite C. Take a moment to label any exam triangle this way before choosing a rule; most errors come from mismatched pairs.

The sine rule

a / sin A = b / sin B = c / sin C

or, flipped, which is easier when finding an angle:

sin A / a = sin B / b = sin C / c

Use the sine rule when you know a side and its opposite angle, plus one other side or angle. In other words, you have a complete “pair” and one more piece of information.

The cosine rule

a² = b² + c² − 2bc cos A

or, rearranged to find an angle:

cos A = (b² + c² − a²) / 2bc

Use the cosine rule when you know two sides and the angle between them (to find the third side), or all three sides (to find an angle). Notice that when A = 90°, cos A = 0 and the cosine rule becomes Pythagoras' theorem.

Which rule should I use?

Worked examples

Example 1: sine rule for a side

In triangle ABC, A = 40°, B = 75° and a = 8 cm. Find b.

Example 2: sine rule for an angle

In triangle PQR, p = 9 cm, q = 7 cm and P = 64°. Find Q.

Example 3: cosine rule for a side

Two sides of a triangle are 5 cm and 8 cm, with an included angle of 60°. Find the third side.

Example 4: cosine rule for an angle

A triangle has sides 6 cm, 7 cm and 10 cm. Find the largest angle.

Example 5: area of a triangle

Find the area of the triangle in Example 3.

Example 6: a bearings problem

A ship sails 12 km on a bearing of 050°, then 9 km on a bearing of 120°. How far is it from its start?

Multi-step questions

Harder questions chain the rules together: use the cosine rule to find a side, then the sine rule to find an angle, then the area formula. Keep unrounded values in your calculator memory between steps, and round only the final answer, or small rounding errors can grow enough to lose the accuracy mark.

The ambiguous case (Higher and A level)

When you use the sine rule to find an angle, there can be two possible answers, because sin θ = sin(180° − θ). In Example 2, Q could be 44.4° or 135.6°. The second is only possible if it fits in the triangle with the given angle: 135.6° + 64° = 199.6°, which is more than 180°, so here only 44.4° works. Check the obtuse option whenever the question hints there might be two triangles, or asks for “all possible values”.

Area using sine

Area = ½ ab sin C, where a and b are two sides and C is the angle between them. It may appear on the formulae sheet for your exam year, but it is worth learning. It is often combined with the sine or cosine rule in multi-step questions: first find a missing side or angle, then the area.

Common mistakes

Practice questions

Try each one before opening the answer.

Q1. A = 30°, a = 5, B = 45°. Find b.

Show answer
b = 5 sin 45°/sin 30° ≈ 7.07.

Q2. Sides 4 and 6 with included angle 90°. Find the third side using the cosine rule.

Show answer
16 + 36 − 0 = 52, so √52 ≈ 7.21, matching Pythagoras.

Q3. A triangle has sides 5, 5 and 8. Find the angle opposite the 8.

Show answer
cos = (25 + 25 − 64)/50 = −0.28, so ≈ 106.3°.

Q4. Find the area of a triangle with sides 10 cm and 12 cm and included angle 150°.

Show answer
½ × 10 × 12 × sin 150° = 30 cm².

Frequently asked questions

Are the sine and cosine rules on GCSE Foundation?

No. They are Higher tier GCSE topics. Foundation students use SOHCAHTOA and Pythagoras in right-angled triangles.

Are they given in the GCSE formula sheet?

For GCSE exams in 2025, 2026 and 2027, a formulae sheet is provided with the Maths papers, covering formulae students previously had to memorise. Check the sheet for your exam year. Learn the formula anyway: recalling it instantly saves time and avoids copying errors. A level formula booklets may differ; check yours.

Key takeaways