Skip to content
Press Equals

Linear Regression Calculator

Fit a least-squares line of best fit (y = mx + b) to paired data and get the slope, intercept, r² and a prediction for any x.

Result

Line of best fit

y = 0.7714x + 1.8

Slope (m)
0.771429
Intercept (b)
1.8
r²
0.7714
Predicted y
7.2