Slope of a line

Slope is a number that tells you how steep a line is. It equals how much y goes up when x goes up by 1, and you find it as (change in y) ÷ (change in x). A positive slope rises to the right, and a negative slope falls to the right.

Chalcack concept card · Reviewed by the Chalcack team ·

Going 3 to the right, the line rises 6, so the slope is 2.

Formulas

  • slope=change in ychange in x\text{slope} = \frac{\text{change in } y}{\text{change in } x}
  • Slope of the line through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): y2−y1x2−x1\frac{y_2 - y_1}{x_2 - x_1}
  • The slope of y=ax+by = ax + b is aa

When to use it

Use it when you are given two points or a graph and need to know how steep the line is or write its equation.

Worked example

Find the slope of the line through (1, 2) and (4, 8). The change in x is 4−1=34 - 1 = 3. The change in y is 8−2=68 - 2 = 6. The slope is 63=2\frac{6}{3} = 2.

Common mistake

Mixing up the order, as in 8−21−4\frac{8 - 2}{1 - 4}, gives the wrong sign. Subtract in the same order on top and bottom: the same point first in both.

Related concepts

All 181 math concepts