Linear Regression Calculator

About Linear Regression Calculator

Fit a best-fit line to pasted points.

How to Use

Fit a best-fit line to pasted points. Paste x,y pairs one per line in the Points field, then review the slope, intercept, equation, and R-squared outputs.

  1. Open the calculator : Use Linear Regression Calculator from the Math category.
  2. Check the inputs : Review the required values and any optional settings.
  3. Read the formula : Use the formula and notes below to understand how the result is produced.

Common Questions

What formula does the Linear Regression Calculator use?

Least-squares line: y = mx + b.

Inputs

  • Points - Paste x,y pairs such as 1,2 on each line.

Outputs

  • Slope
  • Y-intercept
  • R-squared
  • Point count
  • Equation

Formula

Least-squares line: y = mx + b.