This calculator converts linear equations between slope-intercept form and standard form. Enter either the slope and intercept (m and b) or the standard form coefficients (A, B, C), and it will return the equivalent equation with exact, simplified coefficients.
Slope-intercept form writes a line as
y = mx + b
y for each 1-unit change in x.y when x = 0.This form is especially useful when you want to graph quickly or interpret the rate of change and starting value in a word problem.
Standard form writes the same line as
Ax + By = C
B = 0, the line is vertical (x = C / A) and has undefined slope.Standard form is convenient when you solve systems of equations by elimination or when you model constraints using integer coefficients.
Start with the slope-intercept equation:
y = mx + b
Rearrange to move the x-term to the left:
-mx + y = b
To match Ax + By = C, you can multiply the entire equation by -1 so that the coefficient of x is positive:
mx - y = -b
In general, if you begin with y = mx + b, an equivalent standard form is
mx - y = -b
When m or b are fractions, the calculator multiplies through by a common denominator to clear fractions and then divides by the greatest common divisor so that A, B, and C are simplified integers.
Start with the standard equation:
Ax + By = C
Subtract Ax from both sides:
By = C - Ax
Now divide every term by B (assuming B \neq 0):
y = -A/B x + C/B
So the slope-intercept parameters are
m = -A/Bb = C/BIn MathML, this relationship can be written as:
If B = 0, the line is vertical, has an undefined slope, and cannot be written in slope-intercept form. The calculator reports this case explicitly.
The converter does a few things automatically so your answers are clean and consistent:
A, B, and C.A > 0, which is the most common classroom convention.When you see the output, you can treat it as a canonical version of the same line: different algebraic forms, but the same graph.
Suppose you have the line
y = (3/4)x - 2
x-term to the left:
- (3/4)x + y = -2
-3x + 4y = -8
A positive by multiplying by -1:
3x - 4y = 8
The standard form is 3x - 4y = 8 with A = 3, B = -4, C = 8. The calculator performs these steps automatically and also checks whether 3, -4, and 8 share any common factor (they do not).
Now start from a standard form equation:
2x + 3y = 12
2x from both sides:
3y = 12 - 2x
y = 12/3 - (2/3)x
y = 4 - (2/3)x
Reordering terms gives
y = -(2/3)x + 4
So the slope-intercept parameters are m = -2/3 and b = 4. When you enter A = 2, B = 3, and C = 12 in the calculator, it will return exactly these values.
Consider the equation
5x = 10
This can be written as standard form with A = 5, B = 0, and C = 10. Dividing by 5 gives x = 2, which is a vertical line. There is no way to write this as y = mx + b because the slope is undefined. If you enter A = 5, B = 0, and C = 10, the converter will tell you that the slope-intercept form does not exist for this line.
| Aspect | Slope-intercept form (y = mx + b) | Standard form (Ax + By = C) |
|---|---|---|
| Main focus | Highlights slope and y-intercept directly | Highlights a balanced equation with integer coefficients |
| Typical use | Graphing, interpreting rate of change, word problems | Solving systems, modeling constraints, integer solutions |
| Visibility of slope | Immediate: m is the coefficient of x |
Computed: m = -A/B when B \neq 0 |
| Visibility of intercept | Immediate: b is the constant term |
Computed: b = C/B when B \neq 0 |
| Vertical lines | Cannot represent vertical lines (slope undefined) | Represented when B = 0, for example Ax = C |
| Preferred coefficients | Often allows fractions or decimals for simplicity | Often chosen as simplified integers with A > 0 |
m and b, or all of A, B, and C. Any other combination is treated as invalid.B = 0 in standard form, the line is vertical. The calculator cannot convert such a line into slope-intercept form and instead reports that the slope is undefined.A > 0. If your input already satisfies these rules, the output may look the same as your input.These assumptions match the way most algebra courses define and use slope-intercept and standard form, so you can rely on the outputs for homework, teaching, and quick checks.