Correlation Coefficient Calculator
Pearson correlation coefficient r and r-squared from two paired lists of numbers, with a strength label. Free, instant, no sign-up.
Pearson r = Σ((x−x̄)(y−ŷ)) ÷ √(Σ(x−x̄)² × Σ(y−ŷ)²). r runs from −1 to 1. Correlation does not prove causation.
How to use the correlation coefficient calculator
- Enter the X values in the first box and the matching Y values in the second.
- Press “Calculate Correlation”.
- Read r, r² and the strength label.
Correlation coefficient calculation example
For x = 1, 2, 3, 4, 5 and y = 2, 4, 5, 4, 5, Pearson r ≈ 0.77 and r² ≈ 0.60: a fairly strong positive relationship, with x accounting for about 60% of the variation in y.
Reading r
- Around ±0.1: weak; around ±0.3: moderate; ±0.5 or more: strong (rough guides).
- r measures straight-line relationships only; a perfect curve can have r near 0.
- One outlier can change r a lot — always plot the data.
Correlation coefficient calculator: common questions
- What does r = 0.8 mean?
- A strong positive linear relationship: as X rises, Y tends to rise too. r² = 0.64 means 64% of the variation in Y is explained by X.
- Can r be negative?
- Yes: a negative r means Y tends to fall as X rises.
- Is my data stored?
- No. The calculation runs in your browser.
- What is r-squared?
- The square of r: the share of the variation in y explained by a straight-line fit on x.