Cosine Rule: Formula, How to Use It and Common Mistakes

You’re revising for your GCSE maths and you keep seeing questions that look like they need the sine rule, but you’re not sure when to switch to the cosine rule. The cosine rule is a formula that helps you find missing sides or angles in non-right-angled triangles. It works for any triangle, as long as you have the right information to plug in.

This guide covers the cosine rule formula, when to use it, how to rearrange it to find a side or an angle, and the most common mistakes students make. We’ll walk through step-by-step examples and show you how to apply it to 3D problems too. By the end, you’ll be able to spot cosine-rule questions and solve them with confidence.

What Is the Cosine Rule?

The cosine rule is a trigonometric formula that relates the lengths of the sides of a triangle to the cosine of one of its angles. It is sometimes called the law of cosines. You use it when you have a non-right-angled triangle (also called an oblique triangle) and you need to find a missing side or angle.

It works for any triangle, not just right-angled ones. That’s what makes it useful. If you only have right-angled triangles, you can use SOH CAH TOA, but for every other triangle, the sine and cosine rules are your go-to tools.

The Cosine Rule Formula

The standard form of the cosine rule is:

a² = b² + c² – 2bc · cos(A)

Where:

  • a is the side opposite angle A
  • b and c are the other two sides
  • A is the angle between sides b and c

You can also write it as:

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

This second version is used when you know all three sides and need to find an angle.

When to Use the Cosine Rule (and When to Use the Sine Rule)

Knowing which rule to use is half the battle. Use the cosine rule in these two situations:

  • You know two sides and the included angle (the angle between them) and you need to find the third side.
  • You know all three sides and you need to find any angle.

Use the sine rule when you have:

  • Two angles and one side
  • Two sides and a non-included angle (the ambiguous case)

[Table: When to use cosine rule vs sine rule – decision flowchart]

What You Know What You Need Which Rule
Two sides + included angle Third side Cosine rule
All three sides Any angle Cosine rule
Two angles + one side Another side Sine rule
Two sides + non-included angle Another angle or side Sine rule (ambiguous case)

How to Use the Cosine Rule to Find a Side

Let’s walk through an example. Suppose you have a triangle where side b = 6 cm, side c = 8 cm, and angle A = 60°. You need to find side a.

Step 1: Write down the formula: a² = b² + c² – 2bc · cos(A).

Step 2: Substitute the numbers: a² = 6² + 8² – 2(6)(8) · cos(60°).

Step 3: Calculate: cos(60°) = 0.5, so a² = 36 + 64 – 96 · 0.5 = 100 – 48 = 52.

Step 4: Take the square root: a = √52 ≈ 7.21 cm.

Always check that your answer makes sense with the triangle inequality and the given sides.

How to Use the Cosine Rule to Find an Angle

Now suppose you know all three sides: a = 7 cm, b = 9 cm, c = 11 cm, and you need angle A.

Step 1: Use the rearranged formula: cos(A) = (b² + c² – a²) / (2bc).

Step 2: Substitute: cos(A) = (9² + 11² – 7²) / (2 · 9 · 11) = (81 + 121 – 49) / 198 = 153 / 198 = 0.7727.

Step 3: Find the inverse cosine: A = cos⁻¹(0.7727) ≈ 39.4°.

Make sure your calculator is in degree mode unless you’re working in radians.

Proof of the Cosine Rule

If you’re curious why the formula works, here’s a quick outline. Start with a triangle ABC. Drop a perpendicular from vertex B to side AC, meeting at point D. Let AD = x, so DC = b – x (where b is the full length of AC).

In the right-angled triangle ABD, by Pythagoras: c² = h² + x².

In the right-angled triangle BDC: a² = h² + (b – x)².

Subtract the first equation from the second: a² – c² = (b – x)² – x² = b² – 2bx.

Also, from triangle ABD, x = c · cos(A). Substitute that in: a² = c² + b² – 2bc · cos(A). This gives the cosine rule.

This proof assumes angle A is acute, but the rule works for obtuse angles too, with a similar construction using directed lengths.

Common Mistakes and How to Avoid Them

Students often trip up on a few things when using the cosine rule:

  • Labelling the sides incorrectly. Side a must be opposite angle A. Double-check your triangle diagram before substituting.
  • Forgetting to square the sides. The formula has b² and c², not b and c. It’s a common arithmetic error.
  • Mixing up the sine rule and cosine rule. If you have two sides and the included angle, you must use the cosine rule. The sine rule won’t work.
  • Using the wrong angle. The angle A must be between sides b and c. If it’s not, the formula doesn’t apply.
  • Sign errors with negative cosines. For obtuse angles, cos(A) is negative. This will give you a larger side, which is correct. Don’t be surprised by a negative value inside the formula.

Worked Examples

Let’s put everything together with a more complex example.

Example 1: In triangle ABC, AB = 5 cm, BC = 7 cm, and angle B = 120°. Find side AC.

Here, side b (AC) is opposite angle B. So we label: b = AC, a = BC = 7 cm, c = AB = 5 cm, and B = 120°.

