Linear Regression Calculator

Find the best-fit line, correlation coefficient, and make predictions.

Output

  • Regression equation (Y = a + bX)
  • Pearson correlation (r)
  • Coefficient of determination (R²)
  • Predicted values and residuals