Correlation Coefficient Calculator
Calculate the Pearson correlation coefficient between two paired datasets.
Calculate
Enter your values below.
Result
Correlation (r)
0
Formula used
Pearson's r measures the strength and direction of the linear relationship between two variables, ranging from -1 to 1.
Example: X: 1,2,3,4,5 and Y: 2,4,5,4,5 → r ≈ 0.77 (strong positive correlation).
How to use this calculator
- Enter X values (comma-separated), Y values (comma-separated).
- Press Calculate to see your result instantly.
FAQ
Frequently asked questions
What does r = 1 mean?
A perfect positive linear relationship — as X increases, Y increases proportionally.
What does r = -1 mean?
A perfect negative linear relationship — as X increases, Y decreases proportionally.
What does r = 0 mean?
No linear relationship between the two variables (though a non-linear relationship could still exist).
Do the two lists need to be the same length?
Yes, each X value must pair with a corresponding Y value.
