Year 9: Calculating the gradient of a line

Back to main page

Work through the sections in order, then try the linked Year 9 skill quizzes after each section.

1. What is the gradient?

The gradient (or slope) of a straight line shows how steep the line is. It tells us how much the y-value changes for each unit increase in the x-value.

The gradient is usually represented by the letter m.

Skill quiz: The gradient of a line

Practise the skills used in this section before continuing.

2. Gradient formula

If you know two points on a line: (x1, y1) and (x2, y2), then the gradient m is calculated as:

m = (y2 − y1) ÷ (x2 − x1)

Skill quiz: The gradient of a line

Practise the skills used in this section before continuing.

3. Positive and negative gradients

  • Positive gradient: The line rises from left to right.
  • Negative gradient: The line falls from left to right.
  • Zero gradient: The line is horizontal.
  • Undefined gradient: The line is vertical (x1 = x2).

Skill quiz: The gradient of a line

Practise the skills used in this section before continuing.

4. Example 1 – Find the gradient

Find the gradient of the line passing through the points (2, 3) and (6, 11).

Using the formula:

m = (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2

Skill quiz: The gradient of a line

Apply the method from the examples to these quiz questions.

5. Example 2 – Negative gradient

Find the gradient of the line passing through the points (5, 10) and (9, 2).

m = (2 − 10) ÷ (9 − 5) = −8 ÷ 4 = −2

Skill quiz: The gradient of a line

Apply the method from the examples to these quiz questions.

6. Special cases

  • Points (3, 5) and (7, 5): m = (5 − 5) ÷ (7 − 3) = 0 → horizontal line
  • Points (4, 1) and (4, 6): m = (6 − 1) ÷ (4 − 4) = 5 ÷ 0 → undefined

Skill quiz: The gradient of a line

Practise the skills used in this section before continuing.

7. Using gradient to draw lines

If a line has a gradient of m and passes through a point (x1, y1), you can use the gradient to find other points by moving:

  • Up or down depending on the numerator (change in y)
  • Left or right depending on the denominator (change in x)

Example: Gradient = 2 means rise 2 units for every 1 unit right.

Skill quiz: Decide if a point is on a line

Practise the skills used in this section before continuing.

8. Practice questions

  1. Find the gradient of the line passing through (1, 4) and (5, 12).
  2. Find the gradient between the points (−2, 6) and (4, −6).
  3. What is the gradient of the line through (7, 3) and (7, −1)?
  4. Is the gradient of a line through (−1, −2) and (2, −2) positive, negative, zero, or undefined?

Skill quiz: The gradient of a line

Try the quiz after working through the practice questions above.

9. Solutions

  1. m = (12 − 4) ÷ (5 − 1) = 8 ÷ 4 = 2
  2. m = (−6 − 6) ÷ (4 + 2) = −12 ÷ 6 = −2
  3. m = (−1 − 3) ÷ (7 − 7) = −4 ÷ 0 → undefined
  4. m = (−2 − (−2)) ÷ (2 + 1) = 0 ÷ 3 = 0 → zero gradient

Skill quizzes: Gradient and points on a line

Use the quiz to check your understanding after reviewing this section.