Slope tells how much a line's vertical coordinate changes for each one-unit increase in its horizontal coordinate. It connects a visual steepness with a numerical rate of change.
Compare changes, not coordinates alone
For two points and with different x-coordinates,
The numerator is vertical change, or rise; the denominator is horizontal change, or run. Use the same point order in both subtractions. Reversing both orders gives the same slope because both signs reverse.
Slope is not generally That ratio measures change from the origin and works for slope only when the line passes through the origin.
Example: slope from two points
A line passes through and Moving from the first point to the second increases x by 4 and y by 8. The slope is
This means moving one unit right raises y by 2. Starting at another point is Moving two units right would raise y by 4, giving A line maintains the same change ratio wherever you start.
You do not need a point with x equal to zero to find slope. Any two distinct points on a nonvertical line work.
The line through 2,3 and 6,11 has a horizontal guide from 2,3 to 6,3 and a vertical guide to 6,11.
Moving right 4 and up 8 gives slope . The dashed steps show the coordinate changes.
Describe this figure
The line through 2, 3 and 6, 11 has a horizontal guide from 2, 3 to 6, 3 and a vertical guide to 6, 11.
Marked points: (2, 3): filled marker at (2, 3); (6, 11): filled marker at (6, 11).
Example: slope from a table with uneven gaps
A table has points and Between the first two, y changes by while x changes by 2, giving slope Between the next two, the changes are and 3, again giving
The negative sign means the line falls as you move right. Looking only at the output differences, and would hide the constant rate because the input steps differ.
If the ratios differed, the three points would not all lie on one straight line. A rate between two points could still be calculated, but it would not describe one constant slope for the whole relationship.
Horizontal and vertical lines
A horizontal line has no vertical change, so its slope is 0. For points and the ratio is
A vertical line has no horizontal change. Points and would give which is undefined. “Undefined” is not another way to say zero. The line is vertical because x stays fixed while y changes.
Read graph scales and units
If one grid step represents 2 hours horizontally and 10 liters vertically, a rise of one square and run of one square gives liters per hour, not slope 1 in those units. Count coordinate changes, not just squares.
A distance-versus-time slope has units of distance per time. Reversing the axes changes both the numerical slope and its units.
Try it yourself
Find the slope through and Then identify the slopes of and
Answer: The coordinate changes are and 4, so slope is The line is horizontal with slope 0. The line is vertical and has undefined slope.
What to remember
Slope is change in y divided by change in x. Use consistent subtraction order, read axis scales, and distinguish a zero numerator from a zero denominator.