Slope vs y-intercept in regression
By Jude Wallis · Published
In the regression line , the slope is the predicted change in the response for each one-unit increase in the explanatory variable. The y-intercept is the predicted response when the explanatory variable equals 0. The slope is a rate, and the intercept is a starting value.
AP Statistics: Unit 5 (topics 5.3 Linear Regression Models, 5.5 Least-Squares Regression). The regression equation and prediction are in topic 5.3, and interpreting the slope and the y-intercept of the least-squares line is in topic 5.5, both in Unit 5 of the Fall 2026 AP Statistics course. The formula sheet lists only the form y-hat = a + bx, and the coefficients are normally read from technology.
Slope vs y-intercept: the short answer
A least-squares regression line is written , where ("y-hat") is the predicted value of the response variable and is the explanatory variable. The two numbers in the equation do different jobs.
The slope tells you how the prediction changes as changes. It is a rate, with units of per unit of . The y-intercept tells you where the line sits when . It is a single predicted value, in the units of .
The slope almost always has a useful meaning in context. The intercept has one only when is a realistic value near the data. The AP formula sheet writes the equation with the intercept first, so in the slope is 5.3, the number multiplying .
What the slope tells you
The slope is the predicted change in the response for a one-unit increase in the explanatory variable. A sentence frame that works for any context: for each additional one unit of the explanatory variable, the predicted response increases (or decreases) by the slope, stated with its units.
If predicts a test score from hours of tutoring, the slope says that each additional hour of tutoring is associated with a predicted score 5.3 points higher.
Three facts about the slope:
- Its sign gives the direction of the association, and it always matches the sign of the correlation .
- Its size depends on the units. Measure tutoring in minutes instead of hours and the slope becomes points per minute, with no change in the relationship.
- It describes the line's prediction, so the word "predicted" belongs in the interpretation. It does not promise that any individual gains exactly that amount.
The full wording is covered in how to interpret the slope of a regression line.
What the y-intercept tells you
The y-intercept is the predicted response when . The sentence frame: when the explanatory variable is 0, the predicted response is the intercept, stated with its units.
For , a student with 0 hours of tutoring has a predicted score of 61.4 points. That reading makes sense if the data include students with little or no tutoring.
Often it does not make sense. If a line predicts adult weight from height, means a person who is 0 inches tall. No such person exists, the value is far outside the data, and the intercept may come out negative. Using the line there is extrapolation. The intercept is still needed to place the line at the correct height over the data. It simply has no interpretation in context.
The intercept is tied to the slope by the fact that the least-squares line passes through the point of means :
The details are in how to interpret the y-intercept of a regression line.
The differences side by side
| Feature | Slope | Y-intercept |
|---|---|---|
| Position in | Multiplies | Stands alone |
| What it is | Predicted change in per one-unit increase in | Predicted when |
| Units | Units of per unit of | Units of |
| On the graph | Steepness and direction of the line | Where the line crosses the vertical axis at |
| Sign | Same as the sign of | No link to the sign of |
| Meaningful in context | Nearly always | Only when is realistic and near the data |
| From summary statistics |
The formulas in the last row show the order of work: the slope is found first, and the intercept is then whatever value makes the line pass through .
When each one matters
Use the slope to answer questions about change: how much more, how much less, per unit. Any comparison between two values uses the slope alone. Two students who differ by 2 hours of tutoring have predicted scores that differ by points, and the intercept cancels out of that subtraction.
Use the intercept, together with the slope, to predict a single value. A prediction at needs both: .
Interpret the intercept in words only when asked and only when makes sense. When it does not, say so: state that the intercept is the predicted response at , and that this value is outside the range of the data or impossible in context.
The classic mix-up and how to avoid it
The most common error is swapping the two numbers when reading an equation or computer output. School algebra writes , with the slope first and as the intercept. Statistics writes , with the intercept first and as the slope. The letter changes jobs. Ignore the order and the letters, and find the number attached to . That number is the slope. In computer output, the slope is in the row labeled with the explanatory variable's name, and the intercept is in the row labeled Constant or Intercept.
The second error is interpreting the slope as a value of , as in "the predicted score is 5.3". The slope is a change in for a change in , so its interpretation always mentions both variables.
The third error is forcing a story onto an intercept that has none. A predicted weight of -97.5 pounds at a height of 0 inches should be reported as having no meaningful interpretation.
Finding and interpreting both from data
Five students received 0, 1, 2, 3, and 4 hours of tutoring and scored 62, 66, 73, 75, and 84 points on a test. Find the least-squares line and interpret the slope and the y-intercept in context.
Find the means: hours and points.
Find the deviations from the means. For : -2, -1, 0, 1, 2. For : -10, -6, 1, 3, 12.
Multiply the paired deviations and add: .
Square the deviations and add: .
Compute the slope: points per hour.
Compute the intercept from the point of means: points.
Write the line: . Interpret the slope: for each additional hour of tutoring, the predicted test score increases by 5.3 points. Interpret the intercept: a student with 0 hours of tutoring has a predicted score of 61.4 points. Here is one of the observed values, so the intercept is meaningful.
The line is . The slope of 5.3 means the predicted score rises 5.3 points for each additional hour of tutoring. The y-intercept of 61.4 is the predicted score for a student with no tutoring, a sensible value because 0 hours is within the data.
An intercept with no meaning in context
For a group of adults, height has mean 66 inches and standard deviation 4 inches, weight has mean 150 pounds and standard deviation 25 pounds, and the correlation between height and weight is . Find the least-squares line for predicting weight from height, interpret the slope, and explain what the intercept does and does not tell you.
Compute the slope from the summary statistics: pounds per inch.
Compute the intercept: pounds.
Write the line: .
Interpret the slope: for each additional inch of height, the predicted weight increases by 3.75 pounds.
Read the intercept literally: a person 0 inches tall has a predicted weight of -97.5 pounds. A height of 0 is impossible and far below every height in the data, and a negative weight is impossible, so the intercept has no meaningful interpretation here.
Show that the intercept still does its job. At inches the prediction is pounds, a reasonable value. At the mean height, pounds, the mean weight.
The line is . The slope means predicted weight rises 3.75 pounds per additional inch of height. The intercept of -97.5 pounds has no meaningful interpretation, because a height of 0 inches is impossible and far outside the data, but the line needs it to give sensible predictions such as 165 pounds at 70 inches.
Frequently asked questions
Which number is the slope in y-hat = a + bx?
The slope is , the number multiplied by . The intercept is , the number standing alone. This is the reverse of the letter order in the algebra form , so identify the slope by finding the coefficient of .
Can the y-intercept be negative when the slope is positive?
Yes. The sign of the intercept is unrelated to the sign of the slope. The intercept equals the mean of minus the slope times the mean of , so a positive slope with a large mean of often produces a negative intercept.
Do I always have to interpret the y-intercept?
Interpret it when a question asks, and say whether the interpretation makes sense. If is impossible or far outside the data, state that the intercept is the predicted response at and that it has no meaningful interpretation in this context.