How to Find Slope: A Step-by-Step Math Guide
By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.
Finding slope comes down to measuring how much a line rises or falls for each step it moves horizontally. On a graph, slope is often described as rise over run, and with two points you can calculate the same idea using a simple coordinate formula.
From a graph
Choose two clear points that lie exactly on the line. Start at the left point and move vertically until you are level with the second point. Count that vertical change as the rise. Then move horizontally to the second point and count that change as the run.
Slope equals vertical change divided by horizontal change. If the line rises 6 units while moving 3 units to the right, the slope is 6 divided by 3, which equals 2. That means every increase of 1 in x is matched by an increase of 2 in y.
Signs matter when finding slope. A line that rises from left to right has positive slope. A line that falls from left to right has negative slope. A horizontal line has slope 0 because there is no vertical change, while a vertical line has undefined slope because the horizontal change is 0 and division by zero is undefined.
From two points
If you are given two coordinates, label them as first point and second point. Subtract the y-values in the same order that you subtract the x-values. In symbols, slope is the change in y divided by the change in x.
Suppose the points are (2, 3) and (6, 11). The change in y is 11 minus 3, which is 8. The change in x is 6 minus 2, which is 4. The slope is 8 divided by 4, so the answer is 2.
You could subtract in the opposite order and still get the same result as long as you reverse both differences. If you calculate 3 minus 11 over 2 minus 6, you get negative 8 over negative 4, which is also 2. Mixing the orders is a common mistake when finding slope.
What slope tells you
Slope is more than a graph exercise. It describes a rate of change:
- •Positive slope - y increases as x increases.
- •Negative slope - y decreases as x increases.
- •Zero slope - the line is horizontal.
- •Undefined slope - the line is vertical.
- •Slope units - y-units divided by x-units.
Units help give slope meaning. If y is distance in kilometres and x is time in hours, slope has units of kilometres per hour. If y is cost in euros and x is number of tickets, slope can represent euros per ticket. Reading the axes tells you what the rate means.
Once how to find slope feels comfortable, connect it with the equation y = mx + b. In this form, m is the slope and b is the y-intercept. A larger positive m gives a steeper rising line, while a more negative m gives a steeper falling line.
The takeaway
Finding slope is a repeatable process: take the change in y and divide it by the change in x. Keep subtraction order consistent, watch the sign, and check the axis units. Once you see slope as a rate of change rather than just a formula, graphs and linear equations become easier to connect.