What the Sharpe ratio measures
The Sharpe ratio, introduced by William Sharpe, measures return per unit of risk. In his 1994 paper, the ex post version is the average differential return over the periods divided by the standard deviation of those differential returns; when the benchmark is a riskless asset, the differential is the fund's return minus the risk-free rate. A higher ratio means more excess return for each unit of volatility.
How to calculate it
Sharpe ratio = (portfolio return − risk-free rate) ÷ standard deviation of the portfolio return.
Example (direct mode): return 10%, risk-free rate 4%, volatility 15% gives (10 − 4) ÷ 15 = 0.40.
Example (series mode): the 12 sample monthly returns average 0.76% with a sample standard deviation of 1.70%. Subtracting a monthly risk-free rate of 0.333% (4% ÷ 12) and scaling by √12 gives a Sharpe ratio of 0.86.
Conventions used in the series mode
- The standard deviation is the sample standard deviation (n − 1), the same as the STDEV spreadsheet function in Sharpe's own spreadsheet example.
- The monthly risk-free rate is the annual rate ÷ 12, and the monthly ratio is scaled by √12 to annualize. This is a common convention, not the only one.
- Annualized return is geometric: (product of 1 + monthly return)^(12 ÷ months) − 1.
Sortino ratio
The Sortino ratio replaces total volatility with downside deviation. The formula is (return − minimum acceptable return) ÷ downside deviation, and the target is often the risk-free rate. Here the downside deviation is the square root of the average squared shortfall below the monthly risk-free rate across all months. Other variants exist, so compare only numbers computed the same way.
Limits
The ratio uses past returns and assumes volatility captures risk; a short history can mislead. To compare growth rates, see the CAGR calculator.
Frequently Asked Questions
How do you calculate the Sharpe ratio?
(Return − risk-free rate) ÷ standard deviation of returns. With a 10% return, 4% risk-free rate and 15% volatility, it is 0.40.
What risk-free rate should I use?
A short-term government yield, such as a U.S. Treasury bill, matched to the period of your returns. The default of 4% here is an example value.
What is the difference between Sharpe and Sortino ratios?
Sharpe divides by total volatility. Sortino divides by downside deviation only, so upside swings are not penalized.
How many months of returns do I need?
At least two to compute it, but a short history gives a noisy result. Twelve or more months is better, and several years better still.
Can the Sharpe ratio be negative?
Yes. If the return is below the risk-free rate, the ratio is negative, meaning you were not paid for the risk taken.