StatsCalculator

Linear Regression Calculator

Ordinary least-squares line of best fit, with R² and the fitted line.

Your data

Enter one (x, y) pair per line — e.g. '2, 3.9'.

Result

y = 1.9771x + 0.08least-squares fit over n = 6 points
Slope
1.9771
Intercept
0.08
r
0.9992
0.9984

Fit

(1, 2.1)(2, 3.9)(3, 6.2)(4, 7.8)(5, 10.1)(6, 11.9)162.111.9