The formula this page uses
y = m x + b m = (y₂ − y₁) / (x₂ − x₁)
Solve slope intercept form problems with clear steps, notation, and a final check.
Evaluate the governing formula locally in your browser. Define each known quantity once, then change values to test another case instantly.
Choose an example or enter a formula.
No calculations yet.
y = m x + b m = (y₂ − y₁) / (x₂ − x₁)
Two points on the line
It is undefined, not zero. The run is 0 and dividing by 0 has no answer, which matches the picture: a vertical line never gets anywhere sideways. Write x = 5 and skip y = mx + b entirely.
Move the x term across and clear fractions. y = ½x − 7 becomes 2y = x − 14, then x − 2y = 14. Standard form is handy for systems of equations; slope-intercept form is handy for graphing.
If they share a slope and a y-intercept, they are one line drawn twice, and every point solves both equations. Genuinely parallel lines match on m but differ on b, so they never meet.
Yes, and it is usually the answer to 'how much at the start'. If y is dollars and x is hours, then b is dollars and m is dollars per hour, which is a fast way to check you assigned the two numbers correctly.