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

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

  1. Enter the X variable values as comma-separated numbers in the first field.
  2. Enter the matching Y variable values in the second field — each position corresponds to the same observation as X.
  3. Select a significance level (alpha): 0.10, 0.05, or 0.01.
  4. Click "Calculate" to compute the Pearson r, r-squared, t-statistic, degrees of freedom, and two-tailed p-value.
  5. The tool renders a verdict (significant / not significant) and a scatter plot with the regression line.
  6. 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