Linear Regression Calculator

Linear Regression Calculator

Fit a best-fit line to pasted points.

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

Slope

0.8

Y-intercept

1.5

R-squared

0.64

Point count

4

Equation

y = 0.8x + 1.5

Formula

Least-squares line: y = mx + b.

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 : Start with Linear Regression Calculator.
  2. Enter values : Fill in the required inputs and any optional settings.
  3. Review the result : Read the output and use the about page for more detail if needed.

Common Questions

What formula does the Linear Regression Calculator use?

Least-squares line: y = mx + b.

Related calculators

Common calculators

All calculators