+Calculator+

Slope-Intercept Form Calculator

Find the slope-intercept form y = mx + b from two points or from a slope and a point. Also returns standard and point-slope forms.

Choose an input mode

Point 1 (x1, y1)

Point 2 (x2, y2)

Equation

y = 2x + 1

Slope (m)

2

y-intercept (b)

1

x-intercept

-0.5

Point-slope form

y - 3 = 2(x - 1)

Standard form

2x - y = -1

Frequently Asked Questions about the Slope-Intercept Form Calculator

What is slope-intercept form?
Slope-intercept form is y = mx + b, where m is the slope of the line and b is the y-intercept, the y-value where the line crosses the y-axis.
How do you find y = mx + b from two points?
Compute the slope m = (y2 - y1) / (x2 - x1), then plug one point into b = y1 - m times x1. The result gives both m and b directly.
How do you find the equation from a slope and a point?
Use b = y1 - m times x1 to get the y-intercept, then write y = mx + b. You can also write it as point-slope form: y - y1 = m(x - x1).
What happens with a vertical line?
A vertical line has the same x-value at both points, so the slope is undefined. The line cannot be written as y = mx + b. Instead, write it as x = x1.
How do you convert y = mx + b to standard form?
Standard form is Ax + By = C with integer coefficients. From y = mx + b, move mx to the left to get mx - y = -b, then scale so A, B, and C are integers.