Loading the correlation calculator…
What is correlation?
Correlation measures how strongly two numeric variables move together. This calculator gives you both the Pearson correlation coefficient (r), which measures a straight-line relationship, and the Spearman rank correlation (ρ), which measures any consistently increasing or decreasing (monotonic) relationship and is less affected by outliers.
How to interpret r
| |r| | Strength |
|---|---|
| 0.70 – 1.00 | Strong |
| 0.40 – 0.69 | Moderate |
| 0.20 – 0.39 | Weak |
| below 0.20 | Very weak or none |
A positive r means Y increases as X increases; a negative r means Y decreases. r² tells you the proportion of variation in Y explained by the linear relationship with X: r = 0.9 means r² = 0.81, or 81%.
Is the correlation significant?
The calculator tests whether r is significantly different from zero using t = r√(n − 2) / √(1 − r²) with n − 2 degrees of freedom. A p-value below 0.05 means the relationship is unlikely to be due to chance. With very small samples, even a large r may not be significant, so collect enough pairs (ideally 10 or more).
Pearson or Spearman?
- Use Pearson when both variables are continuous, roughly normal and linearly related.
- Use Spearman for ranks, ordinal scales (such as Likert scores), skewed data or when the scatter plot curves.
Correlation is not causation
A strong correlation does not prove that X causes Y. A third factor may affect both, or the link may be coincidental. To predict Y from X, use our regression calculator, which also fits curved models.
See all statistical tools, including the t-test and ANOVA calculators.



