Skip to content
2x2xKit

Correlation Coefficient Calculator

Find the Pearson correlation coefficient between two datasets.

How this is calculated
r = (nΣxy − ΣxΣy) ÷ √[(nΣx² − (Σx)²)(nΣy² − (Σy)²)]

Assumptions used in this calculation

  • Linear relationships only: Pearson's r only detects linear association; two variables with a strong non-linear (e.g. curved) relationship can still produce an r close to 0.

About this calculator

The correlation coefficient calculator finds Pearson's r, measuring the strength and direction of the linear relationship between two sets of x/y data.

Worked example

5 data points

Result: r = 0.7746 (strong positive)

Was this helpful?

Frequently asked questions