In this lesson

The Sharpe ratio and the capital market line

Add a risk-free asset and one risky mix beats all the others. This lesson defines the Sharpe ratio, computes it for 25 years of US stocks and bonds, finds the best mix with a calculator, shows why every investor can hold that same mix, and explains why a measured ratio is less certain than it looks.

Level
Beginner
Reading time
About 22 minutes

By the end you will be able to:

  • define the Sharpe ratio and compute it from excess returns
  • find the best risky mix of two assets when a risk-free asset is available
  • explain why the Sharpe ratio is the same at every point on the line between bills and the best mix
  • describe the separation of what to hold from how much to hold
  • say why borrowing makes the line bend
  • judge how reliable a measured Sharpe ratio is from the length of the record

Adding a safe asset changes the picture

The last lesson found the efficient frontier of stocks and bonds, a curve of mixes from which a careful investor chooses. This lesson adds one more asset: a risk-free one, such as a short-term Treasury bill, that pays a known return. It changes the problem. Once an investor can hold bills, or borrow at the bill rate, the question is no longer which point on the curve to pick, but which single risky mix is best, and then how much of it to hold.

The tool for judging is the Sharpe ratio, the excess return over the risk-free rate per unit of risk. This lesson defines it, computes it for US stocks and bonds, finds the best mix, and shows that every investor, whatever their appetite for risk, can hold that same mix and adjust only the amount. It ends with the problems of using the Sharpe ratio on past data.

The Sharpe ratio

William Sharpe introduced the idea in 1966 as the “reward-to-variability ratio”, and it is now known by his name. Its definition, in his later description, is the expected return in excess of a riskless rate, divided by the standard deviation of that excess. The excess return is the return over and above what Treasury bills would have paid for no risk, and it is the reward for taking risk. The Sharpe ratio measures the reward per unit of volatility.

A ratio of 0.40 means that, on average, the investment paid 0.40 points of return above bills for each point of volatility. A higher number is better, and it can be used to compare investments with different risks, which return alone cannot do. Sharpe also distinguished two versions. The forward-looking one uses expected returns and is what a decision should rest on. The historical one uses past returns, and Sharpe cautioned against treating it as a substitute.

Stocks and bonds, 2000 to 2024

The table applies the ratio to the same 25 years of yearly returns used in the diversification lesson, together with the return on 3-month Treasury bills, which averaged 1.85% a year over the period. The excess return of each asset in each year is its return minus the bill return, and the Sharpe ratio is the average of those excesses divided by their standard deviation.

Average excess return over the 3-month Treasury bill, volatility of that excess and Sharpe ratio for US stocks, 10-year Treasury bonds and the mix of the two with the highest Sharpe ratio, 2000 to 2024
2000 to 2024, over 3-month billsAverage excess returnVolatility of the excessSharpe ratio
US stocks (S&P 500)7.39%18.46%0.40
10-year Treasury bonds2.19%8.88%0.25
Best mix: 38% stocks, 62% bonds4.16%7.35%0.57

Stocks had the higher reward per unit of risk, 0.40 against 0.25. The mix of 38% stocks and 62% bonds did better than either, at 0.57. Part of that gain came from the negative correlation of -0.33 between their excess returns. All of this is historical. In September 2026 the monthly average of the 3-month bill rate was 3.94%, which is higher than most years in this period, and a higher bill rate leaves less excess return for the same risky assets.

The best risky mix

Without a risk-free asset, every point on the efficient frontier was a candidate. With one, a single point beats all the others: the mix with the highest Sharpe ratio. It is called the tangency portfolio, because on a chart of return against volatility it is where a straight line drawn from the risk-free rate just touches the frontier.

Why is it best? Any mix of the risk-free asset and a risky portfolio lies on a straight line between them. The steeper the line, the more return for each extra unit of risk, and its slope is exactly the Sharpe ratio of the risky portfolio. The tangency portfolio gives the steepest line that can be reached. With two risky assets, the share of stocks in it is [(eSσB² − eBρσSσB)] ÷ [eSσB² + eBσS² − (eS + eB)ρσSσB], where e is the excess return of each asset. For the starting settings of the calculator that gives 38.7%.

