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
What do \(m\) and \(b\) stand for in \(y = mx + b\)?
\(m\) is the slope (how steep the line is and which way it tilts) and \(b\) is the \(y\)-intercept (the \(y\)-value where the line crosses the \(y\)-axis, at the point \((0,b)\)).
How do I graph a line in slope-intercept form?
Plot the \(y\)-intercept \((0,b)\), use the slope as rise over run to step to a second point, then draw the line through both. Two points are all you need.
What if the equation isn’t solved for \(y\)?
Rearrange it into \(y = mx + b\) first. For example, \(2x + y = 5\) becomes \(y = -2x + 5\), so the slope is \(-2\) and the intercept is \(5\).
How do I graph a horizontal or vertical line?
\(y = c\) is a horizontal line through \((0,c)\) with slope 0. A vertical line is \(x = c\) — it can’t be written in slope-intercept form because its slope is undefined.
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
- How to Compare Savings Options
- 5th Grade Georgia Milestones Assessment System Math Practice Test Questions
- 6th Grade RICAS Math Worksheets: FREE & Printable
- 7th Grade OST Math Practice Test Questions
- Word Problems of Converting Percent, Fractions, and Decimals
- Full-Length TSI Math Practice Test-Answers and Explanations
- 4th Grade MEAP Math FREE Sample Practice Questions
- Top 10 Tips to ACE the Praxis Core Math Test
- Tip, Tax & Discount Math: Mental Shortcuts That Save Money
- Free Grade 2 English Worksheets for Rhode Island Students




























What people say about "How to Graph Lines by Using Slope–Intercept Form? (+FREE Worksheet!) - Effortless Math"?
No one replied yet.