# Calculate Covariance in Excel

Excel has functions for both the sample and population covariances: COVARIANCE.S and COVARIANCE.P, respectively. Here we'll calculate the sample covariance, but the approach is the same for both.