—

How to use Linear Regression Calculator

Least-squares line of best fit, R² and predictions.

  1. Enter x values, y values and predict y at x =; each field shows its unit.
  2. Read the Linear Regression result — it updates as you type.
  3. Check the method in the formula below, then change any value to compare scenarios.

Formula & assumptions

b₁ = Σ(x − x̄)(y − ȳ) / Σ(x − x̄)²

b₀ = ȳ − b₁x̄

Ratings & reviews

No ratings yet. Signed-in users can rate this app.