Slope measures how steep a line is: how much it goes up or down for each step to the right. However the line is given to you – two points, a graph, an equation or a table – the idea is the same: change in y divided by change in x.
Method 1: from two points
Use m = (y₂ − y₁) ÷ (x₂ − x₁). For (2, 3) and (6, 11): m = (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2. Keep the points in the same order on top and bottom.
Method 2: from a graph
- Pick two points where the line crosses grid corners.
- Count the rise (up is positive, down is negative).
- Count the run to the right.
- Divide rise by run.

Method 3: from an equation
In slope-intercept form y = mx + b, the slope is the number in front of x: y = −3x + 7 has slope −3. If the equation is in standard form Ax + By = C, the slope is −A ÷ B: for 2x + 4y = 8, m = −2 ÷ 4 = −0.5.
Method 4: from a table
Pick any two rows and divide the change in y by the change in x. If the answer is the same for every pair of rows, the relationship is linear.
| x | y | Change in y ÷ change in x |
|---|---|---|
| 0 | 5 | – |
| 2 | 9 | 4 ÷ 2 = 2 |
| 4 | 13 | 4 ÷ 2 = 2 |
| 6 | 17 | 4 ÷ 2 = 2 |
Reading the sign
| Slope | What the line does |
|---|---|
| Positive | Rises from left to right |
| Negative | Falls from left to right |
| Zero | Horizontal |
| Undefined | Vertical |
Slope in real life
A slope is a rate of change. A wheelchair ramp at 1:12 has a slope of 8.3%. A roof with a 6-in-12 pitch rises 6 inches per foot, an angle of about 26.6°. On a distance–time graph the slope is speed; on a cost graph it is the price per unit.
Parallel and perpendicular lines
Parallel lines have the same slope. Perpendicular lines have slopes that are negative reciprocals: if one is 2, the other is −1/2.
Worked example with negative numbers
Find the slope through (−3, 7) and (5, −1). Rise = −1 − 7 = −8. Run = 5 − (−3) = 8. Slope = −8 ÷ 8 = −1. The line falls one unit for every unit to the right. Writing the subtraction out in full, with brackets around negatives, prevents most sign errors.
From slope to the equation of the line
With the slope and one point you can write the whole line. Using m = −1 and the point (5, −1) in y − y₁ = m(x − x₁): y + 1 = −1(x − 5), so y = −x + 4. The y-intercept, 4, is where the line crosses the y-axis.
Slope of a curve
A curve does not have one slope – it changes from point to point. The average slope between two points on a curve is still rise over run, and it describes the average rate of change over that interval. Calculus refines this into the slope at a single point (the derivative).
Frequently asked questions
m = (y₂ − y₁) ÷ (x₂ − x₁).
0.
Undefined.
The slope is m, the coefficient of x.
Yes – 2/3 means up 2 for every 3 across.

