Pearson Coefficient Calculator
Pearson coefficient calculator works out Number of pairs and Pearson's r from X values, Y values and Confidence level. The default figures on this page give pearson's r of 0.774597; change any entry and the result, the working and the sources update together.
Your figures
Updates as you typeHow this is worked out
7 steps
- n = 5 pairs. Mean of X = 3, mean of Y = 4.
- Sxx = sum (x - xbar)^2 = 10; Syy = 6; Sxy = sum (x - xbar)(y - ybar) = 6.
- r = Sxy / sqrt(Sxx x Syy) = 6 / sqrt(10 x 6) = 0.77459667
- Spearman's rho = Pearson's r applied to the midranks = 0.73786479
- Kendall: 7 concordant and 1 discordant pairs out of 10, giving tau-b = 0.67082039.
- t = r sqrt(n - 2) / sqrt(1 - r^2) = 2.12132034 on 3 degrees of freedom, two-sided p = 0.12402706.
- Fisher z = arctanh(r) = 1.03171853; 95% interval for rho = [-0.340082, 0.984236].
Its 4 worked examples are re-run on every release, last on 15 September 2026. What changed
Sources and references
4 sources
What the pearson coefficient calculator calculates
Computes Pearson's r, Spearman's rank correlation rho, Kendall's tau-b and cosine similarity for two paired data sets, with covariance, the coefficient of determination, a t test of significance and a Fisher z confidence interval for the population correlation.
How to use this pearson coefficient calculator
Enter X values, Y values and Confidence level. Number of pairs updates as you type. Change one figure at a time to see what drives the result.
How the result is worked out
Open “How this is worked out” beside the result for the step-by-step calculation behind Number of pairs, Pearson's r and Coefficient of determination (r squared).
The method follows NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.13 Correlation and Scatter Plots, Kendall, M.G. (1945), "The treatment of ties in ranking problems", Biometrika 33(3), 239-251, Fisher, R.A. (1921), "On the probable error of a coefficient of correlation deduced from a small sample", Metron 1, 3-32 and Evans, J.D. (1996), Straightforward Statistics for the Behavioral Sciences, Brooks/Cole.
What you can compare
Change one input at a time to see how it affects Number of pairs, Pearson's r and Coefficient of determination (r squared). The inputs you can vary are X values, Y values and Confidence level.
Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.
See something wrong? Report a problem with this calculator
Frequently asked questions
How to do pearson coefficient on calculator?
Computes Pearson's r, Spearman's rank correlation rho, Kendall's tau-b and cosine similarity for two paired data sets, with covariance, the coefficient of determination. Open “How this is worked out” beside the result to see each step for your own figures.
How do I calculate Pearson's correlation coefficient?
It needs X values, Y values and Confidence level. Nothing else is required, and the figures stay in your browser.
Is 0.7 a strong Pearson correlation?
Computes Pearson's r, Spearman's rank correlation rho, Kendall's tau-b and cosine similarity for two paired data sets, with covariance, the coefficient of determination. Put your own figures in above and the working updates beside the result. For scale, the default figures on this page give 0.774597.
How do I calculate Pearson's correlation in Excel?
The result gives Number of pairs, Pearson's r, Coefficient of determination (r squared), Spearman's rho, Kendall's tau-b and Cosine similarity, each labelled with its unit so the figure can be read on its own.
What information do I need for the pearson coefficient calculator?
You need X values, Y values and Confidence level. The page opens with default figures that give pearson's r of 0.774597, so you can see the scale before entering your own.
What does this pearson coefficient calculator show?
It shows Number of pairs, Pearson's r, Coefficient of determination (r squared), Spearman's rho, Kendall's tau-b, Cosine similarity, Sample covariance and Population covariance, with the working and any warnings for your entries.
