Covariance Calculator

Calculate covariance and correlation coefficient between two variables

About Covariance

Covariance measures how two variables change together. Positive covariance indicates variables move in the same direction.

Population Covariance: Cov(X,Y) = Σ((xᵢ - μₓ)(yᵢ - μᵧ)) / N

Sample Covariance: Cov(X,Y) = Σ((xᵢ - x̄)(yᵢ - ȳ)) / (n-1)

Correlation: r = Cov(X,Y) / (σₓ × σᵧ) (ranges from -1 to 1)

💡

Help us improve!

How would you rate the Covariance Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

📚

Formula Source: Standard Mathematical References

by Various

🔄Last reviewed: May 2026
✓Formula checks are based on standard references and internal QA review.