Skip to the formula

Gradient formula: m = (y₂ − y₁) / (x₂ − x₁)

The gradient formula is gradient m = (y₂ − y₁) / (x₂ − x₁).

Example: the line through (1, −3) and (4, 9) has m = (9 − (−3))/(4 − 1) = 12/3 = 4.

What each letter means

Gradient formula in Edexcel 4MA1 and Cambridge 0580

CourseWhere it isTier
Edexcel International GCSE Maths A (4MA1)3.3 GraphsFoundation and Higher
Papers 1F and 2F and Papers 1H and 2H
Cambridge IGCSE Mathematics (0580)C3.3 / E3.3 Gradient of linear graphs
Core: find the gradient of a straight line from its graph. Extended adds: calculate the gradient from the coordinates of two points.
Core and Extended
Paper 1 (no calculator) and Paper 3 (calculator) and Paper 2 (no calculator) and Paper 4 (calculator)

Calculator: Edexcel 4MA1: A calculator may be used in all four papers. Cambridge 0580: No calculator on Papers 1 and 2; a scientific calculator is needed for Papers 3 and 4. Algebraic or graphic calculators are not allowed.

Without a calculator: Give the gradient as a fraction in its simplest form, such as −3/2, not left as −12/8. 0580 non-calculator papers: what to practise.

When to use it

To find how steep a line is from two points on it, before writing its equation y − y₁ = m(x − x₁).

Worked example

Find the gradient of the line through \((1,-3)\) and \((4,9)\).

  1. \(m=\dfrac{9-(-3)}{4-1}=\dfrac{12}{3}\)

Answer: \(m=4\)

Common mistake

Putting the x difference on top. Gradient is rise over run: change in y ÷ change in x.

Try one yourself

One quick IGCSE Maths question on the gradient formula. No sign-in needed.

Find the gradient of the line through \((3, 8)\) and \((-1, 0)\).
Choose your answer · keys 1–4

IGCSE exam-style questions, marked step by step

Our own questions in the style of the 4MA1 and 0580 papers. M1 is a method mark, A1 an accuracy mark that needs the method before it, and B1 a mark that stands on its own. The split is our illustration: how IGCSE mark schemes work.

0580 Paper 2 style (Extended, no calculator), 2 marks

Work out the gradient of the line joining \(A(-3,8)\) and \(B(5,-4)\).

  1. \(m=\dfrac{-4-8}{5-(-3)}=\dfrac{-12}{8}\) M1 · change in y over change in x
  2. \(=-\dfrac32\) A1 · answer, simplified

Answer: \(-\dfrac32\) 2 marks in all

4MA1 style (Foundation and Higher), 3 marks

The line through the points \((2,k)\) and \((6,13)\) has gradient \(2.5\). Work out the value of \(k\).

  1. \(\dfrac{13-k}{6-2}=2.5\) M1 · gradient formula set up
  2. \(13-k=10\) M1 · multiplied by 4
  3. \(k=3\) A1 · answer

Answer: \(k=3\) 3 marks in all

Where IGCSE students lose marks

From our summaries of the published examiner reports: Cambridge 0580.

Revise it for your IGCSE exam

On your IGCSE Maths course

CourseIn the exam
Edexcel 4MA1 (Higher)Not given: learn it
Cambridge 0580Not given: learn it (Extended only)

From our own IGCSE Maths formula sheets, in our words. Official: Pearson's 4MA1 specification (PDF, Appendix 5) · Cambridge's 0580 syllabus (PDF).

Practise and revise

Gradient formula formula card: gradient m = (y₂ − y₁) / (x₂ − x₁). IGCSE Math Revision
Gradient formula card for IGCSE Maths: download (PNG).

IGCSE Maths FAQ

Is the gradient formula on the IGCSE formula sheet?

Edexcel 4MA1 (Higher): not given: learn it. Cambridge 0580: not given: learn it (Extended only).

What are the gradients of parallel and perpendicular lines?

Parallel lines have equal gradients. Perpendicular gradients multiply to −1, so a line perpendicular to gradient m has gradient −1/m.

Is the gradient formula Foundation or Higher, Core or Extended?

On Edexcel 4MA1 it is in section 3.3 (Graphs) at Foundation, so it can come up on Papers 1F and 2F and Papers 1H and 2H. On Cambridge 0580 it is in sub-topic C3.3 / E3.3 (Gradient of linear graphs) for Core and Extended; Extended adds calculate the gradient from the coordinates of two points.

Is the gradient formula Core or Extended in Cambridge 0580?

Core students find a gradient from a drawn line (rise over run on the grid). Calculating it from the coordinates of two points is in the Extended statement of sub-topic 3.3, as the table above shows.

Can I use a calculator for gradient questions in IGCSE Maths?

Edexcel 4MA1: A calculator may be used in all four papers. Cambridge 0580: No calculator on Papers 1 and 2; a scientific calculator is needed for Papers 3 and 4. Algebraic or graphic calculators are not allowed. Without a calculator, give the gradient as a fraction in its simplest form, such as −3/2, not left as −12/8.

Our own wording, examples and card, checked by IGCSE Math Revision. Not produced or endorsed by Pearson Edexcel.