How to use this calculator

Pearson correlation measures linear association between paired numeric variables.

The method

r = covariance / (standard deviation products)

Enter your values in the labeled fields and choose Calculate. The result panel shows the answer and supporting values when useful.

WORKED EXAMPLE INPUT

X values: 1, 2, 3, 4, 5, Y values: 2, 4, 5, 4, 8

Select Calculate to evaluate these example values.

Scope and limitations

The lists must have equal lengths of at least two and both variables must have nonzero variation. Correlation does not prove causation.

Common questions

Can I use different units?

Use consistent units unless this page is a unit converter. The result follows the units implied by the inputs.

Are results exact?

Displayed values may be rounded. Keep extra precision for important follow-up calculations.

Methods & verification

Formulas use standard mathematical definitions and fixed unit factors where applicable. See our methodology for numerical conventions, rounding, privacy, and limitations.