Skip to main content
statisticsStandard Reference Formulas

Correlation Calculator – Pearson r & R²

Calculate Pearson product-moment correlation coefficient (r) and coefficient of determination (r²) between two paired numerical variables.

Pearson r
0.954
Positive correlation
R² Determination
91.0%
Shared variance
Relationship Strength
Strong Positive

How It's Calculated: The Exact Mathematical Formula

We display the exact algebraic formula used by our JavaScript engine so you can verify results manually.

Pearson Product-Moment Correlation Coefficient (r)
r = Σ((x - x̄)(y - ȳ)) / [ √(Σ(x - x̄)²) × √(Σ(y - ȳ)²) ]

Measures the linear association and strength between two continuous quantitative variables.

r:Bounded between -1.0 (perfect negative) and +1.0 (perfect positive)
r²:Coefficient of Determination

Step-by-Step Worked Examples

Study Hours vs Exam Scores (7 Students)Example #1

"Bivariate correlation analysis."

Given Inputs:
X (Hours):1 to 7
Y (Scores):2 to 9
Calculation Steps:
  1. r = +0.963
  2. r² = 0.927
  3. 92.7% of exam score variation explained by study hours
Final Output:r = 0.963 (Strong Positive)

Important Considerations & Limitations

  • •Correlation measures linear association only and does not imply cause-and-effect causation.

Frequently Asked Questions

Clear, practical answers to common questions about this calculation.

The coefficient of determination (r²) indicates the proportion of the variance in the dependent variable that is predictable from the independent variable.

Related Calculators & Converters