Correlation is one of those topics that looks simple at first but becomes very useful when it shows up in portfolio theory, asset allocation, risk management, and factor models. For CFA candidates, mastering correlation is not just about memorizing a formula. It is about understanding what the number means, how to calculate it efficiently, and how to avoid the interpretation mistakes that cost marks.
A key idea in this area is the linear relationship between two variables. Correlation measures the strength and direction of a linear relationship, not every possible relationship. That distinction is central to the CFA curriculum and appears frequently in exam-style questions.
In practice, you may be asked to:
This article walks through the concept, provides a worked calculation with BA II Plus keystrokes, and highlights the mistakes that most commonly hurt CFA candidates.
The correlation coefficient, usually written as r or ρ, measures the strength and direction of a linear relationship between two variables.
The standard formula is:
r = Cov(X, Y) / (s_X × s_Y)
Where:
For sample data, covariance and standard deviation are usually calculated using n − 1 in the denominator.
The correlation coefficient is bounded between −1 and +1:
A value near +0.8 indicates a strong positive linear relationship. A value near −0.7 indicates a moderately strong negative linear relationship. A value near 0.1 suggests a weak linear relationship.
This is where the phrase linear relationship becomes essential. Correlation only captures straight-line association. Two variables can have a strong nonlinear relationship and still have a correlation close to zero.
Correlation becomes especially important when you move into portfolio theory. For a two-asset portfolio, the portfolio variance is:
σ_p² = w_A²σ_A² + w_B²σ_B² + 2w_Aw_Bσ_Aσ_Bρ_AB
The final term depends directly on the correlation between the two assets.
This creates a very important practical insight:
This is why correlation is not just a descriptive statistic. It is a building block for understanding how risk changes when assets are combined.
Suppose an analyst collects five periods of returns for two assets:
| Period | Asset X | Asset Y |
|---|---|---|
| 1 | −2% | 2% |
| 2 | 1% | 0% |
| 3 | 3% | 4% |
| 4 | −1% | 2% |
| 5 | 4% | 5% |
We want to calculate the correlation between Asset X and Asset Y.
For Asset X:
Mean X = (−2 + 1 + 3 − 1 + 4) / 5 = 5 / 5 = 1%
For Asset Y:
Mean Y = (2 + 0 + 4 + 2 + 5) / 5 = 13 / 5 = 2.6%
| Period | X − Mean X | Y − Mean Y |
|---|---|---|
| 1 | −3 | −0.6 |
| 2 | 0 | −2.6 |
| 3 | 2 | 1.4 |
| 4 | −2 | −0.6 |
| 5 | 3 | 2.4 |
The covariance is the average of the products of the deviations:
Covariance = [(−3)(−0.6) + (0)(−2.6) + (2)(1.4) + (−2)(−0.6) + (3)(2.4)] / (5 − 1)
Covariance = [1.8 + 0 + 2.8 + 1.2 + 7.2] / 4
Covariance = 13 / 4
Covariance = 3.25
For Asset X:
Sum of squared deviations = 9 + 0 + 4 + 4 + 9 = 26
Sample variance = 26 / 4 = 6.5
Standard deviation of X = √6.5 = 2.5495
For Asset Y:
Sum of squared deviations = 0.36 + 6.76 + 1.96 + 0.36 + 5.76 = 15.2
Sample variance = 15.2 / 4 = 3.8
Standard deviation of Y = √3.8 = 1.9494
r = 3.25 / (2.5495 × 1.9494)
r = 3.25 / 4.9688
r = 0.6541
So the correlation is approximately 0.65, indicating a moderately strong positive linear relationship between the two asset returns.
You can also calculate this directly using the DATA and STAT functions on the BA II Plus.
Enter each pair:
[−] 2 [ENTER]
5 [ENTER]
Press [2nd] [Q] to quit the data entry screen.
The display should show approximately:
0.65408
This matches the manual calculation above.
If you study on an iPhone, the RBA Calculator (TI BA II Plus iOS app) is a convenient way to practice these keystroke sequences and build calculator fluency outside of a physical exam setting. You can find it here.
A high correlation between two variables does not prove that one causes the other. For example, stock prices and interest rates may be correlated over a certain period, but that does not establish a direct causal chain.
This is one of the most important conceptual traps in the CFA curriculum.
A correlation of 0 means there is no linear relationship. It does not mean the two variables are unrelated.
For example, a variable could follow a perfect U-shaped pattern relative to another variable. The linear correlation could still be zero, even though the relationship is strong and clearly nonlinear.
Covariance and correlation are related, but they are not the same.
That is why correlation is usually the more useful measure in finance. It allows comparison across assets with different return scales and volatility levels.
A correlation of 0.3 is weaker than 0.7, not stronger. Also, the sign matters:
In most CFA exam contexts, the data you are given represents a sample, so n − 1 is typically used. If you use the population formula by mistake, your covariance and standard deviations will be slightly different, and your final correlation may not match the expected answer.
Covariance measures whether two variables move together, but it is affected by the scale of the variables. Correlation standardizes covariance by dividing by the product of the two standard deviations. That makes correlation easier to interpret and compare across different datasets.
Not necessarily. A correlation of zero means there is no linear relationship. The variables may still have a nonlinear relationship. So independence is a stronger statement than zero correlation.
No. The correlation coefficient is mathematically bounded between −1 and +1. If your calculation produces a value outside this range, you likely made an error in the formula, the data entry, or the standard deviation calculation.
Because portfolio risk depends heavily on how assets move relative to one another. Two assets with the same individual risk can produce very different portfolio risks depending on their correlation. Lower or negative correlation can reduce overall portfolio volatility and improve diversification.
Correlation is a high-yield topic because it connects descriptive statistics to core portfolio concepts. To score well, you need to be able to:
If you are preparing for the CFA exam, the best approach is to practice both the conceptual reasoning and the calculator mechanics. A single worked example like the one above can feel straightforward, but under exam pressure, precision matters. The candidates who perform best are usually the ones who understand the meaning behind the number and can reproduce the calculation cleanly.
RBA Calculator handles all TVM, NPV/IRR and bond calculations, matching the BA II Plus used in exams 100%.
Free Download on App StoreDon't want to download?Try the web calculators →