QuickToolbox

Correlation Calculator

Find the Pearson correlation coefficient between two lists of numbers, with R squared, the p-value and a description of the strength.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

r = sum((x - mean x)(y - mean y)) / sqrt(sum((x - mean x)^2) sum((y - mean y)^2))

Frequently asked questions

Does correlation prove cause?

No. Two things can move together because of a third factor or by chance.

What is a strong correlation?

A magnitude above about 0.7, though the field matters.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools