Understanding Slope
Find slope as rise over run and with the slope formula, and tell positive, negative, zero and undefined slopes apart on graphs and in real life.
Welcome back!
Step 1 of 13Learn
Rise over run
Road signs in the mountains warn drivers about a "6% grade." Building codes in the US say a wheelchair ramp should rise no more than 1 inch for every 12 inches of length. Both are describing slope: how steep something is.
Slope compares vertical change to horizontal change:
slope = rise / run
The rise is how far you go up (or down); the run is how far you go across. A ramp that rises 1 foot over a run of 12 feet has slope 1/12 ≈ 0.083. The 6% road rises 6 feet for every 100 feet across: slope 0.06.
On the coordinate plane, slope is usually written m. For any two points on a line, the slope formula is
m = (y₂ − y₁) / (x₂ − x₁)
For the points (1, 2) and (4, 8): m = (8 − 2)/(4 − 1) = 6/3 = 2. The line rises 2 units for every 1 unit it moves right. A straight line has the same slope everywhere, so any two of its points give the same answer.
Step 2 of 13Practice · Diagram
How steep is that slope?
Slope is just rise divided by run, so everyday slopes can share one number line. Tap a marker.
Of the three real-world slopes (road, ramp, stairs), which is steepest?
Tap the shape that answers the question, then press Check.
- 6% road
Rises 6 feet per 100 feet across: slope 0.06.
- Wheelchair ramp
At most 1 inch up per 12 inches across: 1/12 ≈ 0.083.
- Typical stairs
A 7-inch step up with an 11-inch tread: 7/11 ≈ 0.64.
- Slope 1 (45°)
Rise equals run. The line climbs as fast as it moves right.
Step 3 of 13Practice · Work it out
What is the slope of the line through (−2, 3) and (4, −9)?
Step 4 of 13Try the calculator
Slope from two points
Enter any two points. Try the ones from the question you just solved, then swap the points and notice that the slope does not change.
- Rise (y₂ − y₁)
- -12
- Run (x₂ − x₁)
- 6
- Slope m
- -2
Step 5 of 13Learn
Four kinds of slope
Read a graph from left to right, like a sentence.
- Positive slope: the line goes up. More hours worked, more pay.
- Negative slope: the line goes down. More minutes of streaming video, less battery.
- Zero slope: the line is horizontal. The rise is 0, so m = 0/run = 0. A flat monthly fee that does not depend on usage.
- Undefined slope: the line is vertical. The run is 0, and dividing by 0 is undefined.
The size of the slope, ignoring its sign, tells you steepness. A slope of 5 is steeper than a slope of 2, and a slope of −5 is just as steep as 5, only going down. Slopes between −1 and 1 are gentler than a 45° diagonal.
Zero and undefined are easy to mix up. Zero slope means "flat, no rise at all": a perfectly level floor. Undefined slope means "a wall": no run at all. One way to remember it: you can walk on a zero slope, but you cannot walk up a vertical one.
Step 6 of 13Diagram
The four kinds of slope
Read every line from left to right. Tap each kind for an example.
Tap a shape with to see more.
- Slope
- Positive: goes up
More hours worked, more pay. Example: y = 2x.
- Negative: goes down
More streaming, less battery. Example: y = −0.5x + 100.
- Zero: horizontal
Rise is 0, so 0 ÷ run = 0. Example: y = 4.
- Undefined: vertical
Run is 0 and you cannot divide by 0. Example: x = 2.
Step 7 of 13Practice · Sort into groups
Classify the slope of the line through each pair of points.
Tap an item, then tap its group (or drag it there).
Step 8 of 13Explore
Slope explorer
The graph shows y = m·x. Drag m and watch the steepness. The readouts convert slope to an angle and to a percent grade like the ones on road signs.
- Angle with the x-axis
- 45 °
- Percent grade
- 100 %
Step 9 of 13Practice · Work it out
A wheelchair ramp must have a slope of no more than 1/12. If the ramp has to rise 2 feet to reach a door, what is the shortest run it can have, in feet?
Step 10 of 13Note
Step 11 of 13Practice · True or false
A vertical line has a slope of 0.
Step 12 of 13Practice · Choose one
A line passes through (0, 5) and (3, 5). What is its slope?
Step 13 of 13Practice · Work it out
A hiking trail climbs 450 feet in elevation over a horizontal distance of 3,000 feet. What is its slope as a decimal?
Lesson complete!