Find the best mix

The calculator below finds the best mix for the inputs you choose, with no short selling. Choose the risk-free rate, the returns of stocks and bonds, and the correlation, and then how much of your money to put in the best mix. Volatilities are held at 18% for stocks and 9% for bonds, close to the 2000 to 2024 figures. A value above 100% means borrowing at the risk-free rate.

The best risky mix
highest Sharpe ratio
Share in stocks38.74%
Its return5.94%
Its volatility6.95%
Its Sharpe ratio0.57
Your money
stocks 18% and bonds 9% volatility
Sharpe, stocks alone0.39
Sharpe, bonds alone0.22
Your expected return5.94%
Your volatility6.95%

With a risk-free rate of 2.00%, stocks at 9.0% and 18% volatility, bonds at 4.0% and 9% and a correlation of −0.4, the risky mix with the highest Sharpe ratio holds 38.7% in stocks. It returns 5.94% with a volatility of 6.95%, a Sharpe ratio of 0.57, against 0.39 for stocks alone and 0.22 for bonds alone. Putting 100% of your money in that mix gives an expected return of 5.94% with a volatility of 6.95%, and the same Sharpe ratio of 0.57.

Five experiments. First, leave the settings alone: a risk-free rate of 2%, stocks returning 9% and bonds 4%, with volatilities of 18% and 9% and a correlation of −0.4. Stocks alone have a Sharpe ratio of 0.39 and bonds alone 0.22. The best mix holds 38.7% in stocks and reaches 0.57, better than either, with a return of 5.94% and a volatility of 6.95%.

Second, raise the risk-free rate to 4%. The excess returns shrink, the best Sharpe ratio falls to 0.30, and the best mix shifts to 55.6% in stocks. Third, set the risk-free rate back to 2% and put 150% of your money in the best mix, which means borrowing half as much again at 2%. The expected return rises to 7.91% and the volatility to 10.42%, and the Sharpe ratio is unchanged at 0.57. Fourth, set the correlation to +0.9. The two assets now move together, so mixing helps little and the best Sharpe ratio drops to 0.39. Fifth, set the correlation back to −0.4 and the bond return to 2%, equal to the risk-free rate. Bonds now earn nothing over the risk-free rate, so their own Sharpe ratio is zero. Yet the best mix still holds 55.6% in stocks and the rest in bonds, with a Sharpe ratio of 0.42, above the 0.39 of stocks alone, because bonds that move against stocks lower the risk of the whole.

The capital market line and one choice

Choosing how much of the best mix to hold is a separate decision from deciding what the best mix is. Someone cautious can put half their money in the best mix and half in bills. Someone bold can borrow and put more than all their money in it. Either way the mix itself is the same, and only the amount changes. This is the separation result associated with James Tobin’s 1958 work on how investors split money between a safe asset and a risky one. The straight line of all these choices is called the capital market line when the risky mix is the whole market, and the capital allocation line more generally.

Expected return, volatility and Sharpe ratio along the capital allocation line for the starting settings, from all in Treasury bills to 150 percent in the best risky mix
Money in the best risky mixExpected returnVolatilitySharpe ratio
0% (all in bills)2.00%0.00%n/a
50%3.97%3.47%0.57
100%5.94%6.95%0.57
150% (borrowing 50%)7.91%10.42%0.57

Every row has the same Sharpe ratio, since they are all mixes of bills and the same risky portfolio. What changes is the position along the line: more return, and more volatility, further out. The row with borrowing assumes you can borrow at the bill rate. In practice a borrower pays more than the bill rate, so the line bends downward beyond 100%, and the advantage of leverage is smaller than the table suggests.

Problems with the Sharpe ratio

