Find slope from two points, a table or a graph

Grade 8 math · Patterns, expressions and equations · 8.EE.B.6

Slope measures how steep a line is: slope = rise ÷ run = (change in y) ÷ (change in x). From two points, subtract the y-values and the x-values in the same order. A line going up from left to right has a positive slope; going down, a negative slope. A horizontal line has slope 0. A vertical line has a run of 0, so its slope is called Undefined.

Tip. Rise over run: the change in y goes on top. Subtract in the same order on the top and the bottom.

Worked examples

Example 1

What is the slope of the line? Type a whole number or a fraction.

xy−6−6−5−5−4−4−3−3−2−2−1−10112233445566AB
Show the answer and the steps

Answer: -3

  1. A = , B =
  2. Rise = -5 - 1 = -6. Run = 2 - 0 = 2.
  3. Slope = = .

Example 2

What is the slope of the line through and ? Type a whole number or a fraction.

Show the answer and the steps

Answer: 0

  1. Change in y: -5 - (-5) = 0
  2. Change in x: 8 - 0 = 8
  3. Slope = =

Example 3

A line has a slope of . It passes through and . What is ?

Show the answer and the steps

Answer: 6

  1. Run = 7 - 4 = 3
  2. Rise = × 3 = -1
  3. y = 7 + (-1) = 6

Practice this skill

Answer a question and get it checked. The questions get harder as you get them right. No account needed.

Want it on paper? Print a worksheet for this skill, with an answer key.

Is this the right skill to work on?

Lean's free placement check finds what your child already knows in grade 8 math and what to learn next. It takes about 10 minutes.

Start the free placement check