Back to all solvers

Linear Regression & Correlation Calculator

Fit a least-squares line ŷ = a + b·x, get the Pearson correlation (r), , and predictions — with full step-by-step working.

Data

CSV: x,y (+ optional predictX as last meta row). After Solve, also Export results CSV.