The Sharpe ratio is widely used and easy to misuse. The first problem is sampling error. A historical Sharpe ratio is an estimate from a limited number of returns, and a good approximation is that its standard error is the square root of (1 + half the ratio squared) divided by the number of years. The table shows what that means for a measured ratio of 0.40.

Approximate standard error of a measured Sharpe ratio of 0.40 from 5, 10, 25 and 50 years of yearly returns, with a range of two standard errors either side
Years of dataStandard errorA measured 0.40 could really be anywhere from about
50.46−0.53 to 1.33
100.33−0.26 to 1.06
250.21−0.02 to 0.82
500.150.11 to 0.69

With 5 years of data, a measured 0.40 could easily be 0 or 0.80. Even 25 years leaves a wide range. A fund with a better Sharpe ratio than another over five years has not shown that it is better. The second problem is that volatility is the only risk counted, so a strategy that sells insurance, earning small amounts most years and losing a lot rarely, can show a high ratio until the bad year comes, as in the last derivatives lesson. The third is that the ratio can be improved by smoothing reported returns without changing the true risk. It is a useful tool when read with these in mind.

What this lesson leaves out

  • Past data. The Sharpe ratios and the best mix were computed from 2000 to 2024 and are not forecasts.
  • Round numbers in the calculator. Volatilities are fixed at 18% and 9% and the inputs are round numbers near the 25-year figures.
  • No short selling in the best mix. The calculator allows only non-negative weights. It lets the total position exceed 100% by borrowing at the risk-free rate.
  • Borrowing at the bill rate. Real borrowers pay more than the bill rate, so the line bends.
  • Volatility as risk. The Sharpe ratio counts ups and downs alike and does not capture rare large losses well.
  • Not advice. The lesson does not say what mix or how much leverage suits anyone.

Common mistakes

Reading a high Sharpe ratio as proof of skill

A ratio from a few years of data has a wide margin of error.

Comparing Sharpe ratios of different periods

The bill rate and volatility change, so the ratios are not on the same footing.

Forgetting that leverage does not change the ratio

Borrowing raises return and volatility together along the line.

Using total return in place of excess return

The ratio subtracts the risk-free rate first.

Treating the best mix as fixed

It depends on the inputs, which change with the bill rate, returns and correlations.

Trusting the ratio for strategies with rare large losses

Volatility understates risk for strategies that lose a lot rarely.

Questions to answer

1. Stocks return 9% with 18% volatility and bills pay 2%. What is the Sharpe ratio?

Show the working

(9 − 2) ÷ 18 = 0.39.

2. Bonds return 4% with 9% volatility. What is theirs?

Show the working

(4 − 2) ÷ 9 = 0.22.

3. What is the best mix of the two at a correlation of −0.4?

Show the working

38.7% stocks, with a return of 5.94%, a volatility of 6.95% and a Sharpe ratio of 0.57.

4. You put 150% of your money in the best mix, borrowing at 2%. What are your expected return and volatility?

Show the working

2 + 1.5 × (5.94 − 2) = 7.91% and 1.5 × 6.95 = 10.42%.

5. What is the Sharpe ratio of that position?

Show the working

0.57, the same as at 100%.

6. Bonds return only the risk-free rate, but are negatively correlated with stocks. Do they belong in the best mix?

Show the working

Yes. The best mix holds 55.6% in stocks and the rest in bonds, because bonds lower the risk of the whole even with no excess return.

7. In the real data, which had the higher Sharpe ratio, stocks or bonds?

Show the working

Stocks, 0.40 against 0.25. The best mix reached 0.57.

8. About how large is the standard error of a Sharpe ratio of 0.40 measured over 25 years?

Show the working

About 0.21, so the real figure could plausibly be between 0 and 0.8.

9. Why does borrowing at a higher rate bend the line?

Show the working

Each unit borrowed costs more than the bill rate, so the extra return per unit of risk falls.

