Linear Regression Calculator
Least squares line with slope, intercept and r squared.
Pearson r, r squared and covariance for two paired lists.
The two lists must be the same length.
| Statistic | X | Y |
|---|
Correlation Coefficient Calculator computes Pearson's r for two paired lists, along with r squared and the covariance. r runs from -1 to +1: plus one is a perfect upward straight line, minus one a perfect downward one, and zero no linear relationship at all.
r squared is the more interpretable number. It is the share of the variation in one variable accounted for by the straight-line relationship with the other, so an r of 0.77 gives an r squared of 0.6, meaning about sixty per cent of the variation is explained and forty per cent is not. Reporting r alone tends to overstate how much a relationship explains.
Three limitations are worth stating every time. Correlation does not imply causation. It only detects straight-line relationships, so a strong curved relationship can show an r near zero. And it is sensitive to outliers: one extreme point among twenty can create an apparent correlation or destroy a real one, which is why plotting the data matters as much as calculating the coefficient.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
Looking for something this does not cover? FreeToolStation.com is a second collection of the same kind of everyday tools, and it is worth a look if correlation coefficient calculator is only part of what you are working on.
The correlation coefficient calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
Conventionally above 0.7 in absolute value is strong and above 0.9 very strong, but it depends entirely on the field. In physics 0.9 might be poor; in social science 0.5 can be notable.
No. It means the two move together in your data. The cause could run either way, or both could follow something else entirely.
No linear relationship. There may still be a strong non-linear one, which is why a scatter plot should always accompany the number.
If the correlation coefficient calculator is not quite what you need, these other free tools solve closely related problems, and there are 13 more in statistics calculators.
Least squares line with slope, intercept and r squared.
Sample and population variance with the full working.
Standard deviation, variance, mean, median and quartiles from any list.
Mean, median, mode, range and quartiles of a data set.
Z-score with percentile and tail probabilities.
Checked and rebuilt on 2026-10-14. The method this calculator uses is described in the section above, and corrections go through the contact page.