Skip to main content
Education & Statistics

Linear Regression Calculator

Fit a least-squares line to paired data with slope, intercept, R², standard error of the slope and a prediction.

Your inputs

Results

Regression line

y = 0.6x + 2.2

Slope
0.6
Intercept
2.2
R²
0.6
Standard error of the slope
0.282843
Predicted y
5.8
Mean of x
3

✓Exact calculation — rounded only for display

Notes for this result

  • The prediction is outside the range of your x data (extrapolation), so treat it with caution.