Math Tools

Covariance Calculator with Formula and Worked Examples

Calculate the sample covariance of two paired lists of numbers. Enter numbers and second list and read the result straight away. Example: numbers “2, 4, 6, 8, 10” and second list “4, 8, 12, 16, 20” → Sample covariance: 20.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the Covariance Calculator

Enter the numbers and second list and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

The formula

Sample covariance = Σ(x − x̄)(y − ȳ) ÷ (n − 1).

Examples

  • With the default values
    Sample covariance: 20

Limitations and assumptions

Confirm assumptions, units and applicable local rules before relying on results. Detailed content, accessibility and edge-case review remains ongoing.

Frequently asked questions

What does the Covariance Calculator do?

Calculate the sample covariance of two paired lists of numbers.

How does the Covariance Calculator work?

Enter the numbers and second list and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

What formula does the Covariance Calculator use?

Sample covariance = Σ(x − x̄)(y − ȳ) ÷ (n − 1).

What should I keep in mind when using the Covariance Calculator?

Confirm assumptions, units and applicable local rules before relying on results.

Can I see an example of the Covariance Calculator?

Example: numbers “2, 4, 6, 8, 10” and second list “4, 8, 12, 16, 20” → Sample covariance: 20.

Is the Covariance Calculator free to use?

Yes. It is free, needs no account and runs in your browser.