Slope Calculator Between Two Points
Find the slope between two points using the slope formula and see the substitution steps.
Find slope between two points
Scroll to zoom · Drag to pan
Answer
m = 2
How to use the slope calculator
The slope calculator finds the steepness of a line through two coordinate points. It is useful before graphing a line or writing an equation.
- Enter the first point (x1, y1).
- Enter the second point (x2, y2).
- Subtract y-values and x-values.
- Divide rise by run.
Formula or method
m = (y2 - y1) / (x2 - x1).
Worked examples
Positive slope
Problem: (1, 2) and (5, 10)
Solution: m = (10 - 2) / (5 - 1) = 8/4 = 2.
Undefined slope
Problem: (3, 1) and (3, 8)
Solution: The run is zero, so the slope is undefined.