Standard Form to Slope Intercept Form Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter A, B and C of Ax + By = C to rewrite the line as y = mx + b.
Result
Slope m = −A ÷ B
y-intercept b = C ÷ B
- x-intercept = C ÷ A
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- A (coefficient of x): enter a number.
- B (coefficient of y, not 0): enter a number.
- C (constant on the right side): enter a number.
- Read the result: Slope m = −A ÷ B; the panel also shows y-intercept b = C ÷ B and x-intercept = C ÷ A.
How this calculator works
Start from Ax + By = C, subtract Ax from both sides (By = −Ax + C) and divide by B: y = (−A ÷ B)x + C ÷ B. So m = −A ÷ B and b = C ÷ B.
The x-intercept, where y = 0, is C ÷ A. When B = 0 the line is vertical (x = C ÷ A) and has no slope-intercept form; the slope shows a dash.
The formula
| Symbol | Meaning |
|---|---|
| A (coefficient of x) | |
| B (coefficient of y, not 0) | |
| Slope m = −A ÷ B |
Worked example
| A (coefficient of x) | 2 |
|---|---|
| B (coefficient of y, not 0) | 3 |
| C (constant on the right side) | 6 |
| y-intercept b = C ÷ B | 2 |
|---|---|
| x-intercept = C ÷ A | 3 |
Slope m = −A ÷ B -0.6667
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is 2x + 3y = 6 in slope-intercept form?
y = −(2/3)x + 2: the slope is about −0.6667 and the line crosses the y-axis at 2 and the x-axis at 3.
What is the slope of a line in standard form?
−A ÷ B. For 4x − 2y = 8 it is −4 ÷ (−2) = 2, and the equation becomes y = 2x − 4.