Skip to main content

How to Calculate Pearson Correlation

What is Pearson Correlation?

Pearson's r measures the strength and direction of the linear relationship between two continuous variables. r ranges from −1 (perfect negative) to +1 (perfect positive); r=0 means no linear relationship.

Step-by-Step Guide

  1. 1r = Σ(xi−x̄)(yi−ȳ) / √[Σ(xi−x̄)² × Σ(yi−ȳ)²]
  2. 2Positive r: both variables increase together
  3. 3Negative r: one increases as the other decreases
  4. 4r² = proportion of variance in Y explained by X

Worked Examples

Input
r = 0.85 between height and weight
Result
Strong positive correlation · r²=0.72
Height explains 72% of weight variation

Ready to calculate? Try the free Pearson Correlation Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 PrimeCalcPro