Perform simple linear regression on paired data. This calculator finds the best-fit line (y = mx + b) through a set of data points, modeling the relationship between two variables.
Enter your values below
How this calculator works
The slope m is the covariance of x and y divided by the variance of x. The intercept b equals ȳ - m·x̄. The line minimizes the sum of squared residuals.
Common questions about this calculator