Slope-intercept form is the most useful way to write a line: y = mx + b. You can read the slope and intercept instantly, then solve or graph with confidence.
Need to convert forms quickly? Try our ai math solver to rewrite equations into y = mx + b and show every step.
Solve Now →In y = mx + b:
If you’re new to linear functions in general, start with how to solve linear functions.
Example: y = -2x + 5
Negative slope means the line goes down as x increases.
Standard form is Ax + By = C. To convert to slope-intercept form, solve for y.
Example: 3x + 2y = 12
Now you can read slope m = -3/2 and intercept b = 6.
If you have two points, first find the slope: m = (y2 - y1) / (x2 - x1).
Points: (1, 4) and (5, 12)
Example: y = 2x + 2, find y when x = 7
Example: y = 2x + 2, find x when y = 18
In y = mx + b, the number attached to x is the slope. The constant is the intercept.
When solving for y from Ax + By = C, divide every term on the right by B.
If two points share the same x-value, the line is vertical and cannot be written as y = mx + b.
Keep parentheses when computing slope and when moving terms.
For more worked examples converting between forms (and connecting the equation to the graph), you can also skim Khan Academy’s linear equations & inequalities lessons.
Paste your equation and get the slope-intercept form with steps.
Try AI Math Solver →