Pearson Correlation Coefficient Calculator
Pearson's correlation coefficient (r) quantifies how strongly two numeric variables move together in a linear way. Values range from -1 to +1: values near +1 indicate a strong positive linear relationship, near -1 indicate a strong negative linear relationship, and near 0 indicate little to no linear relationship. This calculator also reports r² to show how much variance is explained by the linear association.
Pearson Correlation Coefficient Calculator Interactive Tool
Results
Results
How to use this calculator
- Enter X values as a comma-separated list.
- Enter Y values as a comma-separated list in the same order.
- Make sure both lists have the same number of values (at least 2).
- Read Pearson's r, r², and a quick interpretation.
The Formula
The mathematical logic powering this calculation is:
r = Σ[(xi - x̄)(yi - ȳ)] / √(Σ(xi - x̄)² · Σ(yi - ȳ)²)Worked Example
If you input:
- X Values (comma-separated): 1,2,3,4,5
- Y Values (comma-separated): 2,4,5,4,5
Result:
Pearson r: 0.775, r²: 0.601
Frequently Asked Questions
What does a negative Pearson r mean?
A negative r means that as one variable increases, the other tends to decrease in a linear pattern.
Can correlation prove causation?
No. Correlation only shows association, not whether one variable causes changes in the other.
Similar Calculators
Linear Regression Calculator
Fit a least-squares line, inspect scatter and residual plots, and calculate Student-t confidence and prediction intervals. Paste paired data and export the full ledger.
Standard Deviation Calculator
Calculate sample or population standard deviation, variance, mean and extrema from complete decimal data. Preserve small differences and identify invalid entries.
Confidence Interval Calculator
Calculate a two-sided confidence interval for a mean using sample SD with Student t or known population SD with z. See the margin and standard error.
Sample Size Calculator
Determine the minimum sample size needed for statistically valid survey or experiment results.
Spearman Rank Correlation Calculator & Permutation Test
Compare Spearman rank and Pearson correlations, see averaged ranks for ties, and run an exact or seeded permutation test on paired data.
