Skip to the formula

Cosine rule formula: a² = b² + c² − 2bc cos A

The cosine rule formula is a² = b² + c² − 2bc cos A, or cos A = (b² + c² − a²) / 2bc.

What each letter means

When to use it

In A Level, alongside the sine rule and ½ab sin C, often in a longer problem such as a mechanics diagram or a shape built from triangles and sectors. With three sides known, use it for the largest angle.

Worked example

A triangle has sides 5 cm, 7 cm and 9 cm. Find its largest angle, to 1 decimal place.

  1. The largest angle is opposite the longest side, 9 cm
  2. \(\cos C=\dfrac{5^2+7^2-9^2}{2(5)(7)}=\dfrac{-7}{70}=-0.1\)

Answer: \(C=95.7^\circ\)

Common mistake

Rounding a side too early. Keep the full value on the calculator for the next part, or later answers drift outside the accepted range.

Fix it with practice: Skill Builder: Sine & cosine rules (free account).

Try one yourself

One quick A Level Maths question on the cosine rule. No sign-in needed.

In triangle \(ABC\), \(b = 12\) cm, \(c = 5\) cm and \(A = 100^\circ\). Find \(a\).
Choose your answer · keys 1–4

On your A Level Maths course

CourseIn the exam
UK A Level (Edexcel, AQA, OCR)Not given by Edexcel, AQA or OCR: learn it
Edexcel International A LevelIn Pearson’s IAL formulae booklet

From our own A Level Maths formula sheets, in our words. Official: Pearson's formulae booklet (PDF) · AQA's formulae booklet (PDF) · OCR's H240 assessment page · Pearson's IAL formulae booklet (PDF).

Practise and revise

Cosine rule formula card: a² = b² + c² − 2bc cos A, or cos A = (b² + c² − a²) / 2bc. A Level Math Revision
Cosine rule card for A Level Maths: download (PNG).

A Level Maths FAQ

Is the cosine rule in the A Level formula booklet?

UK A Level (Edexcel, AQA, OCR): not given by Edexcel, AQA or OCR: learn it. Edexcel International A Level: in Pearson’s IAL formulae booklet.

Why use the cosine rule for the largest angle?

cos A is negative for an obtuse angle, so the cosine rule shows it. The sine rule would give the acute angle with the same sine.

Our own wording, examples and card, checked by A Level Math Revision. Not produced or endorsed by Pearson Edexcel, AQA or OCR.