How to Find the Slope Between Two Points
Slope measures steepness: how far a line goes up for each step across. The formula is m = (y₂ − y₁) ÷ (x₂ − x₁), rise over run.
Slope through (2, 3) and (6, 11)
- Rise: 11 − 3 = 8. Run: 6 − 2 = 4.
- m = 8 ÷ 4 = 2.
- Equation: y − 3 = 2(x − 2), so y = 2x − 1.
Answer: m = 2, y = 2x − 1
It does not matter which point you call first, as long as you subtract in the same order on top and bottom. Mixing the order flips the sign, which is the single most common slope error.
Positive, Negative, Zero and Undefined Slope
| Slope | Line looks like | Example |
|---|---|---|
| Positive | rises left to right | (−1, 2) and (3, 10): m = 2 |
| Negative | falls left to right | (−1, 4) and (5, −2): m = −1 |
| Zero | horizontal | (0, 4) and (7, 4): m = 0 |
| Undefined | vertical | (3, 5) and (3, −2): run = 0 |
Vertical lines are the odd one: the run is 0 and you cannot divide by zero. The equation is x = 3 instead of y = something.
Find the Slope from an Equation
Rearrange into y = mx + b and read off the coefficient of x. For 3x + 4y = 12: 4y = −3x + 12, so y = −(3/4)x + 3. The slope is −3/4 and the y-intercept is 3. A shortcut for standard form Ax + By = C is m = −A ÷ B. The x-intercept is found by setting y = 0: here 3x = 12, so x = 4.
The Three Forms of a Line
| Form | Looks like | Best for |
|---|---|---|
| Slope-intercept | y = mx + b | graphing quickly |
| Point-slope | y − y₁ = m(x − x₁) | building from a point and slope |
| Standard | Ax + By = C | intercepts and systems |
The Write tab builds all three from a slope and a point, a slope and y-intercept, two points, or two intercepts.
Parallel and Perpendicular Lines
Parallel lines have equal slopes. Perpendicular lines have slopes that multiply to −1 (negative reciprocals). The line 2x + 3y = 6 has slope −2/3, so a perpendicular line has slope 3/2. Through (4, −1): y + 1 = (3/2)(x − 4), so y = (3/2)x − 7. The Parallel / perpendicular tab can also decide whether two given lines are parallel, perpendicular or neither, and find where they cross.
Slope as Percent Grade, Angle and Ratio
Roads, roofs and ramps use grade and angle. Percent grade = slope × 100. A wheelchair ramp at the maximum 1:12 slope has a grade of 8.33% and an angle of 4.76°. A 6% road grade is 3.43°. A 30° roof has a slope of tan 30° ≈ 0.577, or 57.7%. The Grade tab converts between slope, percent, angle and "1 in n".
Average Rate of Change and Collinear Points
For a curve, the slope of the line joining two points on it is the average rate of change. For f(x) = x² − 3x between x = 1 and x = 4: f(1) = −2 and f(4) = 4, so the average rate is 6 ÷ 3 = 2. This is the idea that leads to derivatives. Three points are collinear if every pair has the same slope: (1, 2), (3, 6) and (5, 10) all give 2.
Slope in the Real World: Actual Figures
| Situation | Slope | Percent grade | Angle |
|---|---|---|---|
| Wheelchair ramp (ADA maximum) | 1 : 12 | 8.33% | 4.76° |
| Roof pitch 6 : 12 | 0.5 | 50% | 26.57° |
| Road sign “10% grade” | 0.10 | 10% | 5.71° |
Percent grade is slope × 100, and the angle is arctan of the slope. A 100% grade is only 45°, not vertical.
Our Take: What Is Overrated, Underrated and Plain Wrong
Overrated: memorising y = mx + b without knowing m is a rate. “Rise per run” is the idea, the letters are labels.
Underrated: checking the sign with a quick sketch. If the line goes up as you read left to right, the slope must be positive.
Plain wrong: subtracting the coordinates in different orders. (y₂ − y₁) ÷ (x₂ − x₁) needs the same point first in both parts, or the sign flips.
Practice with Answers
- Slope through (1, 4) and (5, 12)
Answer
2 - Slope of 5x − y = 7
Answer
5 - Slope of a line perpendicular to y = −(2/5)x + 1
Answer
5/2 - Slope for a 15% grade as a fraction
Answer
3/20 - Equation through (0, 3) with slope −2
Answer
y = −2x + 3
Why Students Get Stuck on Slope, and What a Good Calculator Should Do
Searching for help with slope usually starts late at night with one problem that will not work out. Rise over run is simple, but order and signs are not. A good calculator fixes that by showing each step, checking its own answer and explaining the idea in plain words. This section covers what students struggle with, what they want, and how this page responds.
In short: students need to get slope, the line equation and the angle from two points, not just see a final number, and a calculator earns trust only when its steps can be checked.
Understand the pain points
What students get stuck on
Most mistakes here are not about arithmetic. They come from one rule applied the wrong way round, which is why seeing every step matters.
- Subtracting y and x in different ordersSlope between (1,2) and (4,8)↗
- Mixing up slope and the y-interceptLine through (2,3) and (6,11)↗
- Mishandling a vertical lineSlope between (-1,5) and (3,-3)↗
- Forgetting the sign of a negative slopeEquation of the line with slope 2 through (1,4)↗
Understand the frustrations and desires
What they feel, and what they want
Each frustration points to a wish: a clearer step, a built-in check, an explanation in plain words.
- Wants the rise and run written out
- Wants the line equation as well
- Wants angle and percent grade
Build the page around their intent
Each intent has a place on this page
The page follows intent, not features, so each need has a clear starting point.
- I need an answer now: type the problem into the calculator at the top of this page.Slope between (1,2) and (4,8)↗
- I need to understand: the sections below explain the idea in plain words and list the common mistakes.
- I need to check my work: every step is shown, so the first line that differs from yours is the one to study.
- I need practice: open the solver, tap + and choose Create Practice Test.
- I need it explained aloud: in the solver, tap + and choose Create Video.