How to Find Slope
A slope question arrives in one of three shapes: two coordinates, a drawn line, or an equation. Here is the method for each, with the traps that catch people out.
Method 1 — from two points
The most common version, and the one the formula was written for.
- Label the points (x₁, y₁) and (x₂, y₂). Either point can be first.
- Subtract the y-values for the rise: Δy = y₂ − y₁.
- Subtract the x-values in the same order for the run: Δx = x₂ − x₁.
- Divide and simplify.
Through (1, 2) and (4, 8):
Δy = 8 − 2 = 6 · Δx = 4 − 1 = 3 · m = 6/3 = 2
The trap: mixing the subtraction order. Doing y₂ − y₁ on top but x₁ − x₂ underneath flips the sign and gives you a line tilting the wrong way. Pick a first point and stay with it for both subtractions.
Check your answer with the slope formula calculator, which prints every substitution.
Method 2 — from a graph
No coordinates given, just a drawn line? Read them off it.
- Find two clean points where the line crosses a grid intersection exactly. Guessing at a point between gridlines is where the error creeps in — look further along the line for a clean crossing rather than settling for a near miss.
- Count the rise — the vertical squares from the first point to the level of the second. Up is positive, down is negative.
- Count the run — the horizontal squares between them. Moving right is positive.
- Divide rise by run.
The traps:
- Check the scale. One square is not always one unit. If the y-axis steps in 5s, a rise of two squares is 10, not 2.
- Watch the direction. Read the graph left to right. If the line falls as you go right, the slope is negative — the commonest lost mark on this method.
- Use a big triangle. Points far apart make a counting error a smaller fraction of the answer.
Method 3 — from an equation
How much work this takes depends on the form the equation is already in.
| Form | Example | Slope |
|---|---|---|
| Slope-intercept y = mx + b | y = 3x − 4 | Read it off: 3 |
| Point-slope y − y₁ = m(x − x₁) | y − 2 = 5(x − 1) | The multiplier: 5 |
| Standard Ax + By = C | 2x + 4y = 8 | m = −A/B = −0.5 |
| General ax + by + c = 0 | 2x − y + 3 = 0 | m = −a/b = 2 |
When in doubt, rearrange into y = mx + b and the slope is whatever multiplies x:
2x + 4y = 8
4y = −2x + 8 → y = −0.5x + 2 → m = −0.5
The trap: reading the slope straight off standard form. In 2x + 4y = 8 the slope is not 2 — you have to divide by the y coefficient and flip the sign first. The slope calculator takes a, b and c directly if you would rather not rearrange by hand.
Bonus — from a table of values
A table is two points in disguise. Pick any two rows and apply the formula:
| x | y |
|---|---|
| 1 | 5 |
| 3 | 11 |
| 5 | 17 |
Rows 1 and 2 give (11 − 5)/(3 − 1) = 3. Rows 2 and 3 give (17 − 11)/(5 − 3) = 3. Getting the same answer from different pairs is also how you confirm the relationship is linear at all — if the ratios disagree, the data is not a straight line.
Three quick checks before you hand it in
- Does the sign match the picture? A line going up to the right must have a positive slope. Sketch it if you have to.
- Does the size look right? A slope over 1 is steeper than 45°; under 1 is shallower. If your answer is 8 and the line looks gentle, something is inverted.
- Substitute back. Put both original points into your equation. If both satisfy it, the slope and intercept are right.
How do you find slope from two points?
Subtract the y-values for the rise, subtract the x-values in the same order for the run, then divide: m = (y2 - y1)/(x2 - x1).
How do you find slope on a graph?
Pick two points where the line crosses grid intersections exactly, count the vertical squares between them for the rise and the horizontal squares for the run, then divide. Check the axis scale first - one square is not always one unit.
How do you find the slope of an equation?
If it is in the form y = mx + b, the slope is the number multiplying x. For Ax + By = C the slope is -A/B. Otherwise rearrange to isolate y first.
How do you find slope from a table?
Treat any two rows as two points and apply the slope formula. If different pairs of rows give different slopes, the data is not linear.
Which two points on a line should I use?
Any two - a straight line gives the same slope everywhere. In practice pick points with whole-number coordinates that are far apart, so a small reading error matters less.