Pearson Correlation Coefficient Calculator
Calculate Pearson’s correlation coefficient and coefficient of determination from paired x and y observations.
Correlation describes linear association, not causation. Outliers, nonlinear patterns, restricted ranges and dependent observations can distort or invalidate interpretation. Inspect a scatterplot before drawing conclusions.
How to use this calculator
Enter at least two paired observations using Add paired observation. Each x value must correspond to the y value measured on the same case. More observations are normally needed for meaningful inference.
Formula
r = Σ[(x − x̄)(y − ȳ)] ÷ √{Σ(x − x̄)² Σ(y − ȳ)²}. The coefficient of determination is r².
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewSaeedM.Phil Statistics, Data Scientist
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What range can Pearson’s r have?
It ranges from −1 for perfect negative linear association to +1 for perfect positive linear association.
Does r = 0 mean there is no relationship?
It means no linear correlation; a strong nonlinear relationship can still exist.
Does correlation prove causation?
No. Confounding, reverse causality, selection and chance can produce an association without a causal effect.
What is a strong correlation?
Guidelines vary by field, but values of r around ±0.1 are often called small, ±0.3 medium and ±0.5 or above large, following Cohen's conventions.
Are outliers a problem for Pearson's r?
Yes. A single outlier can greatly increase or decrease r. Always look at a scatter plot before relying on the coefficient.
How do I report a Pearson correlation?
Give r to two decimal places with the sample size and, if tested, the p-value, for example r(48) = 0.62, p < .001, where 48 is the degrees of freedom (n − 2). Describe the direction and strength in words too.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Illowsky, B., & Dean, S. (2023). Introductory statistics 2e. OpenStax. View source
- Croarkin, C., & Tobias, P. (Eds.). (2012). NIST/SEMATECH e-handbook of statistical methods. National Institute of Standards and Technology. View source
- Kutner, M. H., Nachtsheim, C. J., Neter, J., & Li, W. (2005). Applied linear statistical models (5th ed.). McGraw-Hill Irwin. View source
- Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Routledge. View source
- International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source