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
- Paste two columns of numbers, X and Y.
- Read r, R squared and the equation of the line.
- 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
Z-Score CalculatorCalculates the z-score of each number to show which values are far from the mean, and exports a table you can paste straight into Excel.Frequency Table GeneratorCounts how often each value appears, with percentages and cumulative percentages, and groups continuous numbers into intervals.CSV Viewer and AnalyzerOpen a CSV, Excel or JSON file as a table to search, filter, sort, get column stats, group and chart.Weighted Average CalculatorCalculates a grade point average by coefficient, an average cost by quantity, or any other weighted average.Excel File ViewerOpen an .xlsx file without installing Excel: view each sheet, search, filter, sort and export to CSV or JSON.Mean, Median and Mode CalculatorCalculates the arithmetic mean, median, mode, geometric mean, harmonic mean and trimmed mean.
See all data tools