Slope Calculator
Find the slope of a line through two points, plus the angle of incline, distance, midpoint, y-intercept and the line equation y = mx + b. Free and instant.
About Slope Calculator
The slope calculator finds the slope of the line through two points using m = (y₂ − y₁) / (x₂ − x₁), the familiar rise-over-run formula. Enter the coordinates of point 1 and point 2 and the slope appears immediately.
It goes well beyond the slope alone: you also get the angle of incline measured from the horizontal, the straight-line distance between the points, their midpoint, the y-intercept b and the full line equation in y = mx + b form. When both x-values are equal, the tool correctly reports a vertical line with undefined slope.
Students use it for coordinate-geometry homework, and it is just as useful for grading driveways, ramps and roofs expressed as coordinates. Free and instant, right in your browser.
How to use Slope Calculator
- Enter the coordinates of point 1: x₁ and y₁.
- Enter the coordinates of point 2: x₂ and y₂.
- Read the slope m and the angle of incline.
- Check the distance, midpoint, y-intercept and the equation y = mx + b.