Predicted Value from a Regression Line

y^=a+bx\hat{y} = a + b x

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: yhat = 20 + 2.5x at x = 8 → 40. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

Where Predicted Value from a Regression Line fits

Missing an input?

See also

Regression Line Intercept: Both use regression line intercept and regression slope.Regression Slope from Correlation: Both use regression slope.
Here the solver did the work. Could you?

The line of best fit →

Grade 12Grade 12 Math

Test your skills in the Exam Room: new numbers every attempt. Free lessons for students, no sign-up, just pure learning. Find 1 more lesson on this formula.

See your Report Card
Learning zone

Predicted Value from a Regression Line explained

xŷab

Once a line is fitted, prediction is arithmetic: multiply the predictor by the slope and add the intercept. A line of ŷ = 20 + 2.5x evaluated at x = 8 predicts 40. The hat on ŷ matters: it marks a fitted value, an average outcome for that x, not a promise about any individual. Real observations scatter around the line by the residual standard deviation, so a prediction interval for one new case is always much wider than the confidence interval for the line itself.

The classic trap is extrapolation. Within the range of the data a line can be an excellent summary; outside it, it is a guess dressed as arithmetic. Mark Twain skewered this perfectly in Life on the Mississippi: noting that the river had shortened by 242 miles over 176 years, he extrapolated back to conclude that the Lower Mississippi was once 1.3 million miles long and would eventually be a mile and three-quarters. Running the line backwards is legitimate and useful, solving 65 = 5 + 3x gives x = 20, but it is calibration, and it inherits all the uncertainty of the fit.

Predicted Value from a Regression Line formula

y^=a+bx\hat{y} = a + b x
Where
  • y^\hat{y}= Predicted value
  • aa= Intercept
  • bb= Slope
  • xx= Predictor value
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Predicted Value from a Regression Line Formula & Calculator. https://formula.expert/solvers/regression-predicted-value