<meta http-equiv="refresh" content="1; url=/nojavascript/">
Skip Navigation


Practice Slope
Practice Now
Finding the Slope of a Line

Do you know the difference between a positive slope and a negative slope? How can you tell whether the slope of a line will be positive or negative by looking at the equation?

To answer these questions, you will need to understand slope, be able to identify slope and know how to identify different types of slopes.

You will be able to answer these questions by the end of the Concept.


We have described linear graphs by where the cross the x - and y -axes. But, what about the steepness of the line? If you’ve ever been skiing, you know that the most important thing about a ski slope is how steep it is. In mathematics, we use numbers to quantify steepness so that you can describe graphs more precisely, predict its movement, and compare it with others.

When we have a line that has been graphed on the coordinate plane, we can calculate the steepness of the line. In mathematics, we call this steepness the slope of the line. The slope of the line is how steep the line is.

Take a look at this situation.

Now we want to calculate the steepness of this line. We want to calculate the slope. The slope of the line can be calculated by using a ratio. Remember that a ratio compares two quantities. In this case, we are going to compare the rise of the line with the run of the line.


Here is a graph where the slope is highlighted.

You can see that the rise is 2 and the run is 1. It is moving up so it is a positive slope. We can write this as the following ratio.


The slope of this line is 2.

Write this ratio down in your notebook.

Sometimes, you won’t have a graph to look at. We can also calculate the slope of a line when we have been given two sets of ordered pairs. Then we can use a formula to calculate the slope of the line.


Write this formula down in your notebook.

Here is another one.

Calculate the slope of a line that passes through the points (0, -2) and (1, 2).

To start, we substitute the values of these coordinates into our formula. It doesn’t matter which value you use as y_2 or y_1 the key is that you are consistent in your choices. Here is how these values can be substituted into the formula.

Slope &=\frac{2--2}{1-0}\\Slope &=4

The slope of this line is 4.

Note: Sometimes, you will also see the letter “ m ” used in place of the word “slope”.

There are different types of slopes too.

Look at this graph of a positive slope.

We can also see what a graph with a negative slope would look like.

Notice that this line goes down from left to right. By looking at it, we can see that it is negative. We can also look at the slope of the line. Look at these arrows to see how this is a negative slope.

We can also have lines with a slope of zero.

Take a look at this graph.

This line doesn’t go up and doesn’t go down. It has a slope of zero.

What about a vertical line?

Now use the slope formula on the line that goes through the points (2, 3) and (2, -3).


m &=\frac{{y_2}-{y_1}}{{x_2}-{x_1}}\\m &=\frac{-3-3}{2-2}\\m &=\frac{-6}{0}

Slope here is undefined since it has a denominator of zero, m is undefined. Graph this line.

This line is vertical!

All vertical lines have an undefined slope.

We’ve seen four types of slopes.

Positive slopes

Rise up and run right

Negative slopes

Rise up and run left

Zero slopes

Horizontal lines

Undefined slopes

Vertical lines

But we have yet to compare their steepness. If you consider the ski slopes, you know that some slopes are steeper than others. In the graph below, you can also see that some lines are steeper, or have a greater slope, than others.

In looking at these lines, we can determine that some lines are steeper than others. In the example above, lines with a greater slope are steeper than lines with a smaller slope.

Slope of 5 is > slope of \frac{1}{2}

As you continue to work with slope, you will see how the steepness of a line can be measured and how to determine the slope by looking at the equation of a line.

Find the slope of each line by using each set of ordered pairs.

Example A


Solution: Slope of 1

Example B


Solution: Slope of -2

Example C


Solution: Slope of -3

Now let's go back to the dilemma at the beginning of the Concept.

When the x-value is positive, the slope of the line will be positive. When the x-value is negative, then the slope will also be negative. When graphed, a positive slope is a line that goes up from left to right. When graphed, a negative slope is a line that goes down from right to left.

Guided Practice

Here is one for you to try on your own.

Now use the slope formula on the line that goes through the points (1, 3) and (-1, -3).


m &=\frac{{y_2}-{y_1}}{{x_2}-{x_1}}\\m &=\frac{1-3}{-1--3}\\m &=\frac{-2}{2}

The slope of the line is -1 .

Video Review

The Slope of a Line

Explore More

Directions: Answer true or false for each of the following questions.

  1. True or false. The equation of a line is always linear.
  2. True or false. A linear equation will be shown as a straight line on a graph.
  3. True or false. The x – intercept is where the line crosses the y axis.
  4. True or false. The y – intercept is where the line crosses the y axis.
  5. True or false. A vertical line has an undefined slope.
  6. True or false. A horizontal line has a slope of 0.
  7. True or false. Slope is the distance that the line travels on the coordinate graph.
  8. True or false. Slope is found using a ratio.
  9. True or false. You can figure out the slope of a line if you have been given one set of points.
  10. True or false. You will need two sets of points that a line passes through to figure out the slope.

Directions: Figure out the slope of a line that passes through each of the following pairs of points.

  1. (2, 3) (3, 4)
  2. (4, 5) (2, 3)
  3. (2, 1) (-1, 3)
  4. (3, 1) (4, 3)
  5. (5, 7) (3, 6)
  6. (3, 0) (4, 1)
  7. (6, 4) (2, 7)
  8. (2, 0) (0, 1)
  9. (6, 1) (1, 6)
  10. (4, 4) (5, 0)

Image Attributions

Explore More

Sign in to explore more, including practice questions and solutions for Slope.


Please wait...
Please wait...

Original text