Correlation Coefficient Calculator: Pearson r

Use this correlation coefficient calculator to see how closely two sets of numbers move together. Paste x and y data, and get Pearson r, R squared and a plain-English strength label, with a scatter plot to check the pattern.

Correlation Coefficient Calculator

Pearson r for paired data.

-
Everything runs in your browser. Nothing you enter or upload is sent to a server.

How to use the Correlation Coefficient Calculator

  1. Paste your data, one x, y pair per line (commas, tabs or spaces).
  2. Read r, from −1 to +1.
  3. Check the strength label and r².
  4. Use the t statistic to test significance.

How it works

Pearson r divides the covariance of x and y by the product of their standard deviations. +1 is a perfect positive line, −1 a perfect negative line and 0 no linear relationship. r² is the share of variance in y explained by x.

Example

For (1, 2), (2, 4.1), (3, 5.9), (4, 8.2), (5, 9.8), r = 0.9988, a very strong positive correlation.

Frequently asked questions

Does correlation mean causation?

No. Two things can move together without one causing the other.

What is a strong correlation?

Usually |r| above 0.7.

Can I paste from Excel?

Yes, copy two columns and paste them.

See also: Statistics Calculator, P-value Calculator.

Measure correlation

How to use it

  1. Paste the first data set.
  2. Paste the second data set.
  3. Read r and R squared.
  4. Check the scatter plot.

More questions

What does r of 0.8 mean?

A strong positive link between the two sets.

Does correlation prove cause?

No. Two things can move together without one causing the other.

Can r be negative?

Yes. It means one goes up as the other goes down.

Related tools: Linear Regression Calculator, Percentile Calculator, Weighted Average Calculator.