Covariance
Definition
Covariance — Meaning, Definition & Full Explanation
Covariance measures how the returns of two assets move together relative to their expected values. A positive covariance means that when one asset's return rises above its average, the other tends to rise above its average too; a negative covariance means they move in opposite directions. Covariance is essential in portfolio construction because it helps investors understand whether combining two securities will reduce overall portfolio risk.
What is Covariance?
Covariance is a statistical measure that quantifies the degree to which two variables move together. In finance, it specifically measures the joint variability of returns from two different securities or asset classes. When the returns of Asset A and Asset B both deviate from their respective averages in the same direction—one goes up while the other also goes up—they exhibit positive covariance. Conversely, when one asset's return rises while the other falls, they exhibit negative covariance. A covariance near zero indicates that the returns have little or no linear relationship.
The term covariance derives from "co-movement" of variables. Unlike correlation (which ranges from –1 to +1), covariance is expressed in the units of the two variables being measured and can range from negative to positive infinity. This unbounded nature of covariance makes it harder to interpret in isolation, which is why investors often convert it into correlation for clearer analysis. Understanding covariance is foundational to Modern Portfolio Theory (MPT), which uses covariance matrices to optimize asset allocation and minimize risk through diversification.
Free • Daily Updates
Get 1 Banking Term Every Day on Telegram
Daily vocab cards, RBI policy updates & JAIIB/CAIIB exam tips — trusted by bankers and exam aspirants across India.
How Covariance Works
The mathematical calculation of covariance between two assets follows a specific formula:
Covariance(A, B) = Σ [(Return_A – Mean_A) × (Return_B – Mean_B)] / (n – 1)
Here, each asset's actual return is compared to its historical average return. The deviations are then multiplied together and summed across all time periods, then divided by the number of observations minus one.
The process unfolds as follows:
- Calculate mean returns: Determine the average return for each asset over the observation period.
- Find deviations: Subtract the mean from each actual return to identify how far each observation deviates from the average.
- Multiply deviations: For each time period, multiply the deviation of Asset A's return by the deviation of Asset B's return.
- Sum and average: Add all these products and divide by the total number of observations minus one (using n–1 for sample covariance).
Interpretation of results:
- Positive covariance: Returns move together; both rise or both fall in tandem.
- Negative covariance: Returns move opposite; when one rises, the other tends to fall.
- Zero covariance: No linear relationship between the asset returns.
Portfolio managers use covariance matrices—which show the covariance between every pair of assets in a portfolio—to identify diversification opportunities and construct efficient portfolios that minimize risk for a target return.
Covariance in Indian Banking
In the Indian banking and securities context, covariance plays a critical role in portfolio management frameworks regulated by the Securities and Exchange Board of India (SEBI) and the Reserve Bank of India (RBI). The RBI's guidelines on risk management for banks require institutions to use covariance matrices when calculating Value at Risk (VaR) for their investment portfolios. Banks like SBI, HDFC Bank, and ICICI Bank employ covariance analysis in their Asset-Liability Management (ALM) committees to assess interest rate risk and market risk across their securities holdings.
For mutual funds and portfolio managers registered with SEBI, covariance analysis is mandatory in fund allocation strategies. SEBI's Master Circular on mutual funds emphasizes diversification, which covariance directly facilitates. Fund managers compute covariance between equities, bonds, and other instruments to construct portfolios that optimize risk-adjusted returns (measured as the Sharpe ratio). The National Stock Exchange (NSE) and Bombay Stock Exchange (BSE) provide historical price data that fund managers use to calculate daily and monthly covariance measures.
In the CAIIB (Certified Associate of Indian Institute of Bankers) curriculum, covariance appears under portfolio management and risk management modules. The term is examined alongside correlation, beta, and Modern Portfolio Theory concepts. Insurance companies regulated by the Insurance Regulatory and Development Authority (IRDAI) also use covariance when managing their investment portfolios to ensure solvency. For Indian banks managing ₹ crores in securities and derivative positions, covariance matrices form the backbone of hedging and risk mitigation strategies.
Practical Example
Priya works as a portfolio manager at a Delhi-based investment advisory firm. She is constructing a diversified portfolio for her client Rajesh, a 45-year-old businessman with ₹ 50 lakhs to invest. Priya selects two stocks: Infosys (a software firm) and HDFC Bank (a financial services company). Over the past three years, she calculates their monthly returns and finds that when Infosys returns decline due to currency headwinds, HDFC Bank returns often remain stable or rise because of strong domestic lending demand. This negative or low-positive covariance between Infosys and HDFC Bank indicates that combining them in a single portfolio will reduce volatility compared to holding either stock alone.
Priya allocates ₹ 30 lakhs to Infosys and ₹ 20 lakhs to HDFC Bank. The portfolio's overall risk, measured by standard deviation, is lower than a weighted average of the individual stock risks because of their low covariance. She then adds a third asset—a bond fund with negative covariance to equities—to further stabilize returns during market downturns. Rajesh's portfolio now has a covariance-based structure that reduces unsystematic risk while maintaining growth potential.
Covariance vs Correlation
| Aspect | Covariance | Correlation |
|---|---|---|
| Range | Unbounded (–∞ to +∞) | Bounded (–1 to +1) |
| Unit | Expressed in units of the two variables multiplied | Unitless; standardized measure |
| Interpretability | Harder to interpret without context | Easier to interpret; directly shows strength |
| Usage | Portfolio construction, risk calculations | Comparative analysis, strength assessment |
Covariance and correlation both measure how two variables move together, but correlation is the standardized version of covariance. When you divide covariance by the product of the standard deviations of both assets, you obtain the correlation coefficient. Correlation is more practical for comparing relationships across different asset pairs because its fixed scale makes direct comparison straightforward. However, covariance is essential in mathematical portfolio optimization models because the variance-covariance matrix used in MPT directly employs covariance values, not correlations.
Key Takeaways
- Covariance measures the directional movement of two asset returns; positive values indicate they move together, negative values indicate opposite movement.
- The calculation requires finding deviations from mean returns, multiplying them pairwise, and averaging across time periods.
- Covariance is unbounded and expressed in squared units of the underlying variables, making it less intuitive than correlation.
- A negative or low-positive covariance between securities allows portfolio managers to reduce portfolio variance through diversification.
- The RBI requires Indian banks to incorporate covariance matrices into their Value at Risk (VaR) models for market and interest rate risk management.
- SEBI mandates that mutual funds and portfolio managers use covariance analysis to justify diversification claims in fund documents.
- Covariance differs from correlation; correlation standardizes covariance into a –1 to +1 scale for easier interpretation.
- CAIIB exam candidates should understand covariance as a foundational tool in Modern Portfolio Theory alongside correlation, beta, and risk-adjusted return metrics.
Frequently Asked Questions
Q: Is covariance the same as correlation?
A: No. Covariance and correlation measure the same directional relationship, but correlation is a standardized version of covariance that ranges from –1 to +1. Covariance is unbounded and harder to interpret on its own. To convert covariance into correlation, divide covariance by the product of the two assets' standard deviations.
Q: How does negative covariance help a portfolio?
A: When two assets have negative covariance, their returns move in opposite directions. Adding a negatively covariant asset to a portfolio reduces overall volatility because gains in one security offset losses in another. This is the core principle of diversification and helps investors achieve lower risk without sacrificing return.
Q: Does RBI require banks to calculate covariance?
A: While RBI does not explicitly mandate the term "covariance," it requires banks to use variance-covariance matrices for Value at Risk (VaR)