Slope-Intercept Form Calculator
Turn points or a standard equation into y = mx + b.
The x-coordinate of the first point.
The y-coordinate of the first point.
The x-coordinate of the second point.
The y-coordinate of the second point.
Result
You entered
Slope
y-intercept
x-intercept
Slope-intercept form
Point-slope form
Standard form
Angle with the x-axis
Show the work
Slope formula (rise over run)
The line is , so the slope comes first: the rise divided by the run. Here and .
Find the y-intercept
The intercept is where the line meets the -axis. Since is on the line, , so . Here .
Slope-intercept form
Put and into .
Result
So the line through the two points is .
Worked examples
Slope formula (rise over run), Find the y-intercept
Slope formula (rise over run), Find the y-intercept
Slope formula (rise over run), Find the y-intercept
Slope formula (rise over run), Find the y-intercept
A vertical line has no slope, Equation of a vertical line
Point-slope form, Distributive property
Point-slope form, Distributive property
Solve the standard form for y, Slope from the coefficients