Sharpe Ratio Calculator

Enter the return of an investment, the risk-free rate and the standard deviation of returns to get its Sharpe ratio and risk premium.

Updated

Enter to calculate Esc to clear

Sharpe Ratio Calculator

Our Sharpe Ratio Calculator measures how much extra return an investment earned for each unit of risk it took. Type the return of a fund, stock or portfolio, the risk-free rate for the same period (such as a Treasury bill yield) and the standard deviation of the returns, all as percentages. It returns the Sharpe ratio, the risk premium (return above the risk-free rate) and a rough rating. It suits investors comparing funds, advisers building portfolios and finance students checking homework.

Quick answer

The Sharpe ratio is (return − risk-free rate) ÷ standard deviation: a 12% return with a 5% risk-free rate and 10% volatility gives (12 − 5) ÷ 10 = 0.7.

  • Risk premium: the return above the risk-free rate, 7% here.
  • Risk: the standard deviation (volatility) of the returns.
  • Higher is better: more reward for each unit of risk.
  • Rough guide: under 1 modest, 1 to 2 good, above 2 very good.

What Is the Sharpe Ratio?

The Sharpe ratio is a measure of risk-adjusted return. It divides the return an investment earned above a risk-free alternative by how much that return moved around. It was introduced by the economist William F. Sharpe, who later won the Nobel Prize in economics.

Two funds can both return 12%, but if one swings wildly and the other moves smoothly, the smooth one gave you the same reward for less risk. The Sharpe ratio puts a number on that difference.

Sharpe Ratio Formula

Sharpe = (Rp − Rf) ÷ σ
  • Rp: the return of the investment or portfolio.
  • Rf: the risk-free rate, such as a short-term government bill yield.
  • σ: the standard deviation of the investment's returns (its volatility).

Rp − Rf is the risk premium, or excess return. All three numbers must cover the same period, usually one year.

How to Calculate the Sharpe Ratio

A fund returned 12% last year, one-year government bills paid 5%, and the standard deviation of the fund's returns was 10%:

(12 − 5) ÷ 10
= 7 ÷ 10
= 0.7
  1. Find the risk premium. 12% − 5% = 7%.
  2. Divide by the standard deviation. 7 ÷ 10 = 0.7.

The fund earned 0.7 percentage points of extra return for each point of volatility. You can enter the percentages directly: the % signs cancel out.

Comparing Two Funds

Rf 4% A 0.5 B 0.75 Return Risk (σ)
The Sharpe ratio is the slope of the line from the risk-free rate to each fund. Fund B's steeper line means more return per unit of risk.

With a risk-free rate of 4%, Fund A returned 14% with a standard deviation of 20%, and Fund B returned 10% with a standard deviation of 8%:

  • Fund A: (14 − 4) ÷ 20 = 0.5.
  • Fund B: (10 − 4) ÷ 8 = 0.75.

Fund A has the higher return, but Fund B is the more efficient one. An investor who wants more return could in principle borrow to scale up Fund B and get more return than Fund A at the same level of risk.

What Is a Good Sharpe Ratio?

There is no official scale, but these rough bands are widely used for yearly figures:

Sharpe ratioRough reading
Below 0Worse than risk-free
0 to 1Modest
1 to 2Good
2 to 3Very good
3 or moreExcellent, check data

A broad stock market index has often had a long-run Sharpe ratio below 1. Compare funds of the same type over the same period rather than against a fixed number.

Annualizing a Sharpe Ratio

If you work from monthly returns, the ratio comes out in monthly units. Say the average monthly excess return is 0.6% and the monthly standard deviation is 3%:

Monthly: 0.6 ÷ 3 = 0.2
Yearly: 0.2 × √12 ≈ 0.69

The excess return grows with the number of periods, but volatility only grows with its square root, so a yearly ratio is the monthly one times √12 (or the daily one times about √252). This assumes returns are independent from one period to the next.

