Skip to main content

MAXScanner calculator widget

Covariance Calculator — Sample & Population Covariance with Correlation

Open full guide ↗

Editable live calculator

Change any input — the result updates immediately

No hidden assumptions. Inputs, units and the working stay visible so you can check the calculation.

Calculated result

Sample covariance = 8.4

Pairs n: 6

Mean X / Y: 6 / 5

Σ cross-deviations: 42

SD X / Y on matching basis: 2.8983 / 2.8983

Pearson correlation: 1

Cross-deviation audit

#XYX−meanY−meanCross product
121-4-416
243-2-24
354-1-11
476111
587224
61094416
Show the working
  1. 1. Compute x̄ = 6 and ȳ = 5.
  2. 2. For each pair multiply (x−x̄)(y−ȳ), then sum: 42.
  3. 3. Sample covariance divides by n−1 = 5: 42 ÷ 5 = 8.4.

Covariance magnitude depends on the units and scale of both variables. Use correlation when you need a standardized association measure.

Shared links reopen these inputs; saved calculations stay in this browser unless you clear site data.