Skip to content
Takikit

Correlation and Linear Regression Calculator

Calculates the Pearson correlation r, R squared and the linear regression line from two columns of numbers, with a scatter plot.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this to see whether ad spend and revenue, or study hours and test scores, move together, then estimate Y from X with the regression line.

At least 3 pairs are needed, but more pairs make the result more reliable. A high r only shows the two move together; it does not prove one causes the other.

How to use

  1. Paste two columns of numbers, X and Y.
  2. Read r, R squared and the equation of the line.
  3. Download the result or copy it.

Frequently asked questions

Are my data files uploaded to the internet?

No. CSV, Excel and JSON files are read and processed in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.

Related tools

More Data tools

See all data tools