What is Covariance?
Covariance is a measure of dispersion that captures how the variables move together.
Covariance is a statistic that measures how two variables move together — whether they tend to rise and fall in tandem, or move in opposite directions. It's a foundational concept in finance, sitting directly beneath correlation, portfolio diversification and risk management. This guide explains what covariance is, how to read its sign, how it differs from correlation, and why it matters — in plain language. It connects closely to correlation and sample covariance, and is a core topic in qualifications like the FRM.
What is covariance?
Covariance measures the direction of the linear relationship between two variables. It answers a simple question: when one variable is above its average, does the other tend to be above its average too, or below it? Where standard deviation describes how a single variable varies on its own, covariance describes how two variables vary together. It's the natural next step once you can measure the spread of one variable and want to understand the relationship between two.
Reading the sign of covariance
The most important thing covariance tells you is its sign:
- Positive covariance: the two variables tend to move in the same direction — when one is above its mean, the other tends to be too. For example, the returns of two companies in the same booming industry.
- Negative covariance: the variables tend to move in opposite directions — when one rises above its average, the other tends to fall below. This is the relationship that makes assets useful for offsetting each other.
- Near-zero covariance: there's little consistent linear tendency for the two to move together in either direction.
How covariance is calculated, in plain terms
Covariance is worked out by looking, for each observation, at how far each variable sits from its own average, and multiplying those two deviations together. When both variables are above (or both below) their averages at the same time, the product is positive; when one is above and the other below, the product is negative. Averaging these products across all the data gives the covariance. So a positive result means the variables mostly stray from their means in the same direction, and a negative result means they mostly stray in opposite directions — which is exactly why the sign carries the meaning it does.
Covariance vs correlation
Covariance and correlation are closely linked, and it's worth being clear on the difference. Covariance tells you the direction of a relationship, but not its strength in any standardised way. Its size depends on the units of the variables, so a covariance of 50 between two variables and 5,000 between two others doesn't necessarily mean the second relationship is stronger — it might just reflect larger numbers. Correlation solves this by standardising covariance (dividing it by the product of the two standard deviations), rescaling it to a fixed range of −1 to +1. That's why analysts usually report correlation when they want to compare the strength of relationships, but covariance remains the underlying building block.
Why covariance matters in finance
Covariance is central to portfolio theory and the mathematics of diversification. The risk of a portfolio depends not just on how risky each individual asset is, but on how the assets move relative to each other — which is precisely what covariance captures. Combining assets with low or negative covariance is the statistical engine of diversification: when some holdings fall, others tend to hold steady or rise, smoothing the overall result. In practice, the covariances between many assets are assembled into a covariance matrix, which sits at the heart of portfolio optimisation and the risk models used across the investment industry.
Why it matters for finance professionals
Anyone working in investment or risk needs a firm grasp of covariance. It's the measure that turns the intuition that "these assets behave similarly" into a precise number, and it's the foundation on which correlation, diversification and portfolio risk are built. Understanding covariance — and why it leads naturally to correlation — is fundamental to quantitative finance and a regularly examined topic in professional qualifications.
Frequently asked questions
What does covariance measure?
The direction of the linear relationship between two variables — whether they tend to move in the same direction (positive covariance), opposite directions (negative), or with no consistent pattern (near zero).
What's the difference between covariance and correlation?
Both describe how two variables move together, but covariance's size depends on the variables' units, so it shows direction but not standardised strength. Correlation rescales covariance to a −1-to-+1 range, making the strength of relationships comparable.
What does positive covariance mean?
That the two variables tend to move in the same direction — when one is above its average, the other tends to be above its average too.
Why is covariance important in finance?
It measures how assets move relative to each other, which drives portfolio risk and diversification. Combining assets with low or negative covariance can reduce a portfolio's overall risk.
Build your quant skills with Learnsignal
Covariance is the foundation of correlation, diversification and portfolio risk. Learnsignal's tutor-led courses, including the FRM, develop the statistical and portfolio understanding that topics like this build on — with clear teaching that makes the maths genuinely click.
This page was last updated:
Owais Siddiqui
Expert Tutor at Learnsignal
Qualified professional with years of experience in teaching and helping students achieve their accounting qualifications.
View all posts by Owais Siddiqui

