iLearnFintech Glossary Formulas Cases Sandboxes
Investing/Portfolio theory

Sharpe ratio and performance

8 min readCoreUpdated December 2026
In short

A return means little without the risk taken to earn it. The Sharpe ratio divides the return above the risk-free rate by volatility. The Treynor ratio uses beta instead, and alpha measures the return above what market risk alone would earn. Short, smooth track records can make all of them look better than they are.

What it is

Performance measures compare excess return, the return above the risk-free rate, with the risk taken to get it:

  • Sharpe ratio: excess return ÷ volatility. Use it when the portfolio is most of what you own, because then total risk is what you feel.
  • Treynor ratio: excess return ÷ beta. Use it when the fund is one of many in a diversified portfolio, because then only its market risk adds to yours.
  • Jensen's alpha: return minus what the CAPM predicts for the fund's beta.
  • Information ratio: return above a benchmark ÷ tracking error, the volatility of that difference. It measures how consistently a manager beats the index.
  • M²: the return the portfolio would have earned if mixed with the risk-free asset to have the market's volatility. It turns the Sharpe ratio into a percentage.

A monthly Sharpe ratio is annualised by multiplying by √12, as long as returns are roughly independent from month to month.

All the measures have weak spots. Assets that rarely trade are rarely priced, so their returns look smooth and their ratios flattering. Strategies that sell insurance, such as writing options, earn small steady gains and then a rare large loss; until that loss, their Sharpe ratio looks excellent. And a few years of data can't tell skill from luck.

The intuition

Two drivers reach the same town. One drove at 200 km/h through red lights, the other kept to the limit and arrived ten minutes later. The first was faster, but you would hire the second. The Sharpe ratio asks how much return you got for each unit of risk, not just how much return.

2%4%6%8%10%12%14%0%4%8%12%16%20%24%Risk-free 3.5%Fund B: Sharpe 0.44Index fund: 0.31Fund A: 0.38B with borrowing: 12.3%VolatilityReturn
Each line runs from the risk-free rate to a fund, and its slope is the fund's Sharpe ratio. Fund B has the steepest line: borrowing to hold more of it would beat Fund A at the same risk.

The math

\[\text{Sharpe} = \frac{r_p - r_f}{\sigma_p}, \qquad \text{Treynor} = \frac{r_p - r_f}{\beta_p}\]
\[\alpha_p = r_p - \big[r_f + \beta_p\,(r_m - r_f)\big]\]
\[\text{IR} = \frac{r_p - r_b}{\sigma(r_p - r_b)}, \qquad M^2 = r_f + \text{Sharpe}_p \times \sigma_m\]

Where

\(r_p,\ r_b,\ r_m\)
Return of the portfolio, its benchmark and the market
\(\sigma_p,\ \sigma_m\)
Volatility of the portfolio and of the market
\(\beta_p\)
Beta of the portfolio

In words: Each measure is reward divided by risk, or reward minus what that risk alone would have earned.

An example

Five years of results, with a risk-free rate of 3.5% and a market return of 8.5% at a volatility of 16%:

FundReturnVolatilityBetaSharpeTreynorAlphaM²
A11.0%20%1.20.386.25%1.5%9.5%
B7.0%8%0.40.448.75%1.5%10.5%
Index fund8.5%16%1.00.315.00%0.0%8.5%

Fund A has the highest return, but Fund B the best return for its risk. Both have the same alpha of 1.5%. Mixed to the market's 16% volatility, Fund B would have returned 10.5%, Fund A 9.5% and the index 8.5%.

Annualising: a fund with a monthly excess return of 0.6% and a monthly volatility of 3% has a monthly Sharpe ratio of 0.2. That is 0.2 × √12 = 0.69 a year.

In Python

Compute the Sharpe ratio, Treynor ratio, alpha and M² for three funds.

import math

rf, rm, sm = 3.5, 8.5, 16
funds = {"A": (11.0, 20, 1.2), "B": (7.0, 8, 0.4), "Index": (8.5, 16, 1.0)}
for name, (r, s, b) in funds.items():
    sharpe = (r - rf) / s
    treynor = (r - rf) / b
    alpha = r - (rf + b * (rm - rf))
    m2 = rf + sharpe * sm
    print(name, "| Sharpe", round(sharpe, 2), "| Treynor", f"{treynor:.2f}", "| alpha", round(alpha, 2), "| M2", round(m2, 2))
print("annual Sharpe from a monthly 0.2:", round(0.2 * math.sqrt(12), 2))

In the real world

Too smooth to be true, 2008

Fairfield Sentry, a fund that passed its clients' money to Bernard Madoff, reported steady gains month after month. In a 2005 memo to the US Securities and Exchange Commission, Harry Markopolos noted that it had shown only seven small monthly losses in fourteen and a half years. The options strategy Madoff described could not produce that. The returns were so smooth that their Sharpe ratio beat almost any real fund. In December 2008 Madoff admitted that the business was a fraud and the returns had been invented. A ratio that looks too good is a reason to ask how it was earned.

Think about it

A hedge fund shows a Sharpe ratio of 2.5 over four years, with only one losing month. What would you ask before investing?

Show a model answer

How the returns are earned and priced. Does the fund hold assets that rarely trade, so their values are estimated and smoothed? Does it sell options or other insurance, earning small steady gains until a rare big loss? Four years may not include a real crisis. Ask for the worst month, how the strategy did in past crashes, who checks the prices and who holds the assets. The record could be skill, but it could also be hidden risk, or worse.

Reading the result

Compare funds on risk-adjusted measures over the same period and against the right benchmark. Look at the worst months and the deepest falls too. Then ask how long the record is, and whether the risk could be hidden.

Good signs

  • Comparing funds over the same period, with the same risk-free rate
  • Using Sharpe for a whole portfolio, and Treynor or alpha for one part of it
  • Looking at the worst losses, not only the averages

Watch out

  • Ranking funds by raw return
  • Trusting a high Sharpe ratio from three years of data
  • Ignoring smoothed prices in property, private equity or hedge funds

Remember

  • Sharpe = excess return ÷ volatility.
  • Alpha = return above what beta alone would earn.
  • Smooth or short records flatter every measure.

Check yourself

Question 1 of 2A fund returned 9% with a volatility of 12%. The risk-free rate is 3%. What is its Sharpe ratio?

Question 2 of 2A fund is one small part of a large, diversified portfolio. Which measure fits best?

Read more

  • Bodie, Kane & Marcus, Investments: chapter on portfolio performance evaluation

Spotted a mistake or have a wish?

Tell us in a line or two. The page name is sent along automatically.