Sharpe Ratio Examples

A smooth, high-performing fund. 18% return, 5% risk-free rate, 6% volatility:

(18 − 5) ÷ 6 ≈ 2.17

A volatile investment. 15% return, 4% risk-free rate, 20% volatility:

(15 − 4) ÷ 20 = 0.55

A higher return than the first example, but each point of risk earned far less.

A negative Sharpe ratio. 3% return, 5% risk-free rate, 8% volatility:

(3 − 5) ÷ 8 = −0.25

Here a risk-free bill would have done better with no risk at all.

Limitations of the Sharpe Ratio

  • Upside counts as risk. Standard deviation treats big gains like big losses. The Sortino ratio uses only downside moves.
  • Assumes normal returns. Strategies with rare large losses can show a high ratio until the loss happens.
  • Short periods mislead. One good year says little. Use several years of data where you can.
  • Total risk, not market risk. For one holding inside a diversified portfolio, the Treynor ratio uses beta instead.
  • Against a benchmark. To judge a manager against an index, the information ratio is a better fit.

The result is for education and comparison and is not financial advice.

Key Terms

Risk-free rate
Return on a riskless asset, such as T-bills.
Risk premium
Return above the risk-free rate.
Standard deviation
How widely returns spread around their average.
Volatility
Another name for the standard deviation of returns.
Risk-adjusted return
Return judged against the risk taken.
Annualize
Turn a monthly or daily figure into a yearly one.

How to Use the Sharpe Ratio Calculator

  1. Enter the return. Type the return of the investment for the period as a percentage, such as 12.
  2. Enter the risk-free rate and standard deviation. Type the risk-free rate for the same period, such as 5, and the standard deviation of the returns, such as 10.
  3. Read and copy the result. The Sharpe ratio appears as you type, with the working, the risk premium and a rough rating. Press Copy to copy it, or Clear or Esc to start again.

Example: an 18% return with a 5% risk-free rate and 6% volatility gives a Sharpe ratio of about 2.17.

Who Can Use This Calculator?

InvestorsCompare funds on risk-adjusted return
Financial AdvisersShow why lower volatility matters
Portfolio ManagersRank strategies by efficiency
Finance StudentsCheck Sharpe ratio answers

Frequently Asked Questions (FAQs)

What is the Sharpe ratio?

It is the return of an investment above the risk-free rate, divided by the standard deviation of its returns. It shows how much extra return you earned for each unit of risk.

How do you calculate the Sharpe ratio?

Subtract the risk-free rate from the return, then divide by the standard deviation. A 12% return, 5% risk-free rate and 10% standard deviation give (12 − 5) ÷ 10 = 0.7.

What is a good Sharpe ratio?

As a rough guide for yearly figures, under 1 is modest, 1 to 2 is good, 2 to 3 is very good and above 3 is excellent. It is most useful for comparing similar investments over the same period.

Can a Sharpe ratio be negative?

Yes. It is negative when the investment returned less than the risk-free rate. A 3% return with a 5% risk-free rate and 8% volatility gives −0.25.

What risk-free rate should I use?

Use the yield on a short-term government bill in the same currency and for the same period as the return, such as a 3-month or 1-year Treasury bill.

How do I annualize a monthly Sharpe ratio?

Multiply it by the square root of 12. A monthly Sharpe ratio of 0.2 is about 0.69 a year.

What is the risk premium?

It is the return above the risk-free rate, Rp − Rf. The calculator shows it as a row under the Sharpe ratio.

What is the difference between the Sharpe and Sortino ratios?

The Sharpe ratio divides by the standard deviation of all returns. The Sortino ratio divides only by downside deviation, so it does not penalize large gains.

Is the Sharpe Ratio Calculator free?

Yes. It is free to use, with no sign-up and no limit on how many times you use it.

Sources

Try our Sharpe Ratio Calculator to see whether an investment pays enough for the risk it takes.