The $m$ stands for the slope of the line and $b$ stands for the y-intercept of the line. Usually, we'll be given some information, and we have to find $m$ and $b$ in order to plug them and get the equation of the line.

The question might give you two points or one point and the slope. We have the steps for each below, or you can scroll down to our fancy, step-by-step calculators.

Getting Slope-Intercept Form

Our steps will differ based on the information we have, so which guide do we want?

So, remember, our equation is:

$y=mx+b$$m$ stands for the slope and $b$ stands for the y-intercept of the line. The steps to write this equation if we have two points are below.

First, let's call our points Point 1 with coordinates $(x_{1},y_{1})$ and Point 2 with coordinates $(x_{2},y_{2})$.

Now, we'll find the slope. Divide the change in $y$ by the change in $x$:$m=slope=x_{1}−x_{2}y_{1}−y_{2} $ Notice the color coding - make sure that the first $x$ and $y$ values in the subtractions are from the same point.

Now, let's pretend that the value we got for $m$ is $2$. We can plug that back into our equation, so now we have$y=2x+b$ To get $b$, we just plug in one of our points -$y_{1}=2(x_{1})+b$ - and solve for $b$.

If this is all overwhelming, no sweat, try it step-by-step below👇🏻👇🏽👇🏿.

So, remember, our equation is:

$y=mx+b$$m$ stands for the slope and $b$ stands for the y-intercept of the line. The steps to write this equation if we have a point and slope are below.

First, let's say our slope is $2$. Plug it into our equation: $y=2x+b$

Now, we'll plug our point into the equation to solve for $b$. Let's say our point is $(3,5)$:$555−6−1 =2(3)+b=6+b=b=b $

Now, we have our slope and y-intercept, so we can plug them back in to get our final equation:$y=2x−1$

If this is all overwhelming, no sweat, try it step-by-step below👇🏻👇🏽👇🏿.

Slope-Intercept Form Calculator (Two Points)

If you have negative numbers, use a hyphen ( - ).

Point 1

$x_{1}=$

$y_{1}=$

Point 2

$x_{2}=$

$y_{2}=$

The slope-intercept form of an equation looks like this:

$y=mx+b$

The $m$ stands for the slope and the $b$ stands for the y-intercept. We need two points on the line to write out this equation.

We have the two points you entered, so let's start by getting the slope.

Now that we have the slope, we can plug it into our equation:

$y=undefinedx+b$

To get $b$, our y-intercept, we just need to plug in one of the points you entered and solve.

Let's choose the first point, $(,)$.

Now that we have both our $m$ and $b$ values, we can plug them in to get our equation:

Slope-Intercept Form Calculator (Point & Slope)

If you have negative numbers, use a hyphen ( - ).

Point

$x=$

$y=$

Slope

$m=$

The slope-intercept form of an equation looks like this:

$y=mx+b$

The $m$ stands for the slope and the $b$ stands for the y-intercept. We need two points on the line to write out this equation.

We have the slope you entered in, so we'll plug that in first:

Now, let's plug in that point you entered in to solve for $b$:

Now that we have both our slope, $m$, and our y-intercept, $b$, values, we can plug them in to get our equation:

Questions? Feedback?

Let us know if anything isn't working correctly or if there are any new topics you want us to cover!