This article was reviewed by Grace Imson, MA. Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University.
There are 7 references cited in this article, which can be found at the bottom of the page.
This article has been viewed 91,711 times.
Finding the slope of a line is an essential skill in coordinate geometry, and is often used to draw a line on graph, or to determine the x- and y-intercepts of a line.[1] The slope of a line is a measure of how steep the line is,[2] which is found be determining how many units the line moves vertically per how many units it moves horizontally. You can easily calculate the slope of a line using the coordinates of two of its points.
Steps
Practice Problems
-
Understand the slope formula. Slope is defined as “rise over run,” with rise indicating vertical distance between two points, and run indicating the horizontal distance between two points.[3]
-
Pick two points on the line and label their coordinates. These can be any points the line runs through.
- You can also use this method if you are given two points on the line, without having the line graphed in front of you.
- Coordinates are listed as , with being the location along the x, or horizontal axis, and being the location along the y, or vertical axis.[4]
- For example, you might choose points with coordinates and .
Advertisement -
Determine the order of your points. One point will be point 1, and one point will be point 2. It doesn’t matter which point is which, as long as you keep them in the correct order throughout the calculation.[5]
- The first point’s coordinates will be , and the second point’s coordinates will be
-
Set up the slope formula. The formula is . The change in y-coordinates determines the rise, and the change in x-coordinates determines the run.[6]
-
Plug the y-coordinates into the slope formula. Make sure you are not using the x-coordinates, and that you are substituting the correct y-coordinates for the first and second points.[7]
- For example, if the coordinates of your first point are , and the coordinates of your second point are , your formula will look like this:
- For example, if the coordinates of your first point are , and the coordinates of your second point are , your formula will look like this:
-
Plug the x-coordinates into the slope formula. Make sure you are not using the y-coordinates, and that you are substituting the correct x-coordinates for the first and second points.[8]
- For example, if the coordinates of your first point are , and the coordinates of your second point are , your formula will look like this:
- For example, if the coordinates of your first point are , and the coordinates of your second point are , your formula will look like this:
-
Subtract the y-coordinates. This will give you your rise.[9]
- For example, if your y-coordinates are and , you would calculate .
-
Subtract the x-coordinates. This will give you your run.[10]
- For example, if your x-coordinates are and , you would calculate .
-
Reduce the fraction if necessary. This result will give you the slope of your line.[11]
- For complete instructions on how to reduce a fraction, read Reduce Fractions.
- For example, can be reduced to , so the slope of a line through points and is .
-
Be careful when working with negative numbers. A slope can be positive or negative. A line with a positive slope moves up left-to-right; a line with a negative slope moves down left-to-right.
- Remember, if the numerator and denominator are both negative, then the negative signs cancel out, and the fraction (and slope) is positive.
- If either the numerator or the denominator is negative, then the fraction (and slope) is negative.
-
Check your work. To do this, look at the rise and run you calculated for your slope. Starting at your first point, count up the rise, then over the run. Repeat counting up the rise and over the run until you reach your second point.
- If you do not reach your second point, then your calculation is incorrect.
Community Q&A
-
QuestionWhat does a negative slope look like?Community AnswerA negative slope moves down, left-to-right.
-
QuestionCan you do this without a graph, like when they give you 2 coordinates?Emma HanCommunity AnswerYes you can. The graph is only there to help you. You can only find the gradient if they give you 2 points.
-
QuestionHow do you compute slope with (-6,3) and (2,9)?GB742Top AnswererUse the formula m = (y2 - y1)/(x2 - x1). In this example: (9 - 3)/(2 - -6) = (6)/(8). Therefore, the slope of the line connecting (-6,3) and (2,9) is 6/8.
Tips
-
Slope is often labeled . Thus, once you have determined the slope of the line, you can work with the equation of a line, which is , where is the slope of the line and is the y-intercept.Thanks
Expert Interview

Thanks for reading our article! If you’d like to learn more about math, check out our in-depth interview with Grace Imson, MA.
References
- ↑ Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview
- ↑ http://www.mathopenref.com/coordslope.html
- ↑ https://www.khanacademy.org/math/cc-eighth-grade-math/cc-8th-linear-equations-functions/8th-slope/a/slope-formula
- ↑ Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview
- ↑ http://www.purplemath.com/modules/slope.htm
- ↑ http://www.coolmath.com/algebra/08-lines/06-finding-slope-line-given-two-points-01
- ↑ https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:linear-equations-graphs/x2f8bb11595b61c86:slope/a/slope-review
- ↑ https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:linear-equations-graphs/x2f8bb11595b61c86:slope/a/slope-review
- ↑ https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:linear-equations-graphs/x2f8bb11595b61c86:slope/a/slope-review
About This Article
Reader Success Stories
-
"I needed help on a question for math and I came to wikiHow because one of my friends said it was a great site for learning and I said great. Well, once I was done, it wasn't just a site for learning, it's a site for achieving greatness."..." more