ToolPatch

One page. One job. Done.

← Back to all tools
Statistics

Pearson Correlation Calculator

Calculate Pearson r and R² from paired X and Y datasets.

Last validated: 2026-02-14

Pearson Correlation Calculator measures the strength and direction of linear association between two numeric variables. The correlation coefficient r ranges from -1 to +1: positive values indicate that variables tend to rise together, negative values indicate that one tends to fall as the other rises, and values near zero indicate little linear association. Correlation is standardized covariance, so it is unitless and unaffected by changing measurement units. It is sensitive to outliers and captures linear relationships only; curved relationships can have low Pearson correlation despite a strong pattern. A high correlation does not establish causation, because confounding variables, reverse causality, or shared trends can produce association without direct cause.

Permalink

Input Pattern

Enter values in the left panel, keep units explicit, run the calculation, then copy or share the result. Invalid fields are highlighted immediately.

Correlation Inputs

Result

r: 0.774597

R²: 0.600000

How to use this tool

  1. Enter X values, Y values for the pearson correlation calculator, keeping units, dates, or text format consistent with the form labels.
  2. Confirm sample size, ordering, and distribution assumptions before relying on the calculated result.
  3. Click "Run the tool" and review Correlation Inputs, Result for the primary output.
  4. Check the statistical assumptions and sample context before using the result in a report or decision.

Worked Example

Auto-generated from the tool's current default or entered inputs.

Example Inputs

  • X values: 1,2,3,4,5
  • Y values: 2,4,5,4,5
  • R: 0.7745966692414834
  • R squared: 0.6000000000000001

Expected Outputs

  • R: 0.774597
  • R squared: 0.6

Interpretation

Confidence and limitations

Formula References

Assumptions

Explore more versions

Tailored guides for specific audiences, regions, and scenarios.

Correlation analysis resources

Promote data science training and statistical software products.

Sponsored