How to Use the Correlation Coefficient Calculator: Steps and a Worked Example

By 1 min read

Calculate Pearson’s correlation coefficient for two paired lists of numbers. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Correlation Coefficient Calculator tool is free, needs no account and runs in your browser.

What you need

  • Numbers (separated by commas or new lines), for example 2, 4, 6, 8, 10
  • Second list (same number of values), for example 4, 8, 12, 16, 20

Step by step

  1. Open the Correlation Coefficient Calculator tool.
  2. Fill in Numbers (separated by commas or new lines).
  3. Fill in Second list (same number of values).
  4. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Numbers (separated by commas or new lines): 2, 4, 6, 8, 10
  • Second list (same number of values): 4, 8, 12, 16, 20

the tool returns:

Pearson correlation: 1

How it works

The calculation is: r = covariance(x, y) ÷ (standard deviation of x × standard deviation of y). Enter the numbers and second list and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

Things to keep in mind

Check your inputs, units and any local rules before you rely on the result.

If this is not quite what you need, try Covariance Calculator, Sample Standard Deviation Calculator or Slope Calculator.

More from the blog