Slope-Intercept Form Calculator
Enter two points below to instantly get the equation of the line in y = mx + b form.
Slope-Intercept Form
y = 3x − 1
Finding Slope-Intercept Form
m = (y₂ − y₁) / (x₂ − x₁), then b = y₁ − m·x₁.
Worked example
Points (1, 2) and (3, 8).
m = (8 − 2) / (3 − 1) = 6 / 2 = 3
b = 2 − 3(1) = −1
Equation: y = 3x − 1
Frequently Asked Questions
What is slope-intercept form?
Slope-intercept form writes a line's equation as y = mx + b, where m is the slope and b is the y-intercept (where the line crosses the y-axis).
How do you find the equation of a line from two points?
First find the slope: m = (y₂ − y₁) / (x₂ − x₁). Then plug one point and the slope into y = mx + b and solve for b.
What does the slope tell you?
The slope is how much y changes for every one-unit increase in x. A positive slope rises left to right; a negative slope falls; a slope of 0 is a flat horizontal line.
Related Calculators
- Quadratic Formula Calculator — Algebra
- Log Calculator — Algebra
- Exponent Calculator — Algebra
- Factoring Calculator — Algebra