Pearson Correlation Coefficient
r = Σ(xᵢ−x̄)(yᵢ−ȳ) / √(Σ(xᵢ−x̄)² Σ(yᵢ−ȳ)²). Linear correlation [−1, 1].
Result
General calculation reads
Amazon affiliateAs an Amazon Associate we may earn from qualifying purchases. This does not add cost for you.
How to use this calculator
- Enter paired x and y values, comma-separated.
- Calculator pairs them in order.
- Read r, r², and regression line.
About this calculator
Pearson r measures linear correlation between two variables: r = +1 (perfect positive), 0 (none), −1 (perfect negative). r² = "coefficient of determination" — fraction of variance in y explained by linear relationship with x. Pearson assumes linear, normally-distributed data. For non-linear or rank-based associations, use Spearman ρ. Correlation does not imply causation — always.
Frequently asked
r vs. r²?+
Pearson vs. Spearman?+
Correlation = causation?+
Outlier impact?+
Sample size minimum?+
Related calculators
More tools you might like
Hand-picked tools that pair well with this one — same audience, same intent.
C(n, r) = n! / (r!(n−r)!). Number of ways to choose r items from n where order doesn't matter.
P(n, r) = n! / (n−r)!. Number of ways to arrange r items from n where order matters.
Convert a z-score to one-tail or two-tail p-value via the standard normal CDF.
CI = mean ± z × (σ/√n). 90 / 95 / 99 % standard intervals.
Compute probability density and cumulative probability at x for given μ, σ.
Future value of an investment growing with compound interest plus monthly contributions, with a year-by-year line chart (linear or log scale) of balance vs. cumulative contributions.