Sub topic 16
Risk-Adjusted Return and the Sharpe Ratio
This chapter assumes you can compute simple returns and annualized volatility from a price series, and that you know what a drawdown is. It builds on those pieces to compare investments that earn different returns while taking different amounts of risk.
Why raw return is not enough
Suppose fund A returned 12% a year and fund B returned 8% a year. A looks better. But if A's annual volatility was 25% and B's was 7%, B earned much more return for each unit of ups and downs. An investor who cannot stomach a 40% drawdown may not be able to hold A at all.
A risk-adjusted return divides (or otherwise scales) the return by a measure of risk. It answers the question: how much did I earn for the variability I accepted? The most common version is the Sharpe ratio.
The Sharpe ratio
The Sharpe ratio is the average excess return of an investment divided by the standard deviation of that excess return. Excess return is the return minus the risk-free rate, the return you could have earned with almost no risk, such as short-term government bills.
Sharpe = (mean return - risk-free rate) / standard deviation of returnsReading it:
- A Sharpe of 0 means you earned only what the risk-free asset would have paid.
- A negative Sharpe means you earned less than the risk-free asset.
- Higher is better. Broad stock indexes have often shown long-run Sharpe ratios of roughly 0.3 to 0.5 or so, depending on the period. A sustained Sharpe above 1 is rare and deserves suspicion.
The ratio is unitless, so you can compare a stock fund with a bond fund directly, as long as both use the same return frequency and the same period.
Computing it correctly
The numerator and denominator must use the same period. The usual approach is to compute periodic (for example daily) excess returns, take their mean and sample standard deviation, then annualize.
Annualizing scales the two parts differently. The mean scales with time, and the standard deviation scales with the square root of time. So the ratio scales by the square root of the number of periods per year:
annual Sharpe = periodic Sharpe * sqrt(periods per year)For daily data, the factor is about the square root of 252, or roughly 15.9.
import statistics
prices = [100, 102, 99, 103, 101, 105, 104, 108, 107, 110]
returns = [prices[i] / prices[i - 1] - 1 for i in range(1, len(prices))]
annual_risk_free = 0.03
periods_per_year = 252
daily_risk_free = annual_risk_free / periods_per_year # simple approximation
excess = [r - daily_risk_free for r in returns]
mean_excess = statistics.mean(excess)
stdev_excess = statistics.stdev(excess)
periodic_sharpe = mean_excess / stdev_excess
annual_sharpe = periodic_sharpe * (periods_per_year ** 0.5)
print(f"Periodic Sharpe: {periodic_sharpe:.3f}")
print(f"Annualized Sharpe: {annual_sharpe:.2f}")This sample has only nine returns, so the result is very noisy. It shows the mechanics, not a trustworthy estimate.
Using the ratio to compare
Consider two portfolios over the same five years, with a 3% risk-free rate.
| Portfolio | Annual return | Annual volatility | Sharpe |
|---|---|---|---|
| Stocks only | 9% | 16% | (9 - 3) / 16 = 0.38 |
| Stocks and bonds | 7% | 9% | (7 - 3) / 9 = 0.44 |
The mixed portfolio earned less, but it earned more per unit of volatility. This links back to diversification: combining assets that do not move together lowers volatility faster than it lowers return.
The ratio also lets you adjust for different risk levels. A portfolio with a higher Sharpe can, in principle, be scaled up with leverage to match the volatility of a riskier one and then earn more. That is only a thought experiment. As the position sizing chapter explained, leverage adds its own risks, including forced selling.
Common errors and limits
The Sharpe ratio inherits every weakness of volatility. Keep these in mind.
It treats upside and downside the same
Standard deviation counts a surprisingly large gain as risk. An investment with occasional big gains and no big losses gets penalized. The Sortino ratio addresses this by using only downside deviation (variation below a target return) in the denominator.
It ignores fat tails and drawdowns
Two investments can have the same Sharpe ratio and very different worst cases. A strategy that collects small, steady gains and occasionally loses heavily can show a high Sharpe for years before a single event reveals the tail. Selling insurance-like payoffs, such as writing options far out of the money, often looks this way. A drawdown-based measure can expose what the Sharpe hides. The Calmar ratio, for example, divides the annualized return by the maximum drawdown.
It ignores the order of returns
Sharpe depends only on the mean and spread of returns, not their sequence. Two return series with identical Sharpe ratios can produce very different outcomes for someone withdrawing money, as the sequence risk chapter showed.
It is sensitive to the period and the data
- A short sample gives a noisy estimate. With a few years of data, the uncertainty around a Sharpe ratio is large, so a difference of 0.1 between two funds usually means nothing.
- Choosing a start and end date that flatter a fund inflates its Sharpe.
- Annualizing with the square root of time assumes returns are independent from one period to the next. If returns are positively correlated, which happens with infrequently priced assets such as private funds or smoothed real estate valuations, the measured volatility is too low and the Sharpe too high.
- Mixing frequencies is a frequent bug. Using monthly returns with a daily risk-free rate, or multiplying by the square root of 252 on monthly data, gives wrong numbers.
It can be gamed or misread
Strategies can be tuned after the fact to maximize past Sharpe, a form of overfitting. A high backtested Sharpe often shrinks sharply in live trading. Also, the ratio says nothing about permanent loss: an investment can have a decent Sharpe and still carry a risk of going to zero, such as a single company that later fails.
Choosing a measure
| Measure | Risk used | Best for | Main weakness |
|---|---|---|---|
| Sharpe ratio | Standard deviation | Comparing diversified, liquid funds | Ignores tails, skew, and order |
| Sortino ratio | Downside deviation | Asymmetric payoffs | Needs a chosen target; fewer data points in the denominator |
| Calmar ratio | Maximum drawdown | Judging worst-case pain | Depends on one event; sensitive to the window |
No single number replaces judgment. A sensible practice is to look at the Sharpe ratio together with the maximum drawdown, the length of the sample, and what the investment could lose permanently.
Matching the number to your situation
The Sharpe ratio compares investments. It does not tell you how much risk you should take. That depends on your risk capacity (what you can afford to lose given your goals and time horizon) and your risk tolerance (what you can live with emotionally). A fund with an excellent Sharpe can still be wrong for you if its drawdowns would force you to sell at a bad time.
Exercise
Fund X returned 10% a year with 20% volatility. Fund Y returned 6% a year with 8% volatility. The risk-free rate is 2%. Compute each Sharpe ratio, say which fund earned more per unit of volatility, and name one thing the Sharpe ratio would not tell you about either fund.
Show answer
Fund X: (10 - 2) / 20 = 0.40. Fund Y: (6 - 2) / 8 = 0.50. Fund Y earned more excess return per unit of volatility. The Sharpe ratio would not tell you about the size of the worst drawdown, the chance of fat-tail losses, the risk of permanent loss from failure or fraud, or the effect of the order of returns on someone making withdrawals.
Exercise
You have 36 monthly excess returns with a mean of 0.5% and a sample standard deviation of 3%. What is the annualized Sharpe ratio? Which factor do you use, and why?
Show answer
The monthly Sharpe is 0.5 / 3 = 0.167. Multiply by the square root of 12 (about 3.46) to get roughly 0.58. The mean grows linearly with time and the standard deviation grows with the square root of time, so the ratio scales with the square root of the number of periods per year. For monthly data that is 12, not 252.