Slope is rise over run, or (y2 – y1) / (x2 – x1).
Formula
Slope m = rise / run = (y2 – y1) / (x2 – x1).
Steps
- Choose two points on the line, (x1, y1) and (x2, y2).
- Subtract the y-values for the rise.
- Subtract the x-values for the run, in the same order.
- Divide.

Example
Points (2, 3) and (6, 11): m = (11 – 3) / (6 – 2) = 8 / 4 = 2.
What the sign means

- Positive: line goes up.
- Negative: down.
- Zero: horizontal.
- Undefined: vertical.
From an equation
In y = mx + b, m is the slope.
Based on data from standard algebra textbooks and Khan Academy.







