Find the slope-intercept equation of a line (y = mx + b) from two points on the line.
The Slope-Intercept Form Calculator finds the equation of a straight line, written as y = mx + b, from any two points on that line.
This form is one of the most common ways to describe a line in algebra — m is the slope (steepness) and b is where the line crosses the y-axis.
Slope: m = (y2 − y1) ÷ (x2 − x1). Y-Intercept: b = y1 − m × x1. Equation: y = mx + b.
For the points (1, 2) and (4, 11), the slope is (11−2)÷(4−1) = 3, the y-intercept is 2−3(1) = −1, giving the equation y = 3x − 1.
A linear equation written as y = mx + b, where m is slope and b is the y-intercept.
Slope = (y2 − y1) ÷ (x2 − x1).
Plug a known point and the slope into y = mx + b and solve for b.