Linear Regression Calculator

Line of best fit y = mx + b.

Your details

Equation
y = 1.96x + 0.14
Slope
1.96
Intercept
0.14
R²
0.9976

How it works

Least squares: slope = Σ(x−x̄)(y−ȳ) ÷ Σ(x−x̄)², intercept = ȳ − slope·x̄.

Frequently asked questions