Free online tool
Covariance Calculator
Enter two lists with matching rows. Calculate sample or population covariance and paired products. Review the method and copy or download your results.
Enter or ↑ ↓ moves between rows. Alt + ← → moves between columns. Tab moves through fields.
| # | ||
|---|---|---|
| 1 | ||
| 2 |
Enter a grid, paste values, or choose CSV, TSV, JSON, JSON Lines, XLSX, text or a statistics project. XLSX requires a worksheet choice and imports values only. Review headers and column mapping before calculating. The workspace supports up to 2 MB, 20,000 rows and 100,000 cells.
Enter a grid, paste values, or choose CSV, TSV, JSON, JSON Lines, XLSX, text or a statistics project. XLSX requires a worksheet choice and imports values only. Review headers and column mapping before calculating. The workspace supports up to 2 MB, 20,000 rows and 100,000 cells.
Import settings
Column mapping is available after opening the data. JSON object keys become column names. Grid column names are separate from its data rows.
- Enter two lists with matching rows
- Check your values and calculation settings.
- Calculate, review the method, and save your results.
Covariance
1, 2, 3, 4, 5 paired with 2, 5, 5, 8, 11
- Paired rows
- 5
- Covariance
- 5.25
Centered, scaled paired products with compensated summation.
From input to finished work
How it works
Calculate sample or population covariance and paired products from your own values. Use the fictional sample to try the calculation. Sum the products of paired deviations from their means. Divide by n − 1 for sample covariance or n for population covariance. Covariance depends on the units of both variables.
No account needed. Your input stays in this browser. Export your finished work to keep a portable copy.