CalcWorldHub
Free online calculator · no signup

Pearson correlation calculator

Measure the strength and direction of linear association between paired X and Y observations.

Worked example
Relevant result
Clear result · useful details
Default calculator resultr = 0.904194

Calculator

4,000 tools
Pearson correlation calculator — X values (comma or space separated), Y values in matching order and calculation method
Pearson correlation calculator: inputs and calculation method.

How to use this calculator

Measure the strength and direction of linear association between paired X and Y observations.

  1. Enter X values (comma or space separated), Y values in matching order. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Pearson correlation calculator

Measure the strength and direction of linear association between paired X and Y observations.

What it measures

Pearson’s r standardizes the sample covariance by both sample standard deviations. It ranges from −1 to +1 when both variables vary.

Inputs and units

  • X values (comma or space separated): X observations, separated by commas or spaces.
  • Y values in matching order: Y observations in the same order; each value pairs with the X value at that position.

Formula and method

r=Σ[(xᵢ−x̄)(yᵢ−ȳ)]/√(Σ(xᵢ−x̄)²Σ(yᵢ−ȳ)²).

Worked example

For X=[1,2,3,4,5] and Y=[2,3,5,4,7], Pearson r≈0.9042, indicating a strong positive linear association in these pairs.

Interpreting the result

Correlation describes linear association, not causation. A value near zero can still coexist with a nonlinear relationship.

Assumptions and limits

Lists must contain the same number of finite paired observations, with nonzero variation in both. Outliers can strongly affect r.

Sources and method

Frequently asked questions

Does a high correlation prove X causes Y?

No. Confounding, reverse direction, or coincidence can produce association.

Why does a curved relationship sometimes have a low r?

Pearson r measures linear association, so strong nonlinear patterns may not be captured.

How do I use the Pearson correlation calculator?

Enter X values (comma or space separated), Y values in matching order. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Pearson correlation?

For X=[1,2,3,4,5] and Y=[2,3,5,4,7], Pearson r≈0.9042, indicating a strong positive linear association in these pairs.

What does the Pearson correlation calculator calculate?

Measure the strength and direction of linear association between paired X and Y observations.

Good calculators show their work.

CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.

✓ Results update instantly
✓ No account required
✓ Privacy-friendly by design
✓ US and metric units