ReadyCalculator

📊 Correlation Calculator

Calculate Pearson correlation coefficient

Enter the same number of values for X and Y

About Correlation Calculator

The Correlation Calculator computes the Pearson correlation coefficient (r) between two variables. This measures the strength and direction of the linear relationship between X and Y values.

How to Use

  1. Enter your X values separated by commas
  2. Enter your Y values separated by commas (same number as X)
  3. Click Calculate to see the correlation coefficient and r²

Understanding Results

  • r = 1: Perfect positive correlation
  • r = -1: Perfect negative correlation
  • r = 0: No linear correlation
  • r²: Proportion of variance in Y explained by X (0 to 1)

Formula

r = Σ[(Xᵢ - X̄)(Yᵢ - Ȳ)] / √[Σ(Xᵢ - X̄)² × Σ(Yᵢ - Ȳ)²]