Where this is used

  • A fund compares its return per unit of risk with that of its benchmark.
  • A pension plan checks whether a new asset class improves its mix.
  • An adviser explains why an investor should adjust the amount of risk and not hunt for a different risky portfolio.
  • A rating service ranks funds by risk-adjusted return.
  • An investor compares two funds with different volatility.
  • A student learns why a measured performance ratio needs a margin of error.

Key terms

Risk-free rate
The return on an asset with no risk of loss over the period, usually a short-term Treasury bill.
Excess return
The return above the risk-free rate.
Sharpe ratio
Expected excess return divided by the standard deviation of the excess.
Tangency portfolio
The risky mix with the highest Sharpe ratio.
Capital allocation line
The straight line of returns and volatilities from mixing the risk-free asset with a risky portfolio.
Capital market line
The capital allocation line when the risky portfolio is the whole market.
Separation
The result that the choice of the best risky mix does not depend on the investor’s attitude to risk.
Leverage
Investing more than your own money by borrowing.
Standard error
A measure of how far an estimate is likely to be from the true value.
Ex post
Based on what actually happened, as against expected.

Questions people ask

What is a good Sharpe ratio?

There is no fixed answer. Broad stock markets have often been measured at 0.3 to 0.5 over long periods, and ratios depend on the period and the risk-free rate.

Does everyone hold the same risky portfolio?

In the theory, yes, if they share the same estimates of returns, volatilities and correlations. Only the split with the risk-free asset differs.

Why does leverage not change the Sharpe ratio?

Return in excess of the risk-free rate and volatility both scale by the same amount.

Can I earn the Sharpe ratio of the best mix in practice?

Only approximately. Costs, taxes, borrowing rates and the fact that the inputs are estimates all reduce it.

Is volatility the right measure of risk?

It is convenient and widely used, but it counts gains as risk and misses rare large losses.

Should I use this to choose funds?

The lesson explains the measure and its limits. It does not recommend a fund or a mix.

Sources and review

  1. William F. Sharpe, The Sharpe Ratio, Journal of Portfolio Management, Fall 1994, for the definition of the ratio as expected return in excess of a riskless rate per unit of the standard deviation of that excess, for its original name “reward-to-variability ratio” in his 1966 paper “Mutual Fund Performance” (Journal of Business, January 1966, pages 119 to 138), and for the difference between the forward-looking and the historical version.
  2. James Tobin, Liquidity preference as behavior towards risk, Review of Economic Studies, 1958, for the idea that investors split wealth between a safe asset and a risky one. Only the main idea was confirmed, on an encyclopedia summary; the separation of the choice of risky portfolio from the amount held in cash is written from general knowledge.
  3. Aswath Damodaran, NYU Stern, Historical returns on stocks, bonds and bills: 1928-2024, for the annual returns of the S&P 500 with dividends, the 10-year Treasury bond and the 3-month Treasury bill for 2000 to 2024.
  4. Federal Reserve Bank of St. Louis, 3-month Treasury bill secondary market rate (TB3MS), for the monthly average of 3.94% in September 2026 and 3.61% to 3.73% in April to August 2026.
  5. Andrew Lo (2002), The statistics of Sharpe ratios, Financial Analysts Journal, for the approximate standard error of a Sharpe ratio estimated from past returns. Cited from memory.

Review note: the definition of the Sharpe ratio, its original name and the citations were read on Sharpe’s own page. The yearly returns, including the bill returns, were read from the dataset named above, and the Sharpe ratios and the best mix computed here were worked out in code. The formula for the best mix and the standard error of a Sharpe ratio are standard results; the second is cited from memory and was checked by a simulation in code. The calculator uses round numbers near the 2000 to 2024 figures and is not a forecast.

How the numbers were checked: each fact taken from a source was read from that source or from the summary named, and every number worked out in this lesson was recomputed in code by a second method. Returns, volatilities and correlations used in the examples are either computed from the dataset named above or are invented round numbers, as each example says.

The calculator in this lesson was checked by running its script and an independent calculation side by side at the starting settings and at every setting used in the experiments, and the two agreed.