Finding Slope When You Know Two Points- Step-by-Step Guide
What Slope Actually Is
Slope is just the rise over run—how much something goes up or down divided by how much it moves left or right. That's it. No fancy definitions needed.
In math terms, slope measures the steepness of a line. It tells you the rate of change between two variables. If you're climbing a hill, slope is how steep that hill is.
The formula is:
m = (y₂ - y₁) / (x₂ - x₁)
Where m is slope, and the points are (x₁, y₁) and (x₂, y₂).
The Slope Formula Explained
You subtract the y-values, divide by the x-values. That's the whole thing.
- y₂ - y₁ = the vertical change (rise)
- x₂ - x₁ = the horizontal change (run)
- The division gives you the ratio
The order matters. Swap the points and you might get the same number, but the formula has to stay consistent. Subtract y₂ from y₁ and x₂ from x₁ in the same order.
Step-by-Step: Finding Slope From Two Points
Let's use real points: (2, 3) and (6, 11)
Step 1: Identify your points
Point 1: (x₁, y₁) = (2, 3)
Point 2: (x₂, y₂) = (6, 11)
Step 2: Subtract the y-values
y₂ - y₁ = 11 - 3 = 8
Step 3: Subtract the x-values
x₂ - x₁ = 6 - 2 = 4
Step 4: Divide
m = 8 / 4 = 2
The slope is 2. For every 1 unit you move right, the line goes up 2 units.
Positive, Negative, Zero, and Undefined Slope
Slope isn't always positive. Here's what different values mean:
Positive Slope
The line goes upward as you move right. Like climbing uphill. Slope > 0.
Negative Slope
The line goes downward as you move right. Like going downhill. Slope < 0.
Zero Slope
A flat horizontal line. No rise at all. Slope = 0.
Undefined Slope
A vertical line. The run is zero, and you can't divide by zero. This is "undefined," not zero.
| Slope Type | What It Looks Like | Example |
|---|---|---|
| Positive | Going up left to right | m = 3, m = 1/2 |
| Negative | Going down left to right | m = -2, m = -4/5 |
| Zero | Flat horizontal line | m = 0 |
| Undefined | Vertical line | x = 5 |
Common Mistakes to Avoid
- Mismatched order: Using y₂ - y₁ with x₁ - x₂. Keep the subtraction order the same.
- Forgetting negatives: A negative y-value can trip you up. Write it out explicitly.
- Undefined vs. zero: Horizontal lines have slope = 0. Vertical lines have undefined slope. Not the same thing.
- Dividing too early: Do the subtraction first, then divide.
Quick Reference: Slope Calculation Checklist
Before you calculate, run through this:
- Label your points correctly—x₁, y₁ and x₂, y₂
- Confirm which point is which (it doesn't matter which is 1 or 2, but stay consistent)
- Subtract y-values first
- Subtract x-values second
- Divide the results
- Check your sign—positive or negative?
Practice Problems
Problem 1: Points (1, 2) and (4, 8)
Answer: (8-2)/(4-1) = 6/3 = 2
Problem 2: Points (3, 7) and (5, 1)
Answer: (1-7)/(5-3) = -6/2 = -3
Problem 3: Points (-2, 4) and (3, -6)
Answer: (-6-4)/(3-(-2)) = -10/5 = -2
Problem 4: Points (2, 5) and (2, 9)
Answer: (9-5)/(2-2) = 4/0 = Undefined (vertical line)