Compare two changes
Slope is the change in vertical coordinate divided by the change in horizontal coordinate: (y₂ − y₁)/(x₂ − x₁). It describes how much y changes for each unit of x.
From (1, 1) to (4, 3), the rise is 2 and the run is 3. The slope is 2/3. Use coordinate values rather than the apparent tilt of a drawing with unknown axis scales.
Keep subtraction in the same order
From (1, 4) to (5, 2), y changes by 2 − 4 = −2 and x changes by 5 − 1 = 4. The slope is −2/4 = −1/2: the line falls as you move right.
You may reverse the point order, but reverse it in both differences. A horizontal line has slope 0. A vertical line has zero run, so its slope is undefined.
Check direction and steepness
Find the slope from (2, 1) to (6, 3). Calculate the rise and run separately before dividing.
The line rises to the right, so its slope must be positive. The vertical change is smaller than the horizontal change, so the slope is less than 1.
Try it
What is the slope through (2, 1) and (6, 3)?
- 2
- 1/2
Show the answer
1/2
Correct. The line rises 2 while moving right 4, so its slope is 1/2.
Enable JavaScript to answer interactively and save your place.
Practice Slopes