The linear regression calculator finds the least squares regression line ŷ = mx + b from x,y data pairs. Get slope, intercept, r², and predictions for new x values.

Linear Regression Calculator (ŷ = mx + b)