Back to Tools

Covariance calculator

Bivariate Insight

Advanced covariance & relationship mapping

About the Covariance calculator

Find the covariance of two variables to see whether they tend to increase together.

How to use the Covariance calculator

  1. Enter Variable X and Variable Y as comma-separated lists of equal length.
  2. Press Calculate.

Formula and method

Cov(X, Y) = Ξ£ (xα΅’ βˆ’ xΜ„)(yα΅’ βˆ’ Θ³) Γ· (n βˆ’ 1) for a sample.

Worked example

X = 10, 20, 30 and Y = 5, 15, 25 have a sample covariance of 100.

Tips

  • Positive covariance means the variables rise together; negative means one rises as the other falls.
  • Covariance depends on the units, so correlation is easier to compare.

Frequently Asked Questions

Correlation is covariance scaled to lie between βˆ’1 and 1.
Live Support
We usually reply within minutes

Enter your name to start a conversation with our team.