Using the formula: b² = a² + c² – 2ac · cos(B).

Substitute: b² = 7² + 5² – 2(7)(5) · cos(120°). cos(120°) = –0.5.

b² = 49 + 25 – 70 · (–0.5) = 74 + 35 = 109. So b = √109 ≈ 10.44 cm.

Example 2: Three sides of a triangle are 6 cm, 8 cm and 10 cm. Find the largest angle.

The largest angle is opposite the largest side, which is 10 cm. So a = 10, b = 6, c = 8.

cos(A) = (b² + c² – a²) / (2bc) = (36 + 64 – 100) / (96) = 0 / 96 = 0. So A = cos⁻¹(0) = 90°.

That triangle is right-angled, so the cosine rule confirms Pythagoras works.

Cosine Rule in 3D Problems

The cosine rule isn’t just for 2D triangles. In 3D geometry, you often need to find the angle between two lines or a line and a plane. The same formula applies when you can identify a triangle within the 3D shape.

For example, in a cuboid, to find the angle between a face diagonal and a space diagonal, you can form a triangle using the dimensions of the cuboid and apply the cosine rule. The key is to draw the relevant triangle and label the sides correctly before substituting.

Frequently Asked Questions

Q: What is the cosine rule formula?

The cosine rule is a² = b² + c² – 2bc · cos(A). It relates the sides and angles of any triangle, not just right-angled ones.

Q: When do you use the cosine rule?

You use it when you know two sides and the included angle and need the third side, or when you know all three sides and need to find an angle.

Q: How is the cosine rule different from the sine rule?

The sine rule is used when you have two angles and one side, or two sides and a non-included angle. The cosine rule is used when you have two sides and the included angle, or all three sides.

Q: Can you use the cosine rule for right-angled triangles?

Yes, but it simplifies to Pythagoras’ theorem when the angle A is 90°, because cos(90°) = 0, so a² = b² + c².

Q: What is the ambiguous case with the sine rule?

The ambiguous case happens when you have two sides and a non-included angle. The sine rule can give two possible triangles because sin(θ) = sin(180° – θ). The cosine rule has no ambiguous case because the cosine function is one-to-one for angles between 0° and 180°.

Q: What if angle A is obtuse?

The formula still works. cos(A) will be negative, which means the term –2bc · cos(A) becomes positive, making side a longer. That’s correct for an obtuse angle opposite the longest side.

Q: Do I need to know the proof for the cosine rule?

At GCSE, you usually just need to apply it. At A-Level, you may be asked to derive it or prove it. The proof involves dropping a perpendicular and using Pythagoras, as shown in this guide.

Q: Can I use the cosine rule to find the area of a triangle?

Not directly. The cosine rule finds side lengths and angles. For area, use the formula Area = ½ · ab · sin(C) once you have two sides and the included angle.

Q: How do I know which side is a, b, or c?

Side a is always opposite angle A. Side b is opposite angle B, and side c is opposite angle C. Label your triangle first so that the known angle corresponds to the correct opposite side.

Q: Is the cosine rule on the GCSE maths formula sheet?

Yes, the cosine rule is on the AQA and Edexcel GCSE formula sheets for higher tier. It’s also on the A-Level formula sheets. You don’t need to memorise it, but you do need to know how to use it.

  • Related Posts

    Ella Purnell Nude Scenes: What She Has Actually Said and Show

    Ella Purnell is a British actress who has spoken publicly and repeatedly about refusing nude scenes early in her career, then agreeing to a brief nude moment in Sweetbitter for…

    MyMMU: The Student Portal for Manchester Metropolitan University

    You’ve just started at Manchester Metropolitan University and you keep hearing about MyMMU, but you’re not sure what it is or how to use it. MyMMU is the central student…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    Mining Dimension ATM10 Ore Levels: The Complete Y-Level Guide

    • By Haris
    • November 19, 2026
    • 4 views
    Mining Dimension ATM10 Ore Levels: The Complete Y-Level Guide

    Sand Mage of the Scorched Desert: The Manhwa Explained

    • By Haris
    • November 19, 2026
    • 6 views
    Sand Mage of the Scorched Desert: The Manhwa Explained

    Strawberry Thief: The William Morris Design That Turned a Garden Pest into a British Icon

    • By Haris
    • November 16, 2026
    • 6 views
    Strawberry Thief: The William Morris Design That Turned a Garden Pest into a British Icon

    Shrubland Hall: A Grand Suffolk Estate Closed to the Public and Fighting for Its Future

    • By Haris
    • November 16, 2026
    • 6 views
    Shrubland Hall: A Grand Suffolk Estate Closed to the Public and Fighting for Its Future

    Royal Wharf UK: A Practical Guide to London’s Riverside Neighbourhood

    • By Haris
    • November 14, 2026
    • 8 views
    Royal Wharf UK: A Practical Guide to London’s Riverside Neighbourhood

    Tonbridge Swimming Pool: Prices, Timings and What to Know Before You Go

    • By Haris
    • November 14, 2026
    • 7 views
    Tonbridge Swimming Pool: Prices, Timings and What to Know Before You Go