Try it with your numbers
Show every step
Because is already alone, the equation works like a machine: put in any and it returns . The two numbers it exposes, a starting value and a steady rate of change, are exactly what most line problems ask for.
What Is Slope-Intercept Form and What Do Its Parts Mean?
In , the slope is and the y-intercept is . Signs travel with the number, so a subtracted constant is a negative . The slope means : each step of 1 to the right lifts the line by 3. The y-intercept is the value of when , which is why word problems treat it as the starting amount.
The trap that costs the most points is reading and before is alone. In , the slope is not . Divide every term by and you get , so the slope is . The order of terms does not matter either: has slope and intercept .
If you only know two points, the slope formula gives you , and the rest of this page shows how to get .
Quick check
Answer:
Where Does the Slope-Intercept Formula Come From?
Take any point on a line with slope and y-intercept . The slope between those two points is rise over run:
Multiply both sides by to get , then add :
So the formula is just the slope formula with one point pinned to the y-axis. Pin a different point instead and the same steps give , which is point-slope form. Slope-intercept form is the special case where .
Set and the term vanishes, leaving . That single step is the reason is where the line meets the y-axis.
How Do You Graph a Line in Slope-Intercept Form?
Graphing takes four moves:
- Plot the y-intercept .
- Write the slope as a fraction with the sign in the numerator: .
- From the intercept, move that rise and run to plot a second point.
- Draw the line through both points, then plot one more point by moving the opposite way as a check.
Take . Plot . The slope means down 2 and right 3, which lands on . Going the opposite way (up 2, left 3) gives . Check the last point: . It works.
Two slips to avoid: writing run over rise, and treating a whole-number slope as if it had no denominator. Always write as . When the intercept is a fraction or the slope is awkward, a table of values gives you exact points to plot instead.
Try this: Graph and on the same axes. Both start at , so only the tilt changes. Say which line is steeper before you draw it.
How Do You Convert Standard Form to Slope-Intercept Form?

Solving for is all it takes. Start with .
The trap is the division by a negative number. It flips the sign of every term, including the constant: , not . Dividing only the term is the most common wrong answer.
There is a faster route. For , the slope is and the intercept is . Here , , , so and . This matches, and it works because is what you get from finding the y-intercept by setting . If you are working the other direction, the standard form of a line page covers the clean-up rules for integer coefficients.
Quick check
Answer:
How Do You Write an Equation From Two Points?
Find the slope first, then solve for with either point. Use and .
Substitute and the point into :
So . Test the other point to confirm: . Both points land on the line, and either one would have given the same .
If one of the points has , skip the substitution: its y-coordinate is . For other approaches to the same task, see the equation of a line through two points.
Why Vertical Lines Cannot Be Written in Slope-Intercept Form
A vertical line such as has a run of , so its slope would be a rise divided by zero, which is undefined. With no slope there is no , and the line never crosses the y-axis (unless it is the y-axis itself), so there is no either.
If an equation has no term, such as or , it is vertical and slope-intercept form does not apply.
Horizontal lines are fine. The line is , with slope and intercept . In standard form, a vertical line is the case , which is exactly where the shortcut breaks. The page on horizontal and vertical lines covers both in detail.
Slope-Intercept Form vs Point-Slope Form vs Standard Form
All three forms describe the same lines. They differ in what they make easy.
| Form | Equation | Best when |
|---|---|---|
| Slope-intercept | You know the slope and y-intercept, or want to graph fast | |
| Point-slope | You know the slope and any one point | |
| Standard | You want integer coefficients, both intercepts, or a vertical line |
A practical habit: write the first equation in whichever form the given information fits, then convert to at the end. It is the best form for comparing lines, because slopes and intercepts can be read straight off. Outside the US you will see it written , which is identical.
Parallel and Perpendicular Lines in Slope-Intercept Form
Slope-intercept form makes line relationships visible. Parallel lines have equal slopes and different intercepts. Perpendicular lines have slopes whose product is , so each is the negative reciprocal of the other.
Find the line through perpendicular to . The given slope is , so the new slope is .
The line is . Quick check: , and gives . More cases, including the vertical and horizontal pair, are on the page for slopes of parallel and perpendicular lines.
Real-World Use: Starting Value Plus Rate of Change
Whenever something starts at a known amount and changes at a steady rate, is the model. A tank holds 120 liters and drains at 8 liters per minute. The starting value is and the rate is , negative because the volume falls:
Set to find when it empties: , so minutes. That answer is the x-intercept of the line, which is the “when does it run out” question.
The slope is the constant rate of change, and for a line it is the same between any two points. Sequences follow the same pattern with whole-number inputs only: the arithmetic sequence formula is a linear rule whose common difference plays the role of .
Quick check
Answer:
How Do You Check a Slope-Intercept Equation?
Three quick tests catch nearly every error:
- Put into your equation. The output must be the y-intercept you expect.
- Substitute each given point. Both sides must match.
- Check the direction: a line rising from left to right needs , and a falling line needs .
The third test is the fastest and catches sign slips before any arithmetic. If you solved and got a positive slope, the check says stop: the correct answer is .
Once the line is right, it also sets up inequalities. For , draw the line dashed and shade above it. For , shade below. Remember to flip the inequality sign whenever you divide by a negative, as covered in graphing linear inequalities.
Practice problems
0 of 5 solved
- State the slope and y-intercept of .
Answer:
The equation is already solved for . The number multiplying is the slope, . The constant is the y-intercept, , so the line crosses the y-axis at . - Write the equation of the line with slope that crosses the y-axis at .
Answer:
Use with and . Then , which is . - Write in slope-intercept form.
Answer:
Subtract from both sides: . Divide every term by : . - Find the slope-intercept equation of the line through and .
Answer:
Slope: . Substitute : , so . The equation is , and checks: . - Find the equation, in slope-intercept form, of the line through that is parallel to .
Answer:
Solve for : , so and the slope is . A parallel line has the same slope. Substitute : , so . The equation is .
Common questions
What is slope-intercept form?
Slope-intercept form is , a way of writing a line so that is alone on one side. The number is the slope and is the y-intercept, the value of when .
How do you find the slope and y-intercept from an equation?
Solve the equation for so that has a coefficient of 1. The coefficient of is then the slope, and the constant term is the y-intercept. In , the slope is and the intercept is .
How do you change an equation into slope-intercept form?
Isolate using inverse operations: move the term to the other side, then divide every term by the coefficient of . For , the shortcut is and .
Can every line be written in slope-intercept form?
No. Vertical lines such as have an undefined slope and cannot be written as . Every other line, including horizontal lines like , can.
What is the difference between y = mx + b and y = mx + c?
Nothing. They are the same equation. Many textbooks outside the US use for the y-intercept, while US textbooks use .
What does it mean if b is 0?
The line passes through the origin and the equation reduces to . That is a direct variation, where is proportional to .