Correlation Coefficient Calculator
Pearson r for two data sets.
Enter your values
Results update instantly as you type — no submit needed.
Results
- Correlation r
- 0.91652
- R squared
- 0.84
- Strength
- strong positive
- Sample size
- 6
- Variance explained
- 84%
Quick answer
Pearson's r ranges from −1 to +1, measuring how closely two variables move together in a straight line.
r = Σ(x−x̄)(y−ȳ) / √(Σ(x−x̄)²Σ(y−ȳ)²)
How to use the Correlation Coefficient Calculator
- 1Paste your X values separated by commas.
- 2Paste matching Y values in the same order.
- 3Read r and R².
Frequently asked questions
Does correlation prove causation?
No — a third variable or coincidence can produce a strong r.
What is R squared?
The share of variance in Y explained by a linear fit on X.