Regression Slope from Correlation

b=rsysxb = r \frac{s_y}{s_x}

Worked example: r 0.8 with sy 5, sx 2 → slope 2 — 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 Slope from Correlation explained

br

Correlation and slope are the same relationship in different clothes. The correlation r is unit-free; multiply it by the ratio of the spreads and you get a slope carrying real units — change in y per unit of x. With r = 0.8, sys_y = 5 and sxs_x = 2, the slope is 0.8 × 5/2 = 2.0. Francis Galton stumbled on this in the 1880s while plotting the heights of children against their parents: the best-fit line was flatter than the 45° line of pure heredity, and he called the effect "regression towards mediocrity" — the origin of the word regression itself.

Galton's discovery is also the trap. Because |r| ≤ 1, the slope is always shallower than sy/sxs_y/s_x, so predicted values are pulled toward the mean of y. Tall parents have tall-but-shorter children; a company's best quarter is usually followed by a worse one — not because anything caused it, but because the extreme was partly luck. Note too that r is symmetric while the slope is not: regressing y on x gives 2.0 here, but regressing x on y gives 0.8 × 2/5 = 0.32, and 1/2.0 = 0.5 is not the answer.

Regression Slope from Correlation formula

b=rsysxb = r \frac{s_y}{s_x}
Where
  • bb= Slope
  • rr= Correlation coefficient
  • sys_y= Standard deviation of y
  • sxs_x= Standard deviation of x

Missing one of these? Work it out first, then come back