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 linear association strength between two numeric variables. It is useful for exploratory analysis, feature screening, and relationship checks. The tool returns correlation coefficient and significance estimates where applicable. Use it to identify potential linear patterns before modeling.

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 paired x and y data values.
  2. Run the calculation to compute Pearson r.
  3. Check sign and magnitude to assess direction and strength.

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

Scenario Compare (A vs B)

Use this to compare two input sets and quantify change in key outputs.

Scenario A

Scenario B

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