Linear equation in slope-intercept form

Linear Function Explorer

Focus mode
Linear equation in slope-intercept form

Your numbers

Point 1
Point 2
What do you want to find?

Results

Slope (m)
2
y-intercept (b)
5
x-intercept
-2.5
Run (change in x)
1
Rise (change in y)
2
Distance between the two plotted points
2.236068
Midpoint x-coordinate
0.5
Midpoint y-coordinate
6
Angle of inclination
63.434949 degrees
Slope (m) = (y2-y1)/(x2-x1)
y-intercept (b) = y1-((y2-y1)/(x2-x1))*x1
x-intercept = x1-y1*((x2-x1)/(y2-y1))
Run (change in x) = x2-x1
Rise (change in y) = y2-y1
Distance between the two plotted points = sqrt((x2-x1)^2+(y2-y1)^2)
Midpoint x-coordinate = (x1+x2)/2
Midpoint y-coordinate = (y1+y2)/2
Angle of inclination = atan((y2-y1)/(x2-x1))*180/pi