Sine Rule and Cosine Rule

⏱ 9 min✏️ Quiz at the end

Introduction

Trigonometry with SOH CAH TOA only works on right-angled triangles. Most triangles in the real world — the shape of a plot of land, the path of a ship, the angles in a truss bridge — do not have a right angle. The sine rule and cosine rule solve this problem: they let you find missing sides and angles in any triangle, right-angled or not.

Both rules relate the three sides and three angles of a triangle. By convention, side a is opposite angle A, side b is opposite angle B, and side c is opposite angle C. Getting this labelling right is the first step in every problem.

The Sine Rule

The sine rule states:

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

This means the ratio of a side to the sine of its opposite angle is the same for all three sides of the triangle.

Use the sine rule when you have a complete angle-side pair (one angle and the side directly opposite it) plus one more known angle or side.

Finding a side: Suppose angle A = 40°, angle B = 60°, and side a = 8cm. Find side b.

a / sin A = b / sin B → 8 / sin 40° = b / sin 60°

b = (8 × sin 60°) / sin 40° ≈ (8 × 0.866) / 0.643 ≈ 10.77cm

Finding an angle: Flip the rule to sin A / a = sin B / b when solving for an angle. Suppose a = 10cm, b = 7cm, and angle A = 50°. Find angle B.

sin B / b = sin A / a → sin B = b × sin A / a = 7 × sin 50° / 10 ≈ 0.536

B = sin⁻¹(0.536) ≈ 32.4°

Watch for the ambiguous case: when using the sine rule to find an angle, there can sometimes be two valid answers (one acute, one obtuse) that both satisfy the equation, since sin θ = sin(180° − θ). Always check whether the obtuse alternative makes sense in context — the three angles must add up to 180°.

The Cosine Rule

The cosine rule is used when the sine rule cannot get started — when there is no complete angle-side pair.

For finding a side (two sides + included angle known, "SAS"):

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

For finding an angle (all three sides known, "SSS"):

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

Example — finding a side: Two sides of a triangle are 7cm and 9cm, with an included angle of 55°. Find the third side.

a² = 7² + 9² − 2(7)(9) cos 55° = 49 + 81 − 126 × 0.574 ≈ 130 − 72.3 ≈ 57.7

a = √57.7 ≈ 7.60cm

Example — finding an angle: A triangle has sides a = 6cm, b = 8cm, c = 10cm. Find angle C (opposite the longest side).

cos C = (a² + b² − c²) / (2ab) = (36 + 64 − 100) / (2 × 6 × 8) = 0 / 96 = 0

C = cos⁻¹(0) = 90°

Notice this triangle is actually right-angled (it is a 6-8-10 triple, a scaled-up 3-4-5 triangle) — the cosine rule correctly detects this.

Choosing Which Rule to Use

What you knowRule to use
An angle and its opposite side, plus one more side or angleSine rule
Two sides and the included angle (SAS)Cosine rule (for the side)
All three sides (SSS)Cosine rule (for an angle)
Two angles and any side (AAS/ASA)Sine rule

A quick way to decide: if the known angle sits between the two known sides, you have SAS and need the cosine rule. If the known angle is opposite a known side, you have an angle-side pair and can use the sine rule.

The Area of a Triangle Using Sine

As a bonus tool related to the sine rule, the area of any triangle can be found without needing the height, using two sides and the included angle:

Area = (1/2) × a × b × sin C

Example: Two sides are 8cm and 5cm with an included angle of 30°.

Area = (1/2) × 8 × 5 × sin 30° = 20 × 0.5 = 10cm²

Common Mistakes

  • Trying to use the sine rule without a complete angle-side pair — check first whether you actually have one
  • Forgetting the ambiguous case when the sine rule gives an angle — a second, obtuse solution may also be valid
  • Mixing up which side is a, b, or c — always relabel sides to match whichever angle you are solving for
  • Rounding too early — keep full calculator precision until the final answer, especially in multi-step problems
  • Using the cosine rule formula for a side when you actually have SSA (side-side-angle, not the included angle) — this needs the sine rule instead

Tips and Tricks

  • Sketch the triangle first and label all six parts (three sides, three angles) before choosing a rule
  • If the given angle is trapped between the two known sides, it is SAS — use the cosine rule
  • If you know an angle and can see the side directly across from it, the sine rule usually works
  • For the cosine rule rearranged to find an angle, always check the sign of the result: a negative cosine value means the angle is obtuse
  • Practising both rules on the same triangle from different starting information builds real fluency with when to use each one

Questions & comments

Comments are public and are checked before they appear. Please don’t post your full name, email, phone number, school, or anything else that identifies you. How we use this.

Loading comments…

1000 characters left · links are not allowed