Sub topic 16
Risk-Adjusted Return and the Sharpe Ratio
Prerequisites and purpose
Assume you know basic percentages, averages, and the difference between a stock, bond, and fund. You should also understand that investment returns vary over time.
A return tells you how much an investment gained or lost. A risk-adjusted return asks whether that return was attractive given the uncertainty taken to achieve it. The Sharpe ratio is a common measure for this comparison.
The Sharpe ratio
The Sharpe ratio compares an investment's excess return with its volatility:
Sharpe ratio = (average return - risk-free rate) / volatilityThe risk-free rate is the return available from a low-risk reference investment, such as a short-term government bill. Excess return is the investment return above that reference rate. Volatility is usually the standard deviation of returns.
A higher Sharpe ratio means more excess return per unit of measured volatility. For example:
| Investment | Annual return | Risk-free rate | Volatility | Approximate Sharpe ratio |
|---|---|---|---|---|
| Fund A | 10% | 4% | 12% | 0.50 |
| Fund B | 9% | 4% | 8% | 0.63 |
Fund A earned the higher return, but Fund B produced more excess return for each unit of volatility. This comparison is meaningful only when the returns and volatility use the same period and calculation method.
A worked calculation
Suppose a fund has an annual return of 10%, the risk-free rate is 4%, and annual volatility is 12%:
Sharpe ratio = (0.10 - 0.04) / 0.12
= 0.50A Sharpe ratio of 0.50 does not mean the fund will earn 50%, nor does it guarantee future performance. It summarizes historical return and volatility in one number.
With daily data, calculate daily excess returns and use a consistent annualization method. If the daily risk-free rate is ignored because it is very small, a common approximation is:
import statistics
daily_returns = [0.004, -0.002, 0.001, 0.003, -0.001, 0.002]
risk_free_annual = 0.04
trading_days = 252
average_daily_return = statistics.mean(daily_returns)
daily_volatility = statistics.stdev(daily_returns)
annual_return = average_daily_return * trading_days
annual_volatility = daily_volatility * (trading_days ** 0.5)
sharpe = (annual_return - risk_free_annual) / annual_volatility
print(f"Annualized return: {annual_return:.1%}")
print(f"Annualized volatility: {annual_volatility:.1%}")
print(f"Sharpe ratio: {sharpe:.2f}")The square-root rule for volatility assumes returns behave reasonably across time. It can be unreliable when returns are autocorrelated or have extreme events.
What the Sharpe ratio misses
The Sharpe ratio treats volatility in both directions as risk. A large positive surprise increases volatility even though investors may welcome it. It also assumes that the average and standard deviation describe the relevant risk.
The ratio may understate risks from:
- rare crashes or other tail events
- leverage and borrowed money
- illiquid assets whose prices update slowly
- fraud, business failure, or permanent loss
- selling under pressure
- a poor order of returns during withdrawals
A fund can have a strong historical Sharpe ratio and still suffer a permanent loss. Use the ratio as one comparison tool, then examine drawdowns, holdings, leverage, liquidity, and your time horizon.
flowchart TD
A[Investment return] --> B[Subtract risk-free rate]
A --> C[Measure volatility]
B --> D[Excess return]
C --> E[Risk measure]
D --> F[Sharpe ratio]
E --> F
F --> G[Compare with similar investments]Exercise
Fund X returned 12%, the risk-free rate was 3%, and volatility was 18%. What was its approximate Sharpe ratio, and what does that number mean?
Show answer
The ratio was (12% - 3%) / 18% = 0.50. It means the fund earned about 0.50 units of excess historical return for each unit of measured volatility. It does not predict a guaranteed future return.