Slope-Intercept and Standard Form Converter

JJ Ben-Joseph headshot JJ Ben-Joseph

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.

How to use the slope-intercept and standard form converter

Slope-intercept form

Slope-intercept form writes a line as

y = mx + b

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

Standard form writes the same line as

Ax + By = C

Standard form is convenient when you solve systems of equations by elimination or when you model constraints using integer coefficients.

Formulas for converting between forms

From slope-intercept to standard form

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.

From standard form to slope-intercept

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

In MathML, this relationship can be written as:

y = - A B x + C B

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.

Interpreting the results

The converter does a few things automatically so your answers are clean and consistent:

When you see the output, you can treat it as a canonical version of the same line: different algebraic forms, but the same graph.

Worked examples

Example 1: Slope-intercept to standard form

Suppose you have the line

y = (3/4)x - 2

  1. Move the x-term to the left:
    - (3/4)x + y = -2
  2. Clear the fraction by multiplying every term by 4:
    -3x + 4y = -8
  3. Make 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).

Example 2: Standard form to slope-intercept

Now start from a standard form equation:

2x + 3y = 12

  1. Subtract 2x from both sides:
    3y = 12 - 2x
  2. Divide by 3:
    y = 12/3 - (2/3)x
  3. Simplify:
    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.

Example 3: Vertical line limitation

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.

Comparison of slope-intercept and standard form

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

Limitations and assumptions

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.

Provide either slope-intercept parameters (m,b) or standard form coefficients (A,B,C).

Embed this calculator

Copy and paste the HTML below to add the Slope-Intercept and Standard Form Converter to your website.