Sub topic 9
Calculating Portfolio Return and Volatility
Assume you know basic percentages, weighted averages, and the roles of stocks, bonds, and cash. This chapter uses annual expected returns, annual volatility, and correlations. These are estimates, not promises.
Expected portfolio return
An asset's expected return is the return you assume it may earn over a year. A portfolio's expected return is the weighted average of the expected returns of its assets.
For a portfolio with weights w1, w2, and w3:
Expected return = w1 × r1 + w2 × r2 + w3 × r3
Consider this target allocation:
| Asset | Weight | Expected return |
|---|---|---|
| Stocks | 60% | 7% |
| Bonds | 30% | 4% |
| Cash | 10% | 2% |
The expected portfolio return is:
0.60 × 7% + 0.30 × 4% + 0.10 × 2% = 5.6%
This calculation does not predict the result for a particular year. It gives a planning estimate based on the assumptions.
Portfolio volatility
Volatility measures how widely returns may vary around their average. It is often calculated as a standard deviation. Higher volatility means a wider range of possible outcomes.
A simple weighted average of volatility is usually wrong because assets do not always move together. Correlation measures how two assets move relative to each other:
- A correlation of 1 means they move together in the same direction.
- A correlation of 0 means their movements have no linear relationship.
- A negative correlation means they often move in opposite directions.
Portfolio volatility uses the covariance matrix, which combines each asset's volatility with the correlations between assets.
import numpy as np
weights = np.array([0.60, 0.30, 0.10]) # stocks, bonds, cash
exp_returns = np.array([0.07, 0.04, 0.02]) # annual expected returns
vols = np.array([0.16, 0.06, 0.01]) # annual volatilities
corr = np.array([
[1.0, 0.2, 0.0],
[0.2, 1.0, 0.1],
[0.0, 0.1, 1.0],
])
cov = np.outer(vols, vols) * corr
port_return = weights @ exp_returns
port_vol = np.sqrt(weights @ cov @ weights)
print(f"Expected return: {port_return:.1%}")
print(f"Volatility: {port_vol:.1%}")The output is an expected return of 5.6% and volatility of about 10.1%. This volatility is lower than the weighted average of the individual volatilities because the correlations are below 1.
Exercise
A portfolio has 70% stocks with an expected return of 8% and 30% bonds with an expected return of 3%. What is its expected return?
Show answer
0.70 × 8% + 0.30 × 3% = 6.5%.