Algebra • Linear Equations

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.

|
Last Updated: September 2026
|
Verified Accurate: Linear Algebra & Coordinate Geometry
Standard Form Presets
Standard Form Equation

Enter coefficients A, B, and constant C for Ax + By = C

Input Equation
2x + 3y = 6

Multiplier of x

Multiplier of y

Constant term

Quick tweaks:
Resulting Slope-Intercept Form
Exact Equation (y = mx + b)
y = -2/3x + 2
Decimal approximation: y = -0.667x + 2.000
Line Behavior: Downhill (Negative Slope)
Slope (m = -A/B)
-2/3 (-0.667)
θ = -33.69°
Y-Intercept (C/B)
(0, 2)
Crossing vertical axis
X-Intercept (C/A)
(3, 0)
Crossing horizontal axis
Perpendicular (m⊥)
3/2 (+1.50)
Negative reciprocal
Evaluate Y at Custom X
x = → Calculated (x, y): (3, 0.00)
Cartesian Coordinate Plane Interactive
x: 0.00, y: 0.00
y = mx + b
Rise / Run Triangle
Y-Intercept (0, b)
X-Intercept (x₀, 0)
Drag to pan • Scroll to zoom

Step-by-Step Algebraic Derivation for 2x + 3y = 6

Standard → Slope-Intercept
1 State the Original Standard Form Equation

We begin with the standard linear equation 2x + 3y = 6, where A = 2, B = 3, and C = 6.

2 Isolate the Y-Term by Subtracting Ax from Both Sides

Subtract 2x from both sides of the equation:
3y = -2x + 6

3 Divide Every Term by the Coefficient of Y (B)

Divide both sides by B = 3:
y = (-2/3)x + (6/3)

4 Simplify Fractions and Extract Slope (m) and Y-Intercept (b)

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)).

Linear Form Formulas & Conversion Quick Reference Canonical Rules
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
Direct Answer & Overview
Verified Educational Guide

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.

Primary Mathematical Formula Standard Form to Slope-Intercept Conversion Identity
Standard Equation
ƒ(x)
Q.E.D.
Ax+By=C  ⟹  y=−ABx+CBAx + By = C \implies y = -\frac{A}{B}x + \frac{C}{B}
Valid for all non-vertical lines (B ≠ 0). Slope m = -A/B, Y-intercept b = C/B.
Exact Formula
Input Parameters
Required
1
Coefficient A: The coefficient of x in standard form.
2
Coefficient B: The coefficient of y in standard form (must be non-zero).
3
Constant C: The constant on the right side of the equation.
Expected Outputs
Calculated
Slope (m): The rate of change, computed as -A/B.
Y-intercept (b): Where the line crosses the y-axis, computed as C/B.
Slope-Intercept Equation: The line expressed as y = mx + b.
Worked Numerical Example
Instant Verification
Convert 2x + 3y = 12 to slope-intercept form
→ Subtract 2x: 3y = -2x + 12. Divide by 3: y = (-2/3)x + 4
y = -2/3 x + 4 (slope = -2/3, y-intercept = 4)

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.

1

Subtract Ax from both sides

Ax + By = C → By = −Ax + C

2

Divide every term by B

y = (−A/B)x + (C/B)

3

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

Step 1: 2y = −4x + 10
Step 2: y = (−4/2)x + (10/2)
Step 3: y = −2x + 5

Slope m = −2, Y-intercept b = 5. The line falls steeply, crossing the y-axis at (0, 5).

Example: Convert 3x − 6y = 18

Step 1: −6y = −3x + 18
Step 2: y = (−3/−6)x + (18/−6)
Step 3: y = (1/2)x − 3

Slope m = 1/2 (gentle upward incline), Y-intercept b = −3. Verify with the Slope Calculator.

Example: Convert 5x = 15 (vertical line)

B = 0, so we cannot isolate y.
This simplifies to x = 3, a vertical line.
Cannot be written in slope-intercept form.

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.

Fact-Checked & Verified • Computational Accuracy Standards
Updated September 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

How do you convert a linear equation from standard form to slope-intercept form?
To convert Ax + By = C to y = mx + b: (1) Subtract Ax from both sides to get By = -Ax + C. (2) Divide every term by B to isolate y. The slope is m = -A/B and the y-intercept is b = C/B.
What happens when B = 0 in standard form?
When B = 0, the equation Ax = C represents a vertical line at x = C/A. Vertical lines have undefined slope and cannot be expressed in slope-intercept form y = mx + b because there is no y-term to isolate.
Can every linear equation be written in slope-intercept form?
Every non-vertical linear equation can be written in slope-intercept form. Vertical lines (e.g. x = 5) are the only exception because they have an undefined slope and pass through infinitely many y-values for one x-value.
How do you find the slope from standard form without converting?
The slope of a line in standard form Ax + By = C is always m = -A/B. This shortcut works because isolating y always produces y = (-A/B)x + (C/B), so the coefficient of x is the slope.
What is the difference between standard form and slope-intercept form?
Standard form (Ax + By = C) uses integer coefficients with A ≥ 0 and highlights x- and y-intercepts symmetrically. Slope-intercept form (y = mx + b) directly reveals the slope m and y-intercept b, making it ideal for graphing and comparing rates of change.
How do you graph a line after converting to slope-intercept form?
Plot the y-intercept (0, b) first. Then use the slope m as rise/run: from the y-intercept, move up by the numerator and right by the denominator. Plot a second point and draw a straight line through both points.