Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Covariance matrix calculator

Paste three columns of observations in matching order. The calculator returns the complete 3×3 matrix and the correlation for every variable pair.

Each row must describe the same observation in all three fields.

Matrix determinant — generalized variance: —

Fill in the fields above — the result is computed on this page.

Observations
—
Denominator
—
Mean X
—
Mean Y
—
Mean Z
—
Covariance X,Y
—
Covariance X,Z
—
Covariance Y,Z
—
Correlation X,Y
—
Correlation X,Z
—
Correlation Y,Z
—

3×3 covariance matrix

Variable X Y Z
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Compare each covariance direction with its standardized correlation.
  • Verify that all three columns contain matching observations.

The calculator supports exactly three variables and describes linear relationships. It does not establish causation.

How do I use this page?
  1. Paste three columns in matching order.
  2. Choose sample or population.
  3. Read the matrix, correlations and determinant.

What this page does not do: The calculator supports exactly three variables and describes linear relationships. It does not establish causation.

Further reading

Theory — what is a covariance matrix?

The covariance matrix calculator produces a full 3×3 matrix for three columns of observations pasted in matching order. The diagonal holds the variance of each variable, while off-diagonal entries hold the covariance of every pair, with symmetric elements being the same covariance. The sign of covariance shows the direction of joint variation, but its magnitude depends on the units the data were measured in. The determinant of the whole matrix is known as the generalized variance.

Frequently asked questions

What is on the matrix diagonal?
The variances of X, Y and Z. Symmetric off-diagonal elements are the same pairwise covariances.
Why is the determinant zero?
A variable may have no variation or may be an exact linear combination of the others.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.