Skip to content
Verify InstituteA little more certainty.No account required

Linear Regression Calculator

Fit a least-squares line y = a + bx to your data, with r², standard error and a prediction. Example with the starting values — Regression line: y = 1.39 + 0.75x.

How this calculator works

Fit a least-squares line y = a + bx to your data, with r², standard error and a prediction. Example with the starting values — Regression line: y = 1.39 + 0.75x.

Enter the values that apply to your situation. The result area shows the calculation, formula or method, assumptions, and source notes so you can check how the answer was produced.

Related calculators: Regression and correlation