Cosine rule formula: sides, angles and GCSE exam questions
Find a side or an angle step by step, choose between the cosine rule, the sine rule and ½ab sin C, and practise on two exam questions.
On this page
The cosine rule finds a missing side or a missing angle in any triangle, not only a right-angled one. Here it is:
a² = b² + c² − 2bc cos A
Side a is opposite angle A, and angle A is the angle between sides b and c. Use the rule when you know two sides and the angle between them (to find the third side), or when you know all three sides (to find an angle).
This page follows Pearson Edexcel GCSE Mathematics (1MA1). Edexcel's specification prints the sine rule, the cosine rule and area = ½ab sin C (statements G22 and G23) in bold type, which marks content that only Higher tier papers test.
What is the cosine rule formula?
The letters follow one pattern. Each small letter is a side, and each capital letter is the angle opposite the side with the same letter. So side a is opposite angle A: it doesn't touch it. Side b is opposite angle B, and side c is opposite angle C.

The angle between two sides is called the included angle. In the cosine rule, A is the included angle of sides b and c, because those are the two sides that meet at A. The side you square on the left, a, is always the one opposite that angle.
The rule comes in two forms. To find a side, use it as it is: a² = b² + c² − 2bc cos A. To find an angle, rearrange it to make cos A the subject:
Then use the inverse cosine button, cos⁻¹, to turn the value of cos A into an angle.
Edexcel's Higher tier formula sheet prints the sine rule, the cosine rule and area = ½ab sin C: our formula sheet guide shows the whole sheet. It prints the cosine rule only in the form for a side, a² = b² + c² − 2bc cos A, so the form for an angle is that line rearranged.
Which rule to use: cosine rule, sine rule or area formula
What you already know about the triangle decides the rule. Sketch the triangle first and mark the side or angle you want, the side opposite each named angle, and whether a known angle sits between the two known sides.
| What you know | What you want | Use |
|---|---|---|
| Two sides and the included angle | The third side | Cosine rule |
| Three sides | An angle | Cosine rule (the form for an angle) |
| A side and its opposite angle, plus another side or angle | A side or an angle | Sine rule |
| Two sides and the included angle | The area | Area = ½ab sin C |
| The area, one side and the included angle | The other side | The area formula, rearranged |
| The area and two sides | The included angle | The area formula, rearranged |
The test for the cosine rule is whether the angle you know (or want) sits between the two sides you know. If it does, or if you know all three sides, it's the cosine rule. If you know a side and the angle facing it, it's the sine rule.
These rules are for triangles that aren't necessarily right-angled. If the triangle has a right angle, use the right-angled methods instead: Pythagoras' theorem and SOHCAHTOA.
How to find a side with the cosine rule
- Check that the two sides you know meet at the angle you know. That angle is A.
- Label the side you want a (it is opposite A), and the two known sides b and c. It doesn't matter which is b and which is c.
- Substitute into a² = b² + c² − 2bc cos A.
- Work out a², keeping the full value on your calculator.
- Square root it, and round only at the end.
Worked example: finding a side
This needs a calculator, so it is a Paper 2 or Paper 3 question.
In a triangle, b = 9 cm, c = 13 cm and the angle between them is A = 58°. Find a.
- Sides b and c meet at angle A, so the side opposite it is a. Use the cosine rule.
- a² = 9² + 13² − 2 × 9 × 13 × cos 58°
- a² = 125.998...
- a = √125.998... = 11.224...
- a = 11.2 cm, to 3 significant figures.
Key line 2 in one go, exactly as it is written: your calculator works out 2 × 9 × 13 × cos 58° before it subtracts, which is what the rule needs.
How to find an angle with the cosine rule
- Call the angle you want A. The side opposite it is a, and the other two sides are b and c.
- Substitute into cos A = (b² + c² − a²) ÷ (2bc).
- Work out the value of cos A.
- Use cos⁻¹ to find A, and round at the end.
- Check it makes sense: the longest side is opposite the largest angle.
Worked example: finding an angle
This needs a calculator, so it is a Paper 2 or Paper 3 question.
A triangle has sides a = 12 cm, b = 9 cm and c = 10 cm. Find angle A.
- Side a is opposite angle A, so a² is the one subtracted on the top.
- cos A = (9² + 10² − 12²) ÷ (2 × 9 × 10)
- cos A = 37 ÷ 180
- A = cos⁻¹(37 ÷ 180) = 78.137...°
- A = 78.1°, to 1 decimal place.
The answer is reasonable: a = 12 cm is the longest side, so angle A should be the largest angle. The brackets in line 2 matter. Without them, your calculator divides only the 12² by 2 and then multiplies by 9 × 10.
Area of a triangle: ½ab sin C
When you know two sides and the included angle, the area of any triangle is:
Area = ½ab sin C
Here sides a and b meet at angle C. The angle must be the one between the two sides you use.

