Sub topic 10
Risk-adjusted return with the Sharpe ratio
What the Sharpe ratio measures
This chapter assumes you know percentage returns, compounding, averages, and standard deviation. It also assumes you can work with periodic portfolio returns, such as monthly returns.
A portfolio's return does not tell you how much risk the investor took to earn it. The Sharpe ratio is a risk-adjusted measure that compares a portfolio's excess return with the variability of that return.
The formula is:
\text{Sharpe ratio} =
\frac{\text{average portfolio return} - \text{risk-free return}}
{\text{standard deviation of portfolio returns}}The risk-free return is the return from an investment treated as having very low default risk, such as a short-term government bill. The numerator is called the excess return. The denominator measures total volatility, including both upward and downward movements.
A higher Sharpe ratio means more excess return per unit of total volatility. A negative ratio means the portfolio earned less than the risk-free rate over the measurement period.
A worked example
Suppose a portfolio has these monthly returns:
- Portfolio returns: 4%, -2%, and 3%
- Monthly risk-free return: 0.5%
The excess returns are 3.5%, -2.5%, and 2.5%. Their average is about 1.17%. The sample standard deviation of the portfolio returns is about 3.21%.
The monthly Sharpe ratio is therefore:
\frac{1.17\%}{3.21\%} \approx 0.36To express this as an approximate annual Sharpe ratio, multiply by the square root of 12:
0.36 \times \sqrt{12} \approx 1.26import numpy as np
monthly_returns = np.array([0.04, -0.02, 0.03])
monthly_risk_free = 0.005
excess_returns = monthly_returns - monthly_risk_free
monthly_sharpe = excess_returns.mean() / monthly_returns.std(ddof=1)
annualized_sharpe = monthly_sharpe * np.sqrt(12)
print(round(monthly_sharpe, 3))
print(round(annualized_sharpe, 3))This annualization assumes that the monthly observations represent a consistent process and that returns are not strongly dependent from one month to the next. With only three observations, the estimate is unstable. Real analysis usually needs many periods.
Sharpe ratio and a benchmark
The Sharpe ratio measures absolute risk-adjusted performance. It does not directly measure whether a portfolio beat its benchmark.
For benchmark-relative performance, use the information ratio:
\text{Information ratio} =
\frac{\text{average active return}}
{\text{tracking error}}Active return is the portfolio return minus the benchmark return. Tracking error is the standard deviation of active returns.
A portfolio can have a higher return than its benchmark but a lower Sharpe ratio if it took much more total risk. Conversely, a portfolio can have a modest return and a strong Sharpe ratio if it produced that return with little volatility.
Common errors and limitations
| Error | Why it causes trouble |
|---|---|
| Mixing monthly returns with an annual risk-free rate | The numerator uses incompatible time periods. |
| Using price returns for the portfolio but total returns for the benchmark | Dividends are included on only one side of the comparison. |
| Annualizing the mean and standard deviation inconsistently | The resulting ratio has the wrong scale. |
| Treating volatility as the only kind of risk | Standard deviation penalizes upside and downside movements equally. |
| Ranking portfolios by Sharpe ratio alone | The ratio can hide illiquidity, leverage, drawdowns, or unstable results. |
For monthly data, a common approximation is to multiply the average monthly excess return by 12 and the monthly standard deviation by the square root of 12. Dividing those annualized values gives the same result as multiplying the monthly Sharpe ratio by the square root of 12.
The Sharpe ratio is sensitive to the selected period, return frequency, risk-free rate, fees, and valuation timing. Compare portfolios using the same methods and dates. For strategies with asymmetric or irregular returns, also inspect drawdowns, downside deviation, and worst-period losses.
Exercise
A portfolio has an average monthly return of 1.0%, a monthly risk-free rate of 0.2%, and a monthly standard deviation of 2.0%. What is its monthly Sharpe ratio, and what is the approximate annualized ratio?
Show answer
The monthly Sharpe ratio is (1.0% - 0.2%) / 2.0% = 0.40. The approximate annualized ratio is 0.40 × √12 = 1.39.