Pearson Correlation Calculator
Calculate Pearson's r, coefficient of determination, and relationship strength for paired numerical data.
Use at least two numeric values.
Use at least two numeric values.
About Pearson correlation
Pearson correlation examples
Each row shows paired data and the correlation implied by their linear pattern.
| Paired data | Pearson's r | Interpretation |
|---|---|---|
| X: 1,2,3,4,5; Y: 2,4,6,8,10 | 1.0000 | Perfect positive linear relationship. |
| X: 1,2,3,4; Y: 8,6,4,2 | -1.0000 | Perfect negative linear relationship. |
| X: 1,2,3,4,5; Y: 2,1,4,3,5 | 0.8000 | Strong positive linear relationship. |
How to calculate Pearson's r
- Enter the X observations in their original order.
- Enter the matching Y observations in the same order.
- Confirm that both lists contain the same number of numeric values.
- Select Calculate Pearson correlation and review r, r squared, and the number of pairs.
Frequently asked questions
What does a Pearson correlation of zero mean?
It means the data show no linear association. A curved or otherwise nonlinear relationship can still exist even when r equals zero.
What is considered a strong correlation?
Thresholds vary by discipline and context. This calculator provides broad descriptive labels, but practical importance should be judged using domain knowledge.
Can Pearson correlation prove causation?
No. Correlation can arise from confounding, selection, coincidence, or reverse direction, so causal claims require an appropriate research design.
Why must the lists have equal lengths?
Pearson's formula operates on paired observations. Every X value needs one corresponding Y value from the same case or measurement.
How do outliers affect Pearson's r?
Outliers can strongly increase, decrease, or reverse the coefficient because the calculation uses squared deviations. A scatterplot helps reveal whether a few points dominate the result.