Allday Education

Interpreting the Line of Best Fit

A line of best fit summarizes an entire scatterplot with one equation, y=mx+by = mx + b. Instead of dozens of scattered points, you get a single line you can use to describe the trend and predict new values. The catch: on a test, you are rarely asked to find the line — you are asked what its parts mean.

Both parts have a plain-English job. The slope mm is the predicted change in yy for each 1-unit increase in xx. The yy-intercept bb is the predicted yy-value when x=0x = 0 — the starting value. Interpret them with the units of the actual problem and you are done.

What the slope means in context

Slope is a rate. In a model like y=6x+20y = 6x + 20, where xx is hours worked and yy is earnings in dollars, the slope 66 means earnings are predicted to rise about 6 dollars for each additional hour worked. Always state slope as amount of yy per one unit of xx, using the problem's units.

Watch the sign. A negative slope means yy is predicted to drop as xx grows — for example, a slope of 2-2 in a model of battery percent versus hours of use means the battery loses about 22 percentage points per hour.

In the scatterplot below, the data points scatter around a rising line of best fit. The line's slope is the rate this trend climbs — how much the predicted yy goes up for each step right in xx.

01234567891012345678910Hours workedEarnings

What the yy-intercept means in context

The yy-intercept is the model's prediction at x=0x = 0. In y=6x+20y = 6x + 20, the intercept 2020 means about 20 dollars are predicted before any hours are worked — maybe a base payment or tips already collected.

Sometimes x=0x = 0 does not make real-world sense (a person with zero height, a house with zero square feet). The intercept is still part of the equation, but its interpretation may be meaningless outside the math. Say so when asked.

Predictions: interpolation vs. extrapolation

To predict, substitute an xx-value into the equation and simplify. Predicting at an xx inside the range of the collected data is called interpolation, and it is usually reliable — the line was built from data in that region.

Predicting at an xx outside the range of the data is called extrapolation, and it is risky. If you measured a plant's growth for 10 days, the trend may not continue to day 25 — growth slows, batteries do not drain below zero, and lines eventually stop matching reality. Treat extrapolated predictions with suspicion.

Worked examples

Example 1: interpret the slope and intercept

A coffee shop models a barista's earnings with y=6x+20y = 6x + 20, where xx is hours worked and yy is earnings in dollars. Interpret the slope and the yy-intercept.

The slope is the predicted change in yy per one unit of xxm=6m = 6
In context: earnings rise about 6 dollars for each additional hour worked
The yy-intercept is the predicted yy when x=0x = 0b=20b = 20
In context: about 20 dollars before any hours are worked

Answer: Slope: about 6 dollars more per hour. Intercept: about 20 dollars at zero hours.

Example 2: make a prediction

Use y=6x+20y = 6x + 20 to predict the earnings after 77 hours.

Substitute x=7x = 7y=6(7)+20y = 6(7) + 20
Multiplyy=42+20y = 42 + 20
Addy=62y = 62

Answer: About 62 dollars

Example 3: spot the extrapolation

A scientist measures a plant's height for x=0x = 0 to x=10x = 10 days and fits y=2x+5y = 2x + 5. Is using the line to predict the height at x=30x = 30 days reliable?

Check the data range: the line was built from xx-values between 00 and 1010
The prediction asks about x=30x = 30, far outside that range
Predicting outside the data range is extrapolation, and the trend may not continue

Answer: No — this is extrapolation, so the prediction is unreliable.

Try one yourself

Common questions

Why do predictions use the word about?

Because the line of best fit is a summary, not a law. Real data points sit above and below the line, so the line's output is a predicted value, not a guaranteed one. Saying about 62 dollars signals that honestly.

What is the difference between interpolation and extrapolation?

Interpolation predicts at an xx-value inside the range of the collected data and is usually reliable. Extrapolation predicts outside that range and can fail badly, because the pattern may not continue past what was measured.

What if the yy-intercept doesn't make sense in the situation?

That happens often. A model relating house size to price might have a negative intercept — no house has zero square feet, so the intercept has no real-world meaning there. It still anchors the line mathematically; just say the interpretation is not meaningful in context.

Is the line of best fit the same as a trend line?

Essentially, yes. A trend line is any reasonable line drawn through the middle of the cloud; the line of best fit is the specific one a calculator computes to fit the data best. On this lesson's problems you interpret them the same way.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1