Skip to content

Covariance Calculator

Calculate the sample and population covariance of two data sets from paired X and Y values. Enter two comma-separated lists of equal length to see both covariances, the means, and a step-by-step derivation.

Inputs

Data

Results

\begin{aligned} s_{xy} &= \dfrac{\sum_{i}(x_i - \bar{x})(y_i - \bar{y})}{n - 1} \\ &= \dfrac{{\text{?}}}{5 - 1} \\ &= 1.5 \end{aligned}

Details

\begin{aligned} \sigma_{xy} &= \dfrac{\sum_{i}(x_i - \bar{x})(y_i - \bar{y})}{n} \\ &= \dfrac{{\text{?}}}{5} \\ &= 1.2 \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?