Linear Regression & Correlation Analysis

Calculate regression line and correlation coefficient from your data.

Data Input (x,y separated by newlines)

About this tool

The Linear Regression tool fits a straight line to a set of (x, y) data points and reports the slope, intercept, and correlation coefficient. The result is plotted so you can see the fit visually.

Common use cases

  • Estimate the trend behind a small dataset, such as sales over recent weeks.
  • Check how strongly two variables move together before building a heavier model.
  • Produce a quick prediction line for a report or presentation.
  • Demonstrate the basics of regression to students or junior analysts.