Linear Equation to Slope-Intercept Form Converter
Convert any linear equation from Ax + By = C standard form into y = mx + b slope-intercept form with step-by-step algebraic derivation and interactive line graph.
Enter coefficients A, B, and constant C for Ax + By = C
Multiplier of x
Multiplier of y
Constant term
Step-by-Step Algebraic Derivation for 2x + 3y = 6
We begin with the standard linear equation 2x + 3y = 6, where A = 2, B = 3, and C = 6.
Subtract 2x from both sides of the equation:
3y = -2x + 6
Divide both sides by B = 3:
y = (-2/3)x + (6/3)
Reducing terms yields the final slope-intercept form y = -2/3x + 2. Here, the slope is m = -2/3 and the y-intercept is b = 2 (coordinate (0, 2)).
| Equation Form | Algebraic Structure | Slope Formula | Y-Intercept Formula | Primary Use Case |
|---|---|---|---|---|
| Standard Form | Ax + By = C | m = -A / B | (0, C / B) | Systems of equations & integer coefficients |
| Slope-Intercept | y = mx + b | m (explicit) | (0, b) | Graphing lines & calculating rates of change |
| Point-Slope | y - y₁ = m(x - x₁) | m | b = y₁ - m x₁ | Writing line given one point and slope |
How to Convert Standard Form to Slope-Intercept Form
To convert Ax + By = C to slope-intercept form: subtract Ax from both sides to get By = -Ax + C, then divide every term by B. The result is y = (-A/B)x + (C/B), where the slope m = -A/B and the y-intercept b = C/B.
What Is Slope-Intercept Form?
Slope-intercept form is the most widely used representation of a linear equation, written as y = mx + b, where m is the slope (rate of change) and b is the y-intercept (the point where the line crosses the y-axis).
This form is preferred for graphing because both key properties of the line are immediately visible. By contrast, standard form Ax + By = C treats both variables symmetrically and is better for finding intercepts or solving systems of equations using the elimination method or Cramer's Rule.
Slope-Intercept Form: y = mx + b
Directly reveals slope and y-intercept. Ideal for graphing, comparing parallel and perpendicular lines, and analyzing rates of change.
Standard Form: Ax + By = C
Integer coefficients with A ≥ 0. Useful for systems of equations, finding both intercepts quickly, and formal algebraic manipulation.
The Three-Step Conversion Algorithm
Converting from standard form Ax + By = C to slope-intercept form y = mx + b follows a simple three-step algebraic procedure. The goal is to isolate y on one side of the equation.
Subtract Ax from both sides
Ax + By = C → By = −Ax + C
Divide every term by B
y = (−A/B)x + (C/B)
Identify slope and y-intercept
Slope m = −A/B, Y-intercept b = C/B
Once you have slope-intercept form, you can immediately graph the line from slope and y-intercept or calculate the x-intercept by setting y = 0.
Step-by-Step Worked Examples
Example: Convert 4x + 2y = 10
Slope m = −2, Y-intercept b = 5. The line falls steeply, crossing the y-axis at (0, 5).
Example: Convert 3x − 6y = 18
Slope m = 1/2 (gentle upward incline), Y-intercept b = −3. Verify with the Slope Calculator.
Example: Convert 5x = 15 (vertical line)
Vertical lines have undefined slope. Use the Point Checker to verify which points lie on x = 3.
Visual Interpretation: Slope and Y-Intercept
Once converted to y = mx + b, both parameters have clear geometric meaning that make graphing straightforward.
Slope (m) = Rise ÷ Run
A positive slope means the line rises left-to-right; negative means it falls. A slope of 0 produces a horizontal line. Use the Slope Calculator to find slope between any two points.
Y-intercept (b) = Value at x = 0
The y-intercept is the point (0, b) where the line crosses the vertical axis. Use the Y-Intercept Calculator to find it from other equation forms.
Real-World Applications
Physics: Velocity-Time Graphs
The equation v = at + v₀ is slope-intercept form where acceleration is the slope and initial velocity is the y-intercept.
Economics: Cost Functions
Total cost C = mx + b, where m is the variable cost per unit and b is the fixed cost, directly mirrors slope-intercept form.
Statistics: Regression Lines
A best-fit line from correlation analysis is expressed in slope-intercept form to predict y from x.
Common Conversion Pitfalls
Forgetting the Negative Sign
When subtracting Ax, the slope becomes −A/B, not A/B. The most common error is dropping the negative sign during rearrangement.
Not Dividing All Terms by B
Both the −Ax term AND the constant C must be divided by B. Forgetting to divide C produces an incorrect y-intercept.
Ignoring B = 0 (Vertical Lines)
If B = 0, dividing by B is undefined. Always check B ≠ 0 before converting. Use the Standard Form Converter to go the other direction.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.