FINMATHLY / TOOLS & RESOURCES

Sample Covariance Calculator

Measure how two paired sample data series vary together.

YOUR NUMBERSUnits shown by each input
Comma-separated numbers, up to 360 values. Keep paired lists in the same order.
Comma-separated numbers, up to 360 values. Keep paired lists in the same order.

Calculated in your browser. No account required.

Illustrative estimate. Review the assumptions before using the result.

Report an error in this calculator

View calculation table

How this calculation works

Cov(X,Y) = Σ[(x_i−x̄)(y_i−ȳ)] ÷ (n−1)

Enter the labelled inputs. Percent fields use 5 for 5%.

A worked example

X observations: 1,2,3; Y observations: 2,4,6. Sample covariance: 2.

Assumptions and limitations

All monetary inputs must use one currency and time period unless conversion is explicit. Manual inputs only; no live prices or official rule tables.

Common questions

Why can my actual result differ?

All monetary inputs must use one currency and time period unless conversion is explicit. Manual inputs only; no live prices or official rule tables.

Are my inputs saved?

The calculator code processes inputs within your browser and does not send them to our server or save them in browser storage. Downloads and copied summaries remain under your control.