Get Pearson's r, Spearman's ρ and Kendall's τ for the same paired data side by side, with a plain-English reading of how strong the relationship is.
−1 (perfect negative) · 0 (none) · +1 (perfect positive)
A correlation coefficient is a single number from −1 to +1 that summarises how strongly two variables move together. The sign gives the direction; the size gives the strength.
There's more than one. Pearson's r measures straight-line association using the actual values. Spearman's ρ and Kendall's τ use only the order of the values, so they measure any steady rise or fall and shrug off outliers.
Comparing all three is a quick diagnostic. If they agree, the relationship is straight and well behaved. If Pearson is far from the other two, an outlier or a curve is driving it.
Definitions as in Hollander, Wolfe and Chicken; Kendall's τ-b as in Kendall (1938, 1945). See Sources.
A pair of points is concordant if both coordinates move the same way. n₀ is the number of pairs, n₁ and n₂ adjust for ties in x and y.
More sleep clearly goes with faster reactions for seven of the eight people. A single unusual reading flips Pearson's r from strongly negative to weakly positive, while the rank-based measures, though weakened, still point the right way.
Match the measure to your data.
| Situation | Best choice |
|---|---|
| Measurements with a roughly straight-line pattern | Pearson r |
| Curved but steadily rising or falling | Spearman ρ |
| Ranks, ratings or ordered categories | Spearman ρ or Kendall τ |
| Small samples with many ties | Kendall τ-b |
| Outliers you can’t justify removing | Spearman ρ or Kendall τ |
A fairly strong positive relationship: higher values of one tend to go with higher values of the other, with plenty of exceptions.
Pearson uses the actual values, so outliers and curves affect it. Spearman and Kendall use only the order, so they don’t.
The difference between the chance two random points are in the same order on both variables and the chance they’re in opposite order.
No. Any value outside −1 to 1 means a calculation mistake.
Covariance is in the variables’ units and has no fixed range. Correlation divides out the units so it always sits between −1 and 1.
At least 3 to calculate, but 20 or more for a reasonably reliable estimate.
=CORREL gives Pearson’s r. For Spearman, rank both columns with RANK.AVG first; Excel has no built-in Kendall function.
The Pearson and Spearman correlation calculators show the significance test, confidence interval and full working for each.
Related Tools
Linear correlation coefficient.
Rank correlation.
Regression fit quality.
Parabolic curve fit.
Third-degree polynomial fit.
Higher degree curve fit.