Statistics and Probability Live Auto-Calculate

Correlation Coefficient Calculator

Calculate Pearson's correlation coefficient (r) and coefficient of determination (R²) between paired X and Y variables.

Input Parameters

Adjust sliders or type values
Calculated Results
Pearson Correlation Coefficient (r)
0.88
Coefficient of Determination (R²)
77.14
Correlation Strength
Very Strong Positive

Calculation Formula

r = [nΣxy - (Σx)(Σy)] / sqrt([nΣx² - (Σx)²][nΣy² - (Σy)²])

This formula executes in real time on this page, updating both the numeric breakdown and animated chart as you adjust parameters.

Step-by-Step Breakdown

Standard Scenario:
For paired arrays [1,2,3,4,5,6] and [2,4,5,4,5,7]: r ≈ 0.904 (Strong positive correlation), R² ≈ 0.817.
  1. 1 Paired Observations (N) = 6
  2. 2 Pearson r = 0.8783 (Very Strong Positive)
  3. 3 Coefficient of Determination (R²) = 77.14%

Frequently Asked Questions

The Correlation Coefficient Calculator takes X Values (comma separated), Y Values (comma separated) and calculates Pearson Correlation Coefficient (r), Coefficient of Determination (R²), Correlation Strength in real time. Calculate Pearson's correlation coefficient (r) and coefficient of determination (R²) between paired X and Y variables.
It evaluates the Statistics and Probability formula: r = [nΣxy - (Σx)(Σy)] / sqrt([nΣx² - (Σx)²][nΣy² - (Σy)²]). Changing X Values (comma separated) or any other parameter immediately updates Pearson Correlation Coefficient (r) and the chart.
For example: For paired arrays [1,2,3,4,5,6] and [2,4,5,4,5,7]: r ≈ 0.904 (Strong positive correlation), R² ≈ 0.817.. The calculator loads ready to run with defaults (X Values (comma separated) = 1, 2, 3, 4, 5, 6, Y Values (comma separated) = 2, 4, 5, 4, 5, 7) so you can test right away.
After checking Pearson Correlation Coefficient (r), Coefficient of Determination (R²), Correlation Strength in the Correlation Coefficient Calculator, many users also open Linear Regression Calculator, Mean Calculator in Statistics and Probability to cross-check related numbers.
Disclaimer
This calculator is provided for educational and estimation purposes. It should not be used as official financial, medical, tax, or legal advice.