Data Science

Pearson Correlation Calculator

Calculate Pearson's correlation coefficient from summary statistics.

Explore statistics and data science calculators

Move between confidence intervals, sample size, standard error, relative variability, correlation, regression and prediction error.

Share this calculator
WhatsApp

Pearson Correlation Calculator is an educational statistics and data-science tool for exploring a standard quantitative relationship.

How it works

Enter the requested values using the stated definitions. The calculator validates the numerical domain and applies r = [nΣxy - ΣxΣy] / √([nΣx²-(Σx)²][nΣy²-(Σy)²]).

The formula

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

Variables: n = Number of observations; Σx = Sum of X (Σx); Σy = Sum of Y (Σy); Σxy = Sum of XY (Σxy); Σx² = Sum of X² (Σx²); Σy² = Sum of Y² (Σy²).

Worked example

Example: n = 3, Σx = 6, Σy = 12, Σxy = 28, Σx² = 14, Σy² = 56 → r = 1.

Frequently asked questions

What is this statistics calculator intended for?

It is intended for study, classroom exercises and quick exploration of the stated statistical relationship.

Does the result replace a full statistical analysis?

No. Sampling design, assumptions, data quality, dependence, distribution shape, bias and model diagnostics may materially affect a real analysis.

Last content reviewSeptember 26, 2026
Editorial reviewHe-Sab Editorial Review

Sources and references

These sources are used to verify terminology, formulas, and information related to this calculator.