Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
COVAR (equivalent to COVARIANCE.P) calculates population covariance — the average product of deviations from each variable's mean — across two equal-length arrays. Positive covariance means the variables tend to move in the same direction; negative means opposite. It is the building block of correlation and regression analysis.
=COVAR(A2:A5,B2:B5)=COVAR(A2:A5,B2:B5)Computed by a real spreadsheet engine on the sample data below.
| Temp F | Sales |
| 65 | 120 |
| 72 | 145 |
| 80 | 190 |
| 88 | 230 |
=COVAR(A2:A5,B2:B5)→362.1875
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “Calculate the covariance between temperature readings and ice cream sales across recorded days”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: