How to Convert Linear Equations to Slope Intercept Form

If you have a linear equation in standard form — something like Ax + By = C — and you want to see its slope and y-intercept at a glance, you solve for y. Isolating y rearranges the equation into slope intercept form, y = mx + b, where m is the slope and b is the y-intercept.
What Slope Intercept Form Tells You
The form y = mx + b is popular because it exposes two key features of a line at once. The coefficient m is the slope — the change in y for each one-unit increase in x. The constant b is the y-intercept, the point where the line crosses the vertical axis, written as (0, b).
That is why converting linear equations to slope intercept form is often the first move in a graphing or comparison problem. Slope tells you how steeply the line rises or falls; the intercept tells you where to anchor it. Two lines written this way are easy to compare: equal slopes mean parallel lines, and negative reciprocal slopes mean perpendicular ones.
The underlying equation may be written with the variables on either side, as long as no variable appears multiplied by another or raised to a power. Any equation that can be arranged as a₁x₁ + … + aₙxₙ + b = 0 counts as linear Wikipedia — Linear equation. In two variables this reduces to ax + by + c = 0, and the solution set is a straight line in the plane.
The Step-by-Step Conversion
The whole process is one idea: get y alone on one side of the equals sign. Work in the reverse order of operations — undo addition and subtraction first, then undo multiplication and division.
A Worked Example
Convert 4x + 2y = 10 to slope intercept form.
- Subtract 4x from both sides: 2y = −4x + 10.
- Divide every term by 2: y = −2x + 5.
The result is y = −2x + 5, so the slope is −2 and the y-intercept is (0, 5). You can check it by substituting a point: when x = 0, y = 5, matching the intercept. When x = 1, y = 3, so the line falls two units for every one unit right — exactly what a slope of −2 predicts.
When the Coefficient of y Is Negative
The same steps work no matter the sign. Take 3x − y = 7. Subtract 3x: −y = −3x + 7. Multiply every term by −1: y = 3x − 7. The slope is 3 and the intercept is (0, −7). Multiplying through by −1 flips every sign, so keep track of that carefully.
Quick Reference
| Starting form | First move | Result |
|---|---|---|
| 5x + y = 12 | Subtract 5x | y = −5x + 12 |
| 2x + 3y = 6 | Subtract 2x, divide by 3 | y = −(2/3)x + 2 |
| x − 4y = 8 | Subtract x, divide by −4 | y = (1/4)x − 2 |
| 6y = 18 | Divide by 6 | y = 3 (slope 0, horizontal line) |
Special Cases and Common Mistakes
Not every equation cooperates in the same way, and a few traps show up again and again.
Vertical lines. An equation like x = 4 has no y term at all, so you cannot isolate y. A vertical line has an undefined slope and no slope intercept form. Recognizing this case prevents a lot of frustration.
Horizontal lines. An equation like y = 3 is already in slope intercept form with m = 0 and b = 3. The line is flat and never crosses at a steep angle.
Sign errors. The most common mistake is dropping a negative sign when dividing or multiplying. If a term ends up on the wrong side of the equals sign, every later step inherits the error.
Reading the intercept correctly. In y = −2x + 5, the y-intercept is +5, not −2. The slope and intercept are separate pieces of information; don’t mix them up.
Not simplifying. If you end with 4y = 8x + 12, divide all three terms by 4 to get y = 2x + 3. Leaving it unsimplified hides the slope.
Practicing with varied coefficients builds fluency fast. Khan Academy has free interactive exercises on this exact skill Khan Academy, and Purplemath offers clear worked examples Purplemath.
Why This Conversion Matters
Slope intercept form is the most readable version of a linear equation, which is why it shows up throughout algebra, physics, and engineering. It lets you sketch a graph from two numbers, predict where a line will be at any x-value, and compare relationships at a glance.
Once the equation is in y = mx + b, you can graph in seconds: plot the intercept, then use the slope to step to a second point. Rise over run is built right into m. Math Is Fun’s line graphing guide shows how quickly this works in practice Math Is Fun.
For word problems, the same form is invaluable. If a cost model is C = 25 + 10h, then rewriting the terms as C = 10h + 25 shows instantly that the flat fee is 25 and the hourly rate is 10. Reading the structure rather than just the numbers is the real payoff of the conversion.
Key Takeaways
- Slope intercept form is y = mx + b, where m is the slope and b is the y-intercept.
- To convert, isolate y: move the x term to the other side, then divide every term by the coefficient of y.
- A worked example: 4x + 2y = 10 becomes y = −2x + 5, so m = −2 and b = 5.
- Watch for sign errors when multiplying or dividing, and simplify all terms at the end.
- Vertical lines (x = a constant) cannot be written in slope intercept form because their slope is undefined.
- Once converted, you can graph the line or compare it with others at a glance.