The dashed height in the picture is a sin C, so the formula is ½ × base × perpendicular height in disguise.
Worked example: finding the area
This needs a calculator, so it is a Paper 2 or Paper 3 question.
A triangle has a = 12 cm, b = 9 cm and the angle between them C = 53°. Find its area.
- Area = ½ × 12 × 9 × sin 53°
- Area = 43.126...
- Area = 43.1 cm², to 3 significant figures.
The formula also works backwards. If you know the area:
- to find a side, b = (2 × Area) ÷ (a sin C);
- to find the included angle, sin C = (2 × Area) ÷ (ab), then use sin⁻¹.
Area is in square units, such as cm² or m². And check the angle before you start: if you know sides a and b but the angle you're given is A, it isn't between them, so the formula can't be used directly.
The sine rule: when to use it instead
The sine rule pairs each side with the angle opposite it:
a ÷ sin A = b ÷ sin B = c ÷ sin C
Use it when you know a side and its opposite angle, plus one more side or angle. Each part of the rule must hold a side and the angle directly opposite it: a with A, b with B. A pair such as a and angle B is not a matched pair.

Worked example: finding a side with the sine rule
This needs a calculator, so it is a Paper 2 or Paper 3 question.
In a triangle, a = 8 cm, A = 35° and B = 72°. Find b.
- You know side a and its opposite angle A, and you want b, which is opposite B. So use a ÷ sin A = b ÷ sin B.
- 8 ÷ sin 35° = b ÷ sin 72°
- b = (8 × sin 72°) ÷ sin 35°
- b = 13.264...
- b = 13.3 cm, to 3 significant figures.
To find an angle instead, rearrange so its sine is the subject, for example sin B = (b × sin A) ÷ a, then use sin⁻¹.
Cosine rule and area of a triangle exam questions with answers
Each question below is an exam-style question from Medly, marked with Medly's mark scheme.
Question 1: (5 marks)
This needs a calculator, so it is a Paper 2 or Paper 3 question.
Triangle ABC has AB = 9.2 cm, AC = 11.4 cm and angle BAC = 72°, as shown in the figure.

(a) Find the length of BC. Give your answer correct to 3 significant figures. (3 marks)
(b) Find the area of triangle ABC. Give your answer correct to 3 significant figures. (2 marks)
Answer
(a)
- BC is opposite angle BAC, and AB and AC meet at that angle, so use the cosine rule: BC² = 9.2² + 11.4² − 2 × 9.2 × 11.4 × cos 72° (1 mark). Any equivalent cosine rule arrangement is accepted.
- BC² = 149.780..., so BC = √149.780... = 12.238... cm (1 mark). Equivalent unrounded values are accepted.
- BC = 12.2 cm, to 3 significant figures (1 mark, needed for full marks). 12.2 with the unit left off is accepted. If 12.24 cm is shown in the working before a wrong rounding step, this mark is still given.
(b)
- AB and AC meet at the 72° angle, so use Area = ½ × 9.2 × 11.4 × sin 72° (1 mark). Any equivalent setup of Area = ½ab sin C is accepted.
- Area = 49.873..., so the area is 49.9 cm², to 3 significant figures (1 mark, needed for full marks). 49.9 with the unit left off is accepted.
You don't need BC for part (b): the area uses the two sides that meet at the 72° angle.
Question 2: (5 marks)
This needs a calculator, so it is a Paper 2 or Paper 3 question.
In triangle ABC, AB = 9.5 cm and AC = 13.2 cm. The area of triangle ABC is 52 cm². Angle BAC is acute.

