Raw returns reward risk-taking, so managers are compared after adjusting for risk. This lesson covers the Sharpe ratio, the Treynor ratio, M-squared and Jensen's alpha: how each is computed, what risk it charges for, and which fits which portfolio.
The Sharpe ratio
Sharpe ratio = (R_p - R_f) / σ_p
R_p is the portfolio's return, R_f the risk-free rate and σ_p the portfolio's standard deviation. It is the excess return per unit of total risk, and the slope of the capital allocation line through the portfolio. The excess return matters: ranking by return over standard deviation, without subtracting R_f, can put the wrong fund first. Borrowing at the risk-free rate to double a position doubles both its excess return and its standard deviation, so leverage leaves the Sharpe ratio unchanged.
It fits when the portfolio is all, or most, of what the investor holds, because then total risk is the risk that matters. Ratios from monthly data are often annualized by multiplying by sqrt(12): a monthly 0.15 becomes about 0.52 a year. That step assumes monthly excess returns are not serially correlated. Standard deviation also treats gains and losses alike, so the ratio can flatter strategies with rare large losses.