Correlation Calculator

Calculate the Pearson correlation coefficient between two datasets to measure linear relationship strength.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

How to Use the Correlation Calculator

This calculator computes the Pearson correlation coefficient (r) between two paired sets of values (X and Y). Follow these steps:

  1. Enter X values in the left text area. Separate numbers by commas or spaces (e.g., 1, 2, 3, 4, 5).
  2. Enter Y values in the right text area, using the same format. Each pair (X,Y) must have the same number of values.
  3. Click "Calculate Correlation" to see the result.

What you get:

  • r value (ranges from -1 to 1). Positive = positive correlation, negative = inverse correlation.
  • Strength (very weak, weak, moderate, or strong) based on |r|.
  • Step-by-step breakdown showing means, sums, and the formula used.

Tips:

  • Enter at least 2 pairs of numbers for a valid result.
  • Values can be integers or decimals. No letters or symbols.
  • If X and Y have different counts, an error will appear.

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

Pearson correlation (r) measures the linear relationship between two variables, ranging from -1 to 1. 1 indicates perfect positive correlation, -1 perfect negative, and 0 no linear correlation.

Enter X and Y values separated by commas or spaces. Each pair must have the same number of values. For example: X: 1,2,3,4,5 and Y: 2,4,5,4,5.

The calculator expects complete pairs. Missing values will cause an error. Ensure each dataset has the same number of numeric entries.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0