Gradient of linear graphs

Maths · Coordinate geometry. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

The idea

The gradient of a straight line measures how steep it is. It is the change in y divided by the change in x as you move along the line, often called rise over run.

A line that goes up from left to right has a positive gradient. A line that goes down from left to right has a negative gradient. A horizontal line has gradient 0, and a vertical line has no defined gradient.

The gradient is the same everywhere on a straight line, so any two points on it give the same answer. In the form y = mx + c, the number m multiplying x is the gradient.

Rules to remember

Common mistake

Subtracting in a different order on the top and the bottom, or putting the x-change on top. Start from the same point in both subtractions and take care with double negatives such as 3 − (−2) = 5.

Worked example

Find the gradient of the line through (−1, 8) and (3, −4).

  1. Change in y = −4 − 8 = −12.
  2. Change in x = 3 − (−1) = 4.
  3. Gradient = −12 ÷ 4 = −3.

Answer: Gradient = −3

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Drawing linear graphsLength and midpoint →Take a Maths test