This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards.
There are 12 references cited in this article, which can be found at the bottom of the page.
wikiHow marks an article as reader-approved once it receives enough positive feedback. In this case, several readers have written to tell us that this article was helpful to them, earning it our reader-approved status.
This article has been viewed 97,081 times.
Learn more...
The slope of a line, also called the gradient, measures a line's steepness. We usually think of slope as the “rise over run.” When working with slope it is important to first understand the basic concepts of what slope measures, and how it measures it. You can calculate the slope of a line as long as you know the coordinates of any two points.
Steps
Describing the Slope
-
1Define slope. The slope is a measure of how steep a straight line is.[1]
- A variety of branches of mathematics use slope. In geometry, you can use the slope to plot points on a line, including lines that define the shape of a polygon. Statisticians use slope to describe the correlation between two variables. Economists use slope to show and predict rates of change.
- People also use slope in real, concrete ways. For example, slope is used when constructing roads, stairs, ramps, and roofs.
-
2Visualize a line’s “rise over run.” The term “rise” refers to the vertical distance between two points, or the change in . The term “run” refers to the horizontal distance between two points, or the change in . When learning about the slope of a line, you will often see the formula [2]
- For example a slope of a line might be . This means that to go from one point to the next, you need to go up 2 along the y-axis, and over 1 along the x-axis.
Advertisement -
3Locate the slope of a line in an equation. You can do this using the slope-intercept form of a line’s equation. The slope-intercept form says that . In this formula, equals the slope of the line. You can rearrange the equation of a line into this formula to find the slope.[3]
- For example, in the equation , the slope would be . You can still think of this slope in terms of rise over run if you turn it into a fraction. Any whole number can be turned into a fraction by placing it over 1. So, . This means that the line represented by this equation rises 3 units vertically for every 1 unit it runs horizontally.
-
4Assess the steepness of the line. The larger the slope, the steeper the line. A line is steeper the more vertical it rests on a coordinate plane.[4]
- For example, a slope of 2 (that is, ) is steeper than a slope of 0.5 ().
-
5Identify a positive slope. A positive slope is one that moves up and to the right. In other words, in a positive slope, as increases, also increases.[5]
- A positive slope is denoted by a positive number.
-
6Identify a negative slope. A negative slope is one that moves down and to the right. In other words, in a negative slope, as increases, decreases.[6]
- A negative slope is denoted by a negative number, or a fraction with a negative numerator.
- To help remember the difference between a positive and negative slope, you can think of yourself as standing on the left endpoint of the line. If you need to walk up the line, it’s positive. If you need to walk down the line, it’s negative.[7]
- Knowing the difference between negative and positive slopes can help you check that your calculations are reasonable.
-
7Understand the slope of a horizontal line. A horizontal line is a line that runs straight across a coordinate plane. The slope of a horizontal line is 0. This makes sense if you think of lines in terms of . For a horizontal line, the rise is 0, since the value never increases or decreases. So, the slope of a horizontal line would be .
-
8Understand the slope of a vertical line. The slope of a vertical line is undefined. In terms of , the slope of a negative line would be . The run is 0, since the value never increases or decreases. So, the slope of a vertical line will be, and since you can't divide by 0, any number over 0 will always be undefined.[8]
Using a Graph to Find the Slope
-
1Set up the formula for the slope of a line. The formula is . The rise is the vertical distance between two points on a line. The run is the horizontal distance between two points on a line.[9]
-
2Locate two points on the line. You can use two given points, or you can select any two points. It doesn’t matter how far apart or close together the two points are, but keep in mind that if the points are closer together, there will be less need to simplify the slope later.[10]
- For example, you might choose the points (4, 4) and (12, 8).
-
3Calculate the vertical distance between the points. Start at one point, and count up in a straight line, until you reach the height of the second point. This is the rise of your slope.[11]
- Your rise will be negative if you start with the higher point and move down to the lower point.
- For example, beginning at the point (4, 4), you would count up 4 positions to point (12, 8). So, the rise of your slope is 4: .
-
4Calculate the horizontal distance between the points. Start at the same point you started at when calculating the run. Count across in a straight line, until you reach the length of the second point. This is the run of your slope.[12]
- Your run will be negative if you start with the point on the right and move over to the left.
- For example, beginning at the point (4, 4), you would count over 8 positions to point (12, 8). So, the run of your slope is 8: .
-
5Simplify if necessary. You would simplify the slope just as you would simplify any fraction. [13]
- For example, 4 and 8 are both divisible by 4, so the slope simplifies to . Note that it is a positive slope, so the line moves up to the right.
Using Two Points to Find the Slope
-
1Set up the formula for the slope of a line. This formula is for finding the slope given two points on a line: , where equals the slope of the line, equal the coordinates of the starting point on the line, and equal the coordinates of the ending point on the line.[14]
-
2Plug the x and y coordinates into the formula. To use this method, you need to be given the coordinates, as you will likely not see them plotted on a graph. Don’t forget to keep your coordinates in the correct positions. You should be subtracting the coordinates of the starting point from the coordinates of the ending point.[15]
- For example, if your points are (-4, 7) and (-1, 3), your formula will look like this: .
-
3Simplify the expression. Subtract the values in the numerator and denominator. Then, simplify the slope, if necessary. You would simplify the slope just as you would simplify any fraction. [16]
- For example:
So, the slope of the line is . Note that since the slope is negative, the line is moving down to the right.
- For example:
Community Q&A
-
QuestionWhat's the slope for y=½x-3?DonaganTop AnswererThe slope is 1/2 or 1:2.
-
QuestionHow do I find the average rate of change between two points on a slope?DonaganTop AnswererWhether the line is straight or curved, use the slope formula in Method 3 above.
References
- ↑ https://www.mathsisfun.com/definitions/slope.html
- ↑ http://www.purplemath.com/modules/slopgrph.htm
- ↑ http://www.coolmath.com/algebra/08-lines/10-finding-slope-line-from-equation-01
- ↑ https://www.mathsisfun.com/gradient.html
- ↑ https://courses.lumenlearning.com/suny-microeconomics/chapter/reading-interpreting-slope/
- ↑ https://courses.lumenlearning.com/suny-microeconomics/chapter/reading-interpreting-slope/
- ↑ http://www.virtualnerd.com/algebra-1/linear-equation-analysis/slope-rate-of-change/understanding-slope/negative-slope-definition
- ↑ http://www.coolmath.com/algebra/08-lines/08-graphing-horizontal-vertical-lines-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://courses.lumenlearning.com/suny-beginalgebra/chapter/read-or-watch-find-slope-from-a-graph/
- ↑ https://courses.lumenlearning.com/suny-beginalgebra/chapter/read-or-watch-find-slope-from-a-graph/
- ↑ http://www.coolmath.com/algebra/08-lines/05-finding-slope-line-from-graph-01
- ↑ https://courses.lumenlearning.com/wm-developmentalemporium/chapter/finding-slope-given-two-points-on-a-line/
- ↑ https://courses.lumenlearning.com/wm-developmentalemporium/chapter/finding-slope-given-two-points-on-a-line/
- ↑ https://www.khanacademy.org/math/algebra/two-var-linear-equations/slope/v/slope-of-a-line-2
About This Article
To understand slope in algebra, think of it as the measure of how steep a straight line is. The slope is equal to rise over run, where the rise is the vertical distance between 2 points and run is the horizontal distance between 2 points. So, if the slope is equal to 3/2, you would need to go up 3 and over 2 on a graph to get to each new point. Then, when you connect each of those points, you would see the slope and how steep it is. If you want to learn how to find the slope between 2 points on a graph, keep reading the article!