Regression Line Intercept

a=yˉ−bxˉa = \bar{y} - b \bar{x}

Worked example: ybar 50, slope 2.5, xbar 12 → intercept 20 — 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. Try different units for next level excitement!

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.

See your Report Card
Compete with your friends
share your results
Learning zone

Regression Line Intercept explained

ax̄ȳb

Every least-squares line passes through the point of averages (x̄, ȳ) — that is a consequence of minimising squared vertical errors, not a coincidence. So once you know the slope, the intercept is forced: slide back from ȳ by b times x̄. With ȳ = 50, b = 2.5 and x̄ = 12, the intercept is 50 − 30 = 20, and the fitted line is ŷ = 20 + 2.5x. Adrien-Marie Legendre published the least-squares recipe in 1805; Gauss claimed he had been using it since 1795 and proved it by predicting where the lost asteroid Ceres would reappear, which it duly did.

The trap is over-reading the intercept. It is the fitted value at x = 0, which is often far outside the data and physically meaningless — a regression of adult weight on height gives an intercept for a person of zero height. It exists to anchor the line, nothing more, and a "significant" intercept usually tells you nothing interesting. When x = 0 really is nonsense, centring the predictor (using x − x̄) makes the intercept equal ȳ and gives it an interpretation worth having.

Regression Line Intercept formula

a=yˉ−bxˉa = \bar{y} - b \bar{x}
Where
  • aa= Intercept
  • yˉ\bar{y}= Mean of y
  • bb= Slope
  • xˉ\bar{x}= Mean of x