Skip to content
LoveToCalc

Definition — what does that mean?

Slope of the regression line

How much y changes per unit of x along the least-squares line.

In Swedish: Regressionslinjens lutning

Slope of the regression line

The relation

b₁=SxySxx

How much y changes per unit of x along the fitted line, from the sums of squares: the sum of products over the sum of squares of x.

Solve for

b₁=2.5

b₁ equals 25 divided by 10, equals 2.5

Working2 steps

Practice questions

You are given

  • Sxy=-10
  • Sxx=4

The formula

b₁ = S_xy / S_xx

Holds for the least-squares line when at least two x values differ. Swedish courses write the estimate β̂₁; many English texts write b₁.

S_xx = Σ(xᵢ − x̄)² is the sum of squares of x and S_xy = Σ(xᵢ − x̄)(yᵢ − ȳ) the sum of products. The least-squares line page works them out from the lists; here they are inputs.

Height and mass of 15 women (Wikipedia, simple linear regression): S_xx = 0.18269 and S_xy = 11.194, so b₁ = 11.194 / 0.18269 ≈ 61.27 kg per metre.

A falling line

S_xy = −30 and S_xx = 10 give b₁ = −3: y falls by 3 for each unit x rises. S_xx is a sum of squares and cannot be negative, so the sign of the slope is the sign of S_xy.

S_xy S_xx b₁
25 10 2.5
−30 10 −3

Common mistakes

With b₁ known, the intercept is the next step.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
b₁SxySxx25102.5
Sxyb₁Sxx2.5·1025
SxxSxyb₁252.510

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.