Pearson Correlation Test
Enter two equal-length numeric datasets and instantly get the Pearson r, r-squared, t-statistic, degrees of freedom, and two-tailed p-value.
Enter Your Data
Load Example
Enter two equal-length datasets and click Calculate
Pearson r
—
—
r-squared
—
variance explained
n
—
t-statistic
—
df
—
p-value (2-tail)
—
Scatter Plot
Data Points
| # | X | Y | x - x̄ | y - ȳ |
|---|
Copied!
Summary
Enter two equal-length numeric datasets and instantly get the Pearson r, r-squared, t-statistic, degrees of freedom, and two-tailed p-value.
How it works
- Enter the X variable values as comma-separated numbers in the first field.
- Enter the matching Y variable values in the second field — each position corresponds to the same observation as X.
- Select a significance level (alpha): 0.10, 0.05, or 0.01.
- Click "Calculate" to compute the Pearson r, r-squared, t-statistic, degrees of freedom, and two-tailed p-value.
- The tool renders a verdict (significant / not significant) and a scatter plot with the regression line.
- Copy the full results summary to clipboard for a report or homework submission.
Use cases
- Measure the linear association between height and weight in a sample.
- Test whether study hours correlate with exam scores.
- Assess the relationship between advertising spend and sales revenue.
- Verify homework answers for introductory statistics or data-science courses.
- Quick sanity-check before running regression in statistical software.
- Explore correlations in small datasets without installing any software.
- Compare two sensor readings to check for co-movement.
- Evaluate whether two economic indicators move together over time.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu