How to Graph Lines by Using Slope–Intercept Form? (+FREE Worksheet!)
How to Graph Lines Using Slope-Intercept Form
Slope-intercept form, \(y = mx + b\), is the friendliest way to graph a line: \(b\) tells you where to start and \(m\) tells you how to step. Plot one point, walk the slope, and you’ve got the whole line. Let’s make it second nature, solver, drills, and a worksheet maker are a tap away.
Graph Lines by Using Slope, Intercept Form: what to notice and how to work it
What to notice first
Common student mistake
Key formulas and cues
A reliable path
- Find slopeUse two points, a table, or the coefficient of x in slope-intercept form.
- Find an anchorUse a point or intercept so the line is in the right location.
- Check directionPositive slope rises left to right; negative slope falls left to right.
Worked examples
Find slope from two points
- Change in y is 10 – 4 = 6.
- Change in x is 3 – 1 = 2.
- Divide rise by run.
Write slope-intercept form
- Use y = mx + b.
- Put m = 3 and b = -2.
- Write the line.
Try one before moving on
Graph Lines by Using Slope, Intercept Form: pop-up practice

To graph a line using slope-intercept form, you really need just two things, and the equation \(y = mx + b\) hands you both. Once a line is in this form, graphing it is almost mechanical, in a good way. The number \(b\) is your starting point on the \(y\)-axis, and the slope \(m\) is the step you repeat to find the next points. Plot, step, step, draw. Let’s turn that into a habit you can do without thinking.
What Is Slope-Intercept Form?
Slope-intercept form is \(y = mx + b\), where \(m\) is the slope (rise over run) and \(b\) is the \(y\)-intercept (where the line crosses the \(y\)-axis). It’s built for graphing because it hands you a point and a direction for free.
How to graph a line from \(y=mx+b\) (3 steps):
- Plot the \(y\)-intercept \((0, b)\).
- From there, use the slope as rise over run to step to a second point.
- Draw the straight line through both points.
Graphing \(y = 2x – 1\)
Start at the \(y\)-intercept \((0,-1)\). The slope is \(2 = \tfrac21\), so step up 2 and right 1 to \((1,1)\), again to \((2,3)\), and draw. That’s the whole line, try your own equation in the solver.
Graph a lineReading the Two Pieces: Slope and Intercept
Where to start
The lone constant. Plot it on the \(y\)-axis first.
How to step
The coefficient of \(x\). Rise over run from the intercept.
Up or down?
Positive slope rises; negative slope falls left-to-right.
Worked Examples
Plot the intercept, step the slope, draw, each line below is graphed exactly that way.
Example A, Positive slope
Graph \(y = 2x – 1\).
- Plot the \(y\)-intercept \((0,-1)\).
- Slope \(2 = \tfrac21\): step up 2, right 1 to \((1,1)\), again to \((2,3)\).
- Draw the straight line through the points.
Answer: line through \((0,-1)\) and \((1,1)\)
Example B, Negative, fractional slope
Graph \(y = -\tfrac12 x + 3\).
- Plot the intercept \((0,3)\).
- Slope \(-\tfrac12\): step down 1, right 2 to \((2,2)\), then \((4,1)\).
- Connect them, a gently falling line.
Answer: falling line through \((0,3)\)
Example C, A horizontal line
Graph \(y = 7\).
- Here \(m = 0\), so there’s no rise, every point has \(y = 7\).
- The graph is a flat horizontal line through \((0,7)\).
- Note: a vertical line like \(x = 7\) can’t be written as \(y = mx + b\). Its slope is undefined.
Answer: horizontal line at \(y = 7\)
Example D, Through the origin
Graph \(y = -2x\).
- Since \(b = 0\), the intercept is the origin \((0,0)\).
- Slope \(-2 = \tfrac{-2}{1}\): step down 2, right 1 to \((1,-2)\).
- Draw the steep, falling line through the origin.
Answer: line through \((0,0)\) and \((1,-2)\)
Slope-Intercept in the Wild
This form is everywhere a quantity starts somewhere and changes at a steady rate. A phone plan that’s $20 plus $0.10 a minute is \(y = 0.10x + 20\): the \(20\) is the starting cost (the intercept), the \(0.10\) is the rate (the slope). Graphing it shows the bill climbing minute by minute, same picture, real money.
Slip-Ups That Cost Easy Points
- Plotting the intercept on the wrong axis. \(b\) lives on the \(y\)-axis: the point is \((0, b)\), not \((b, 0)\).
- Stepping the slope the wrong way. A negative slope goes down as you move right. Keep the sign attached to the rise.
- Reading slope before solving for \(y\). If the equation isn’t \(y = mx + b\) yet, rearrange first. You can’t read \(m\) off \(2x + y = 5\) until it’s \(y = -2x + 5\).
- Only plotting one point. A line needs two. Step the slope at least once before you draw.
- Skipping the check. Step the slope once more for a third point, if all three don’t line up, you misread the rise or run.
Your Turn: Find the Slope and \(y\)-Intercept
For each equation, state the slope, the \(y\)-intercept, and a second point you’d plot by stepping the slope. Reveal answers to check.
- \(y = 3x – 5\)
- \(y = -x + 2\)
- \(y = \tfrac14 x + 1\)
- \(y = -2x\)
- \(y = 7\)
- \(y = \tfrac23 x – 4\)
Show answers
- \(\color{blue}{m=3,\ b=-5;\ \text{next point }(1,-2)}\)
- \(\color{blue}{m=-1,\ b=2;\ (1,1)}\)
- \(\color{blue}{m=\tfrac14,\ b=1;\ (4,2)}\)
- \(\color{blue}{m=-2,\ b=0;\ (1,-2)}\)
- \(\color{blue}{m=0,\ b=7;\ (1,7)}\)
- \(\color{blue}{m=\tfrac23,\ b=-4;\ (3,-2)}\)
Make Your Own Graphing Worksheet
Generate fresh lines to graph, with a full answer key, print or save as a PDF.
Frequently Asked Questions
How do you graph lines using slope-intercept form?
Start at the y-intercept b on the y-axis, then use the slope m as rise over run to find a second point, and draw a line through both. For y = (3/4)x − 1, plot (0, −1), go up 3 and right 4 to reach (4, 2), and connect the points with a straight line. Plotting a third point the same way is a quick accuracy check.
How do you graph linear equations using slope-intercept form?
If the equation is not already in y = mx + b form, solve for y first. For 2x + y = 5, subtract 2x to get y = −2x + 5. Now plot the y-intercept (0, 5) and use the slope −2, which means down 2 and right 1, to reach (1, 3) and then (2, 1). Draw the line through the points; it falls from left to right because the slope is negative.
How do you graph y = 4 in slope-intercept form?
The line y = 4 is y = 0x + 4 in slope-intercept form, so its slope is 0 and its y-intercept is 4. Plot (0, 4), and because a zero slope means no rise, the line runs straight across: draw a horizontal line through every point where y equals 4. Do not confuse it with x = 4, which is a vertical line with an undefined slope.
Is there a worksheet for graphing lines in slope-intercept form?
Yes, and a good worksheet mixes positive, negative, fractional and zero slopes so students practice each kind of step. Try these: y = 2x − 3 (start at −3, up 2, right 1), y = −(1/2)x + 4 (start at 4, down 1, right 2) and y = 5 (a horizontal line). Checking each graph with an answer key or graphing tool right away helps catch sign errors early.
Related Topics
Continue Your Study
Ready for the next step? Pick up right where this lesson leaves off:
Related to This Article
More math articles
- Electioneering
- The Best Grade 8 ELA Practice Tests for Pennsylvania Students
- Overview of the HSPT Mathematics Test
- Resource Mobilization
- Grade 3 Math: Comparing and Ordering Numbers
- The Bay of Pigs, Berlin and the Cuban Missile Crisis
- TSI Math Flashcards (Free Online: Formulas, Terms & Concepts)
- Wyoming WY-TOPP Grade 6 Math Free Worksheets: Printable Standards-Aligned Practice, Answers Included
- Estimating Quotients for 4th Grade
- Why Inequality Persists


What people say about "Graph Lines Using Slope-Intercept Form"?
No one replied yet.