Pearson Correlation Coefficient Calculator
Measure the strength and direction of a linear relationship between two paired numerical data sets.
About the Pearson correlation coefficient
Pearson correlation examples
The same coefficient can describe positive, negative, or weak linear patterns.
| Paired Data | Result | Interpretation |
|---|---|---|
| X: 1,2,3,4,5; Y: 2,4,6,8,10 | r = 1.000000 | Every Y value is exactly twice X, producing perfect positive correlation. |
| X: 1,2,3,4,5; Y: 10,8,6,4,2 | r = -1.000000 | Y falls at a constant rate as X rises, producing perfect negative correlation. |
| X: 1,2,3,4,5; Y: 2,1,4,3,5 | r = 0.800000 | The data have a clear but imperfect positive linear tendency. |
How to calculate correlation
- Enter the observations for the first variable in their original order.
- Enter the matching observations for the second variable using the same order and number of values.
- Select Calculate Correlation to compute Pearson r, R-squared, and the t-statistic.
- Interpret the sign and magnitude alongside a scatterplot and the subject-matter context.
Pearson correlation FAQ
What does a correlation of zero mean?
It means the data show no net linear association. A strong curved or otherwise nonlinear pattern may still be present, so inspect a plot.
Does correlation prove causation?
No, correlation only describes association in the observed pairs. Confounding, reverse causation, selection effects, or coincidence may explain the pattern.
What is a strong correlation?
Strength depends on the field, measurement reliability, and decision being made. Avoid universal cutoffs and compare the result with relevant domain benchmarks.
Can I use lists with different lengths?
No, every X observation needs exactly one matched Y observation. Unequal lists do not define valid pairs and the calculator rejects them.
How do outliers affect Pearson r?
A single influential point can greatly increase, decrease, or reverse the coefficient. Review a scatterplot and investigate unusual observations before reporting r.