What is Slope Intercept Form? - Definition, Equation & Examples

Instructor: Ria Yambao

Ria has taught College Algebra and Biostatistics. She has a master's degree in Applied Mathematics.

The slope-intercept form is one of several ways you can write the equation of a line. In this lesson, you will learn about the definition and equation of the slope-intercept form and work through some real-world examples.

Introduction: Developing the Cost Equation for a Cupcake Store

A friend of mine opened a cupcake store called Wild About Cupcakes. She has a storefront where she bakes all the cupcakes and sells them. She hired two employees to help her bake and sell. She asked me to help her determine the daily cost for her business. After some analysis, I figured out that whether she bakes a single cupcake or not, there is a fixed daily cost of $550. This amount includes employee salaries, rent, etc. There is also a variable cost that changes with the number of cupcakes baked. The variable cost is $1.25 per cupcake. This amount includes the cost of ingredients, liners, etc. If x is the number of cupcakes baked and y is the total daily cost then:

y = 1.25x + 550

The table below shows sample values for x and y.

x y
0 $550.00
1 $551.25
2 $552.50
3 $553.75
4 $555.00
100 $675.00
250 $862.50

The graph for y = 1.25x + 550 is shown below.

Graph of y = 1.25x + 550
Graph of Daily Cost


  1. Each additional cupcake produced incurs an incremental cost of $1.25.
  2. With no cupcakes produced (x = 0), there is still a cost of $550 (y = 550).
  3. The graph of y = 1.25x + 550 crosses the y-axis at the point (0, 550).

Definition and Equation

The equation of the total daily cost function for Wild About Cupcakes is in the form:

y = mx + b

where m = 1.25 and b = 550. The graph of the equation y = mx + b (where m and b are real numbers) is a line with slope, m, and y-intercept, b. This form of the equation of a line is called slope-intercept form.

The slope of a line, m, is a measure of its steepness. As we have seen in the Wild About Cupcakes example, it is also a measure of how much y changes for every unit increase in x. Given any two points on a line, (x1, y1) and (x2, y2), the formula to calculate the slope is shown below.

Illustration of Slope

The y-intercept of a line, b, is the y-coordinate of the point where the graph of the line crosses the y-axis. As we have seen in the Wild About Cupcakes example, it is the value of y when x = 0.

Illustration of y-intercept

Examples: Finding the Slope-Intercept Form of the Equation of a Line

1. Two points on line L are (0, -1) and (3, -3). What is the slope-intercept form of the equation of L?


The slope-intercept form of the equation of a line is y = mx + b, where m is the slope of the line, and b is the y-intercept. Since we are given two points, we can calculate the slope m as follows:

Calculation of Slope

Note that the slope is the same if we interchange the order of the points.

Calculation of Slope Alternate

We know that the y-intercept, b = -1 since the line crosses the y-axis at the point (0, -1). Also, remember that the y-intercept, b, is the value of y when x = 0.

Therefore, the equation of the line with m = -2/3 and b = -1 is given by:

y = (-2/3)x - 1

2. A line has equation:

y - 2 = (-1/2)(x + 3)

What is the equation of this line in slope-intercept form?


The given equation is in slope-point form, that is:

y - y1 = m(x - x1)

where m is the slope of the line and (x1, y1) is a point on the line. We can use algebraic operations to convert it to slope-intercept form.

Conversion Slope-Point to Slope-Intercept

The last equation above is in slope-intercept form. The slope is m = -1/2, and the y-intercept is b = 1/2.

Examples: Real-World Applications of Slope-Intercept Form

3. In physics, an object moving in a straight line with constant acceleration will have a final velocity, v, given by the equation:

v = at + u

where a is the constant acceleration, u is the initial velocity and t is the elapsed time. This equation is known as a kinematic equation. Notice that this equation is in slope-intercept form, y = mx + b. In the comparison of the two equations below, corresponding variables and constants are shown with the same color.

Kinematic Eq and Slope-Int Form

In the kinematic equation, t is your x variable, v is your y variable, a is the slope and u is the y-intercept.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account