Learn · Algebra and geometry (grades 8–10)

Slope-Intercept Form (y = mx + b), Step by Step

Slope-intercept form is y = mx + b. The number m is the slope, and b is the y-intercept, the height where the line crosses the y-axis. Once an equation is in this form, you can graph it at a glance.

Try it with your own problem ↓

The steps

  1. To read a line: m (the number in front of x) is the slope, and b (the number added at the end) is where it crosses the y-axis.
  2. To convert another form, get y alone: move the x term to the other side by adding or subtracting.
  3. Divide every term by the number in front of y.
  4. To graph: plot (0, b), then use the slope as rise over run to find more points.
  5. To write an equation from the slope m and a point, put them in y = mx + b and solve for b.

A worked example

Write 2x + 3y = 6 in slope-intercept form.

  1. Subtract 2x from both sides: 3y = −2x + 6.
  2. Divide every term by 3: y = (−2/3)x + 2.
  3. Read it: slope m = −2/3 and y-intercept b = 2.
  4. To graph: plot (0, 2), then go down 2 and right 3 to reach (3, 0). Check: 2(3) + 3(0) = 6. ✓

y = −(2/3)x + 2.

Try it with your own problem

Open the free The Slope Grid with this example already filled in. It shows every step, and you can type over it with your own numbers.

Work it out: 2x+3y=6 in slope-intercept formOpens The Slope Grid with this example

Or try these

Common mistakes

Questions people ask

What is the y-intercept?

The point where the line crosses the y-axis, where x = 0. In y = mx + b it is (0, b).

How do I find the equation from two points?

Find the slope from the two points, then use one point to solve for b in y = mx + b.

What are the other forms of a line?

Standard form (Ax + By = C) and point-slope form (y − y₁ = m(x − x₁)).

Keep learning

Show The Steps is free, with no accounts or ads, and everything is worked out in your own browser. Start at the home page.