Skip to content

Search topics

Practise for free Sign in

Calculator Pure Mathematics

Cosine rule: find a side

In one sentence

Finds the side opposite an included angle.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Cosine rule: find a side

Formula ref
a² = b² + c² − 2bc cos A
Topic
Pure Mathematics

Inputs

  • b, c, A

Worked input

  • Input b = 8, c = 11, A = 62°.
  • a² = 64 + 121 − 176 cos 62° = 102.373.
  • a = 10.118.
  • Take b = 6, c = 8 and A = 90°, where cos A is zero, so the cosine rule collapses to Pythagoras. a² = 36 + 64 − 0 = 100, so a = 10. A right angle makes the cosine term vanish, so the rule collapses to Pythagoras, which is a quick way to check you have the structure of the formula right. Check: the 6-8-10 triangle is twice the familiar 3-4-5 triangle, so a right angle at A is exactly what we expect.
  • Take b = 5, c = 7 and A = 120°, an obtuse angle, so cos A is negative and the subtracted term actually adds to the total. a² = 25 + 49 + 35 = 109, so a = 10.4403. For an obtuse angle the cosine is negative, so the usual subtracted term becomes an addition, and the side opposite is then longer than either of the sides that enclose the angle. Check: for an obtuse angle the opposite side is longer than either of the other two, and 10.4403 is longer than 7.
  • Take b = 10, c = 10 and A = 60°, two equal sides enclosing the angle of an equilateral triangle. a² = 100 + 100 − 200 × 0.5 = 100, so a = 10. Two equal sides enclosing sixty degrees make an equilateral triangle, so the third side equals the other two, which is another quick consistency check on the formula. Check: an isosceles triangle with a 60° apex angle has two base angles of 60° as well, so all three sides are equal.

How to use it

  • Enter two sides and the included angle.

Cosine rule: find a side for your study of A-level maths, with its source.

Related pages include Arc length and sector area calculator, Degrees and radians converter, Sine rule: ambiguous case checker and Sine rule calculator.

Study brief

  • In trigonometry, the cosine rule provides a specific method for calculating the length of a side within a triangle. For a triangle ABC, where a, b, and c represent the lengths of the sides, the formula for the squared length of side a is expressed as a2 = b2 + c2 - 2bc cos A. This relationship allows for the determination of a side when the lengths of the other two sides and the included angle are known. This topic is part of the Pearson Edexcel Level 3 Advanced GCE in Mathematics specification, as noted in the February 2020 Issue 4 documentation. Understanding this rule is essential for A level maths students alongside other trigonometric concepts, such as the sine rule and calculating the area of a triangle using the formula 1/2 ab sin C. While the sine rule can involve an ambiguous case, the cosine rule is a foundational tool for solving non-right-angled triangles. Mastery of these formulas, including the use of radian measure and the unit circle definitions for sine and cosine, supports broader proficiency in trigonometric modeling and geometric calculations.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction