Calculate the equation of a line (y = mx + b) from two points or a slope and point.
Coordinates
Point 1 (x1, y1)
Point 2 (x2, y2)
Line Equation
y = 2.00x + 2.00
Standard Form (y = mx + b)
The line's rise over run and its intersection with the vertical axis.
Slope (m)2.00
Y-intercept (b)2.00
Coordinate Preview
About this calculator
Understanding Slope-Intercept Form
The slope-intercept form is a way of writing the equation of a line so that the slope (m) and the y-intercept (b) are immediately apparent. It is one of the most common ways to represent linear functions in algebra.
💡
Pro Tips
m is the slope (rise/run).
b is where the line crosses the y-axis (x = 0).
A horizontal line has m = 0 (y = b).
A vertical line cannot be written in this form (x = c).
!
Fun Facts
"The letter 'm' for slope is thought to come from the French word 'monter', meaning 'to climb'."
"Linear equations are the building blocks of linear regression in statistics."
"The intersection of two lines can be found by setting their slope-intercept equations equal to each other."