Find the equation of a line in slope-intercept form (y = mx + b) from two points, a slope and point, or by entering m and b directly with the Slope Intercept Form Calculator. Results update as you type.
Slope intercept form calculator
Using the slope intercept form calculator
The calculator offers three modes:
Two Points: Enter coordinates for two points on the line. The calculator finds the slope and y-intercept automatically.
Slope + Point: If you already know the slope (m) and one point the line passes through, enter those values to find the y-intercept.
Slope + Y-Intercept: Enter m and b directly to see the equation and other forms.
The calculator displays the line equation in slope-intercept form (y = mx + b), point-slope form (y - y₁ = m(x - x₁)), and standard form (Ax + By = C).
What is slope intercept form?
Slope-intercept form is a way to write the equation of a straight line:
y = mx + b
Where:
- m is the slope (how steep the line is)
- b is the y-intercept (where the line crosses the y-axis)
This form is useful because you can immediately see both the slope and where the line crosses the y-axis.
Example: finding slope intercept form from two points
Find the equation of the line through (2, 5) and (6, 13):
First, find the slope:
m = \frac{13 - 5}{6 - 2} = \frac{8}{4} = 2Then find b using one point:
5 = 2(2) + b \Rightarrow b = 1
The equation is y = 2x + 1.