(a) Find the size of angle BAC. Give your answer correct to 1 decimal place. (3 marks)
(b) The point N lies on AC so that BN is perpendicular to AC. Find the length of BN. Give your answer correct to 3 significant figures. (2 marks)
Answer
(a)
- AB and AC meet at angle BAC, so substitute into Area = ½ab sin C: ½ × 9.5 × 13.2 × sin BAC = 52 (1 mark). An equivalent form, such as 62.7 × sin BAC = 52, is accepted.
- Rearrange: sin BAC = 52 ÷ 62.7, which is the same as 104 ÷ 125.4 = 0.829..., then use sin⁻¹ (1 mark). This mark is also given if a correct final answer implies it.
- Angle BAC = 56.0° (1 mark). Answers from 56.0° to 56.1° are accepted, with or without the unit. 124.0° is not accepted, because the question says angle BAC is acute (124.0° is 180° − 56.0°, an obtuse angle with the same sine).
(b)
- Use the area again, with AC as the base and BN as the perpendicular height: ½ × 13.2 × BN = 52, so BN = (2 × 52) ÷ 13.2 (1 mark). Another route earns the same mark: right-angled trigonometry in triangle ABN, BN = 9.5 × sin BAC, with the angle from part (a).
- BN = 7.878..., so BN = 7.88 cm, to 3 significant figures (1 mark). Answers from 7.87 to 7.89 are accepted.
Where marks are lost on cosine rule questions
Both of these come from the mark schemes above.
- The last rounding step. In Question 1, the mark for the answer to 3 significant figures is the one needed for full marks in both parts. Keep the full value on your screen and round once, at the end. The scheme for part (a) still gives that mark if 12.24 cm is shown before a wrong rounding.
- An angle the question rules out. Question 2's scheme does not accept 124.0°, because the question says angle BAC is acute. Read the stem for a word like "acute" before you write the angle down.
Choosing the rule is the step that decides these questions, and it gets quicker with every triangle you sketch and label. Medly has an Edexcel GCSE Mathematics course at Higher. Medly's free plan includes 5 marked questions, 20 AI tutor messages and 1 uploaded paper a day, with no card needed.
Which paper is the cosine rule on?
Any of the three. Edexcel's specification says the content for each tier is assessed across all three papers. Paper 1 is the non-calculator paper, and a calculator is allowed in Papers 2 and 3. Our specification guide has the papers and their dates.
The mathematics on this page does not change with the exam board. What it says about tiers, papers and the formula sheet is Edexcel's: if you sit another board, check those in your own specification.
Frequently asked questions
What is the cosine rule?
The cosine rule is a² = b² + c² − 2bc cos A, a formula that links the three sides of any triangle with one of its angles. Side a is opposite angle A, and A is the angle between sides b and c.
When do you use the cosine rule and when the sine rule?
Use the cosine rule when you know two sides and the angle between them, or all three sides. Use the sine rule when you know a side and the angle opposite it, plus one more side or angle.
How do you find an angle with the cosine rule?
Rearrange the rule to cos A = (b² + c² − a²) ÷ (2bc), where a is the side opposite the angle you want. Work out the right-hand side, then use cos⁻¹ on your calculator.
Does ½ab sin C work for any triangle?
It works for any triangle, as long as C is the angle between sides a and b. Edexcel's specification words it as "know and apply Area = ½ab sin C to calculate the area, sides or angles of any triangle".
Is the cosine rule on the formula sheet?
Edexcel's Higher tier formula sheet prints it, in the form for a side: a² = b² + c² − 2bc cos A. The Foundation tier formula sheet does not print it, and it doesn't print the sine rule or area = ½ab sin C either.
Is the cosine rule on the Foundation paper?
Edexcel's Foundation tier list has no statement on the sine rule or the cosine rule. They are statement G22 of the Higher tier list, which Edexcel's specification prints in bold: "know and apply the sine rule a/sin A = b/sin B = c/sin C, and cosine rule a² = b² + c² − 2bc cos A, to find unknown lengths and angles". Bold type marks content that only Higher tier papers test.