Compute Pearson correlation from paired values instantly. Inspect tables, trend lines, sample statistics, and assumptions. Download clean outputs for dashboards, research notes, and presentations.
Use one X,Y pair per line. Commas, spaces, tabs, or semicolons are accepted.
This sample shows steadily increasing paired values with a strong positive association.
| Observation | X Value | Y Value |
|---|---|---|
| 1 | 2 | 5 |
| 2 | 4 | 7 |
| 3 | 5 | 8 |
| 4 | 6 | 9 |
| 5 | 8 | 10 |
| 6 | 9 | 12 |
| 7 | 11 | 14 |
| 8 | 12 | 15 |
The calculator applies the Pearson sample correlation formula and supporting sample statistics for covariance, linear regression, significance testing, and confidence intervals.
Sample correlation:
r = Σ[(xi − x̄)(yi − ȳ)] / √{Σ(xi − x̄)² · Σ(yi − ȳ)²}
Sample covariance:
cov(x,y) = Σ[(xi − x̄)(yi − ȳ)] / (n − 1)
Regression line:
ŷ = a + bx, where b = Σ[(xi − x̄)(yi − ȳ)] / Σ(xi − x̄)² and a = ȳ − bx̄
Significance test for correlation:
t = r √[(n − 2) / (1 − r²)], with degrees of freedom n − 2. Confidence limits use Fisher’s z transformation.
It measures the strength and direction of a linear relationship between two numeric variables. Values near 1 or −1 indicate stronger linear association, while values near 0 indicate little linear relationship.
Use correlation when you want a standardized measure between −1 and 1. Covariance depends on the units of both variables, which makes comparisons across datasets harder.
Yes. You can omit incomplete rows automatically or stop the analysis and display line level issues. This helps when working with pasted data from spreadsheets or reports.
Correlation describes association, while the regression line summarizes the best linear prediction of Y from X. Showing both helps you interpret slope, fit quality, and prediction direction together.
The p value tests the null hypothesis that the population correlation equals zero. Smaller values suggest the observed linear association is unlikely to be explained by sampling variation alone.
It gives a plausible range for the population correlation, not just the sample estimate. Narrower intervals suggest more precision, while wider intervals indicate greater uncertainty from limited data.
A valid result needs at least three numeric pairs and variation in both variables. If one series is constant or too many lines are invalid, the correlation formula becomes undefined.
No. Correlation only quantifies association. Strong relationships can still be driven by confounding variables, trends over time, measurement artifacts, or coincidence rather than direct causal influence.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.