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.

P₁ P₂ Δx Δy
x₁
y₁
x₂
y₂
Slope (m)
Angle of incline
Distance
Midpoint
Y-intercept (b)
Line equation
Slope m = (y₂ − y₁) / (x₂ − x₁). When x₂ = x₁ the line is vertical and the slope is undefined. The angle is measured from the horizontal.

Add this free tool to your own website — copy and paste the code below.