Statistics

Pearson Correlation Calculator

Measure linear association between paired numeric observations.

Data stays on this deviceConvention explained below
Data explorer
Data explorer

Check the dataset and sample convention before interpreting results.

See the method

Add your observations

Runs on your device

Your statistical summary

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter x values, y values.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
X valuesKeep the structure and separators shown in the sample. Line breaks are retained in this input.1,2,3,4
Y valuesKeep the structure and separators shown in the sample. Line breaks are retained in this input.2,4,5,8

Result for these sample inputs

0.981155781

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

r = sum[(x − mean x)(y − mean y)]/√[sum(x − mean x)² × sum(y − mean y)²].

A WORKED EXAMPLE

Using x values = 1,2,3,4, y values = 2,4,5,8, the result is 0.981155781. Change these example inputs to match your task; use the method above to check each step.

What to keep in mind

Correlation does not establish causation. Sensitive to outliers and nonlinear structure. A descriptive or probability calculation under the stated assumptions. Check the sample design and model before interpreting results.

Methodology maintained by ClarityKit. How these tools are built and checked.