Your values
Result
Result breakdown
- r
- 0.775
Change any input and these figures update straight away. Open the Charts tab to see them as a graph; the formula and a worked example are further down this page.
How to Use
- 1Enter comma-separated X values.
- 2Enter comma-separated Y values.
- 3View correlation coefficient.
Pearson Correlation
r = Σ(x-x̄)(y-ȳ) / √[Σ(x-x̄)² Σ(y-ȳ)²]Variables:
rCorrelation coefficient (-1 to 1)Example
Inputs:
Steps:
- 1.Calculate means
- 2.Calculate covariance and variances
- 3.r = cov / (sd_x × sd_y)

