Step by step
Enter two points to find the slope (rise over run), the angle of incline, the slope-intercept equation y = mx + b, the distance between the points, and their midpoint.
Step by step
Enter the coordinates of two points to see the slope and the full working.
Subtract to get the rise (the change in y, y₂ − y₁) and the run (the change in x, x₂ − x₁) between your two points.
The slope is m = rise ÷ run. A positive result rises left to right, a negative one falls, zero is horizontal, and a run of zero makes the slope undefined (a vertical line).
Using the slope and one point, the calculator finds the intercept b = y₁ − m·x₁ and writes the line as y = mx + b. Need the halfway point or the length? The Midpoint Calculator and the Pythagorean Theorem Calculator cover those directly.