Start a free test

The Line of Best Fit

SAT Math · Problem-Solving and Data Analysis · Updated October 2026

A line of best fit turns a scattered set of data into an equation, and once you have the equation, the questions are ordinary algebra. The two things the SAT tests on top of the algebra are the difference between what the line predicts and what actually happened, and what the slope means in the story.

What the line gives you

Substitute an $x$-value to get a predicted $y$. Solve for $x$ when you are given a $y$.

The actual data point can be above or below the line. Actual minus predicted is the residual. The slope is the predicted change in $y$ for each $1$-unit increase in $x$.

Worked examples

Writing the line from the graph

A line of best fit passes through about $(0, 12)$ and $(8, 36)$. Write its equation.

  1. Slope: $\dfrac{36 - 12}{8 - 0} = 3$.
  2. The $y$-intercept is $12$.
  3. $y = 3x + 12$. Pick points where the line crosses grid lines exactly, not data points.

Predicted versus actual

The line $y = 4x + 2$ fits a set of data. One point is $(9, 41)$. How far is it from the line?

  1. Predicted: $4(9) + 2 = 38$.
  2. Actual minus predicted: $41 - 38 = 3$.
  3. The point is $3$ units above the line.

Years as the input

Sales, in thousands, are modeled by $y = 2.4x + 15$, where $x$ is years since 2000. What does the model predict for 2010?

  1. 2010 is $x = 10$, not $x = 2010$.
  2. $2.4(10) + 15 = 39$.
  3. The prediction is $39$ thousand, or $39{,}000$ sales.

What you will see

How far can you trust the line?

A line of best fit describes the data it was built from. Inside that range its predictions are reasonable. Far outside it, they can be silly. A line fitted to ice cream sales between $60$ and $90$ degrees will cheerfully predict negative sales at $30$ degrees.

The SAT sometimes asks which prediction is most reliable, or whether a model is appropriate for a given input. The answer is almost always the one closest to the middle of the data. I tell students to look at the smallest and largest $x$-values in the scatterplot before answering any prediction question.

Mistakes to avoid

Practice questions

Write the predicted value first on every question.

Easy
The line of best fit for a set of data is $y = 0.6x + 4.2$. What value of $y$ does it predict when $x = 10$?
  • A$4.8$
  • B$6.6$
  • C$10.2$
  • D$64.2$
Show solution
Answer: C. $0.6(10) + 4.2 = 10.2$.
EasyStudent-produced response
The line of best fit for a set of data is $y = 0.6x + 4.2$. According to the line, by how much does $y$ increase when $x$ increases by $5$?
Enter your answer.
Show solution
Answer: $3$. $0.6 \cdot 5 = 3$.
Medium
A line of best fit passes through $(0, 12)$ and $(8, 36)$. Which equation represents the line?
  • A$y = 3x + 12$
  • B$y = 12x + 3$
  • C$y = 3x + 36$
  • D$y = 4.5x + 12$
Show solution
Answer: A. The slope is $\dfrac{24}{8} = 3$ and the intercept is $12$. Choice D divides $36$ by $8$ and ignores the intercept.
MediumStudent-produced response
The line of best fit for a set of data is $y = 4x + 2$. One data point is $(9, 41)$. How much greater is the actual $y$-value than the predicted value?
Enter your answer.
Show solution
Answer: $3$. Predicted $= 38$, and $41 - 38 = 3$.
Medium
The line of best fit for a set of data is $y = -1.2x + 80$. For what value of $x$ does the line predict $y = 50$?
  • A$-25$
  • B$20$
  • C$25$
  • D$108$
Show solution
Answer: C. $-1.2x = -30$, so $x = 25$. Choice A loses the sign when dividing.
MediumStudent-produced response
A line of best fit predicts a value of $50$ for a certain $x$. The actual value is $45$. The actual value is what percent less than the predicted value?
Enter your answer.
Show solution
Answer: $10$. $\dfrac{50 - 45}{50} = 0.1$, which is $10\%$.
Hard
Sales, in thousands, are modeled by $y = 2.4x + 15$, where $x$ is the number of years since 2000. What sales does the model predict for 2010?
  • A$24$ thousand
  • B$39$ thousand
  • C$63$ thousand
  • D$4{,}839$ thousand
Show solution
Answer: B. 2010 is $x = 10$: $2.4(10) + 15 = 39$. Choice D substitutes $2010$.
HardStudent-produced response
A line of best fit has a $y$-intercept of $7$ and passes through the point $(5, 22)$. What value of $y$ does it predict when $x = 12$?
Enter your answer.
Show solution
Answer: $43$. The slope is $\dfrac{22 - 7}{5} = 3$, so $y = 3(12) + 7 = 43$.
Hard
A data point has an actual $y$-value of $20$ and a residual of $2$. What $y$-value does the line of best fit predict for this point?
  • A$17$
  • B$18$
  • C$22$
  • D$23$
Show solution
Answer: B. Residual $=$ actual $-$ predicted, so $2 = 20 -$ predicted, and the prediction is $18$. Choice C adds the residual.
HardStudent-produced response
Daily ice cream sales, in dollars, are modeled by $y = 15x - 600$, where $x$ is the temperature in degrees Fahrenheit. At what temperature does the model predict sales of $\$600$?
Enter your answer.
Show solution
Answer: $80$. $15x - 600 = 600$, so $15x = 1{,}200$ and $x = 80$.

See which data questions you miss

A free practice test shows where your data points go.

Practice this for free
No credit card. Register once, take as many tests as you like.