Gradients, intercepts and y = mx + c

Every straight line can be written as y = mx + c. The two numbers m and c tell you its steepness and where it starts.

Practise this lesson free (7 questions)

More tools

y = mx + c

m is the gradient: how far up for every 1 across. A negative gradient slopes downwards.
c is the y-intercept: where the line crosses the y-axis.
y = 4x โˆ’ 3 has gradient 4 and crosses the y-axis at (0, โˆ’3).
Rearrange into this form first: 2y = 6x + 8 becomes y = 3x + 4.

Gradient from two points

gradient = change in ychange in x
Through (1, 3) and (4, 12): (12 โˆ’ 3)(4 โˆ’ 1) = 93 = 3.
Parallel lines have the same gradient.

Solving with graphs

Where two lines cross, both equations are true at once. That point solves the simultaneous equations.
y = x + 1 and y = 3x โˆ’ 3 cross at (2, 3), so x = 2 and y = 3.
โˆ’1 1 2 3 4 โˆ’4 โˆ’3 โˆ’2 โˆ’1 1 2 3 4 5 6 7 8 x y (2, 3) y = x + 1 y = 3x โˆ’ 3
y = x + 1 and y = 3x โˆ’ 3 cross at (2, 3), so x = 2 and y = 3.
Worked example

Find the equation of the line with gradient 2 that passes through (3, 1).

  1. y = 2x + c
  2. Substitute (3, 1): 1 = 6 + c, so c = โˆ’5

Answer: y = 2x โˆ’ 5

Key idea

In y = mx + c, m is the gradient (change in y รท change in x) and c is the y-intercept. Two lines cross at the solution of their simultaneous equations.

Key words
Gradient
The steepness of a line: change in y รท change in x. In y = mx + c it is m.
y-intercept
Where a line crosses the y-axis. In y = mx + c it is c.
Parallel
Lines that are always the same distance apart and never meet.
Parallel lines
Alternate angles are equal. Corresponding angles are equal. Co-interior angles add to 180ยฐ.

All KS3 Mathematics key terms and definitions โ†’

Common mistakes
Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. What is the gradient of y = 5x + 2?

    Show the answer

    Answer: 5

    In y = mx + c, the gradient is m = 5.

  2. Where does 3y = 9x + 12 cross the y-axis? Give the y-coordinate.

    Show the answer

    Answer: 4

    Divide by 3: y = 3x + 4, so it crosses at 4.

Check you have got it

Answer 7 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

Related lessons