Pearson Correlation Sums
Calculator

Inputs

Correlation coefficient r
0.707106

Results

Correlation coefficient r
0.707106

Statistical results

Correlation coefficient r0.707106

formula-map diagram

Correlation coefficient r
0.707106

Statistical relationship

Formula

r = (nΣxy − ΣxΣy) / √[(nΣx² − (Σx)²)(nΣy² − (Σy)²)]

= 0.70710678118655

Note

This is a simplified model: it applies the displayed standard formula to the summary values you entered and assumes their underlying conditions (independence, normality, correct sampling) hold. It does not analyse a real data set. Check the assumptions before relying on the result.

Example: with the default inputs, calculator.statistics.pearson_r_out is 0.7071067811865475.

More in Statistics and probability

See all →

Frequently asked questions

How do I calculate Pearson's r from sums?+

Enter the number of pairs n and the sums Σx, Σy, Σxy, Σx² and Σy². The calculator applies r = (nΣxy − ΣxΣy) / √[(nΣx² − (Σx)²)(nΣy² − (Σy)²)].

What do the values of r tell me?+

The formula measures the strength and direction of a linear relationship between x and y. A positive r means they tend to rise together, and a negative r means one tends to fall as the other rises.

Does a high correlation prove that x causes y?+

No. This calculator only computes the coefficient r from your sums. It says nothing about cause and effect, and it measures linear association only.

Which sums do I need to prepare?+

You need Σx and Σy (the sums of each variable), Σxy (the sum of each x multiplied by its paired y), and Σx² and Σy² (the sums of the squared values). n is the number of pairs and must be at least 2.

Why do I get a strange result if one variable never changes?+

If all x values (or all y values) are identical, the denominator becomes zero. The calculator then substitutes a tiny minimum to avoid dividing by zero, so the displayed r is not meaningful in that case.