Covariance Calculator: Analyze the Linear Relationship Between Two Variables

Calculate Covariance for Your Data Sets

Enter individual data points for X, separated by commas or spaces.
Enter individual data points for Y, separated by commas or spaces. Ensure the number of X and Y values match.
Choose between Sample (for a subset of a population) or Population Covariance (for an entire population).

Quickly calculate the covariance between two datasets (X and Y) with our free online tool. Understand how variables move together. Essential for statistics, finance, and data science, our calculator provides instant results to analyze linear relationships and data trends. Simplify complex statistical analysis now!

Formula:

The formula for Sample Covariance is:

Cov(X, Y) = Σ[(Xi - X̄)(Yi - Ȳ)] / (n - 1)

The formula for Population Covariance is:

Cov(X, Y) = Σ[(Xi - μX)(Yi - μY)] / n

Where:

  • Xi, Yi: Individual data points for series X and Y
  • , : The sample mean (average) of series X and Y, respectively
  • μX, μY: The population mean (average) of series X and Y, respectively
  • n: The total number of data points (pairs)
  • Σ: Summation

Statistics and Statistical Tools

5 Number Summary : Find Min, Max, Median, & Quartiles Instantly

Go to Calculator

60th Percentile : Instantly Find the 60% Mark of Your Data

Go to Calculator

Arcsine Distribution : Mean & Variance Tool

Go to Calculator

Average | Free Online Arithmetic Mean Tool

Go to Calculator

Bell Curve : Instantly Analyze Normal Distributions & Z-Scores

Go to Calculator

Bonferroni Correction : Adjust Alpha for Multiple Comparisons

Go to Calculator