Covariance calculator is an online statistical tool to find out the covariance of two variables. It measures how two variables are related to each other. Covariance can be positive or negative. Positive value indicates that the variables have positive relation. If the value is negative, they possess the negative relation. The equation to find out the covariance is given below:

Cov(x,y)=$\frac{\sum_{i=1}^{n}(x_{i}-\bar{x})(y_{i}-\bar{y})}{N}$



Step1: First find out the mean of x and y.

$\bar{x}$=$\frac{x_{1}+x_{2}+x_{3}+..........x_{n}}{n}$    and

$\bar{y}$=$\frac{y_{1}+y_{2}+y_{3}+..........y_{n}}{n}$

Step2:Then find out $\sum_{i=1}^{n}(x_{i}-\bar{x})(y_{i}-\bar{y})$

Step3: Substitute these values in the given equation.

Cov(x,y)=$\frac{\sum_{i=1}^{n}(x_{i}-\bar{x})(y_{i}-\bar{y})}{N}$

Where N is the number of observations