Correlation Coefficient Calculator
Calculate the Pearson correlation coefficient (r) between two paired lists of numbers, with the coefficient of determination (rΒ²) and a strength interpretation.
Pearson correlation coefficient (r)
0.95119
A very strong positive linear relationship.
Coefficient of determination (rΒ²)
0.904762 (90.4762%)
Number of pairs (n)
8
r ranges from β1 to +1. rΒ² is the share of variation in one variable explained by a straight-line fit with the other. Correlation does not imply causation.
Frequently Asked Questions
How do I calculate the correlation coefficient?
The Pearson correlation r is the sum of the products of the paired deviations from each mean, divided by the square root of the product of each variable's sum of squared deviations. In short, r = Ξ£(x β xΜ)(y β Θ³) / β(Ξ£(x β xΜ)Β² Β· Ξ£(y β Θ³)Β²).
What does the correlation coefficient mean?
r ranges from β1 to +1. Values near +1 mean a strong positive linear relationship, near β1 a strong negative one, and near 0 little or no linear relationship. The sign tells you the direction and the magnitude tells you the strength.
What is a strong correlation?
A common rough guide: |r| above 0.7 is strong, 0.4 to 0.7 is moderate, and below 0.4 is weak. These cutoffs are conventions, not rules β what counts as strong depends heavily on the field.
What is r-squared (the coefficient of determination)?
rΒ² is the square of the correlation coefficient. It is the fraction of the variation in one variable that is explained by a straight-line relationship with the other. An r of 0.8 means rΒ² = 0.64, so 64% of the variation is explained.
Does correlation imply causation?
No. A high correlation only shows that two variables move together; it does not prove one causes the other. A hidden third factor or pure coincidence can produce strong correlations between unrelated things.
What kind of data do I need?
You need two lists of numbers of equal length, where each pair (x, y) belongs to the same observation. Enter the x values and the y values in the same order so the calculator can pair them correctly.