Two mutual funds sit side by side on a comparison screen. One returned 18% last year, the other 14%. Most people stop reading right there and pick the 18%. But what if the 18% fund swung around twice as violently to get there? The Sharpe ratio is the number that answers that question. It tells you how much extra return you earned for every unit of volatility you sat through, and once you start using it, raw return numbers start to look a bit naked on their own.
In this guide we’ll walk through the formula, work through a few examples in plain numbers, show how to annualise it from monthly data, and spend real time on where it misleads people. All the fund and stock figures below are hypothetical, chosen to keep the arithmetic clean.
In this article
- What the Sharpe ratio actually measures
- The Sharpe ratio formula
- Worked example 1: the 18% fund versus the 14% fund
- How to calculate standard deviation without getting lost
- Worked example 2: a stock’s Sharpe ratio from six months of data
- Annualising: why the time period changes the number
- What counts as a good Sharpe ratio?
- Worked example 3: when the Sharpe ratio goes negative
- The pitfalls you should know about
- Using the Sharpe ratio in practice
- The bottom line on the Sharpe ratio
What the Sharpe ratio actually measures
The ratio is named after the American economist William F. Sharpe. According to Investopedia’s Sharpe ratio explainer, he proposed it in 1966 as an outgrowth of his work on the capital asset pricing model (CAPM), and originally called it the reward-to-variability ratio. The same page notes that Sharpe won the Nobel Prize in economics in 1990 for his work on CAPM. Wikipedia’s entry on the Sharpe ratio adds that he revised the definition in 1994.
The idea is simple. Any investment has to beat what you could earn with no risk at all, such as a government treasury bill. Whatever it earns above that is the reward for taking risk. The Sharpe ratio divides that reward by how bumpy the ride was, measured as the standard deviation of returns. Higher is better: more reward for the same bumps, or the same reward with fewer bumps.
The Sharpe ratio formula
Corporate Finance Institute sets it out like this:
Sharpe ratio = (Rx − Rf) ÷ StdDev(Rx)
- Rx is the return of the portfolio, fund or stock.
- Rf is the risk-free rate of return.
- StdDev(Rx) is the standard deviation of the portfolio’s returns, which is its volatility.
The top half, Rx minus Rf, is called the excess return. The bottom half is the risk. Keep all three numbers on the same time basis: annual return with annual volatility, or monthly with monthly. Mixing them is the single most common mistake we see in spreadsheets people build for themselves.
Worked example 1: the 18% fund versus the 14% fund
Let’s go back to the comparison screen. Assume a risk-free rate of 6% for the year (a round hypothetical number, not a quote of any actual treasury yield).
- Fund A returned 14% with an annual standard deviation of 10%.
- Fund B returned 18% with an annual standard deviation of 20%.
Fund A: (14 − 6) ÷ 10 = 0.8
Fund B: (18 − 6) ÷ 20 = 0.6
Fund B made more money. Fund A made more money per unit of risk. If you had ₹1,00,000 in Fund B, you would have ended the year richer than in Fund A, but you would also have lived through much sharper drawdowns along the way, and on a bad year that wider swing works against you just as hard.
A high return tells you what you got. The Sharpe ratio tells you what you had to put up with to get it.
This is also why the ratio is handy when you are mixing assets. A lower-return fund with a much better Sharpe ratio can sometimes be combined with other holdings to build a portfolio that beats the higher-return fund on both counts. The ratio itself won’t tell you how to do that, but it flags which building blocks are pulling their weight.
How to calculate standard deviation without getting lost
Investopedia’s page breaks the volatility part into a short recipe. Take the return for each period, subtract the average return from each one, square those differences, add them up, divide by the number of periods, and take the square root. Spreadsheet users can skip the hand work: Excel and Google Sheets have STDEV functions that do it in one go. Just make sure you are feeding in period returns, not prices.
One small technical point. Spreadsheets usually offer two versions, one for a full population and one for a sample. With a short run of monthly returns the sample version, which divides by one fewer period, gives a slightly larger number. We use the sample version in the next example. Neither is wrong, but be consistent when you compare two funds.
Worked example 2: a stock’s Sharpe ratio from six months of data
Suppose a stock posted these monthly returns over six months: +3%, −2%, +4%, +1%, −1% and +3%. Assume a risk-free rate of 0.5% a month.
- Average monthly return: (3 − 2 + 4 + 1 − 1 + 3) ÷ 6 = 8 ÷ 6 = about 1.33%.
- Excess return: 1.33% − 0.5% = about 0.83% a month.
- Sample standard deviation of the monthly returns: about 2.42%.
- Monthly Sharpe ratio: 0.83 ÷ 2.42 = about 0.34.
That 0.34 looks weak. It isn’t, necessarily. It is a monthly figure, and you cannot compare it with an annual Sharpe ratio printed on a fund factsheet without converting it first.
Annualising: why the time period changes the number
Here is where people trip. As Wikipedia’s entry explains, the return in the numerator scales in proportion to time, while the standard deviation in the denominator scales in proportion to the square root of time. So to turn a monthly Sharpe ratio into an annual one, the usual shortcut is to multiply by the square root of 12, which is roughly 3.46.
For our stock: 0.344 × 3.46 = about 1.19 on an annualised basis.
Same stock, same six months, and the number went from 0.34 to 1.19 just by changing the measurement unit. Nothing about the risk changed. This one fact explains a lot of confusion online, and it is also the reason six months of data makes for a fragile estimate. A couple of different months would move the result a lot. In practice you want a longer window, ideally one that includes at least one rough patch for the market.
What counts as a good Sharpe ratio?
You will see a grading table repeated on many sites. CFI’s version reads:
- Less than 1: bad
- 1 to 1.99: adequate or good
- 2 to 2.99: very good
- 3 or more: excellent
Treat that with caution. Wikipedia points out that a rubric of this kind makes little sense on its own, precisely because the ratio’s size depends on the time period over which the underlying returns are measured. A ratio of 1 from daily data and a ratio of 1 from annual data are not the same achievement.
A more useful habit is to compare like with like. Put two large-cap equity funds side by side over the same three or five years, using the same risk-free rate and the same return frequency, and the higher Sharpe ratio is genuinely telling you something. Comparing a large-cap fund’s ratio with a liquid fund’s ratio, or with a single small-cap stock’s ratio, tells you much less.
Worked example 3: when the Sharpe ratio goes negative
A negative Sharpe ratio means the investment earned less than the risk-free rate. Investopedia describes it as the risk-free or benchmark rate being greater than the portfolio’s return. In plain words, you took risk and got paid less than if you had parked the money in something safe.
Now watch what happens with two hypothetical funds that both returned 5% in a year when the risk-free rate was 6%:
- Fund C, standard deviation 8%: (5 − 6) ÷ 8 = −0.125
- Fund D, standard deviation 16%: (5 − 6) ÷ 16 = −0.0625
Fund D has the “higher” Sharpe ratio, even though it delivered the same poor return with twice the volatility. Wikipedia flags exactly this flaw: for negative values, a higher ratio can come from more volatility, which is the opposite of what you want. So when ratios are below zero, don’t rank funds on them. Look at the return and the volatility separately.
The pitfalls you should know about
It treats upside and downside moves the same
Standard deviation counts a sudden 8% jump just as harshly as an 8% fall. Most investors don’t mind the jump. Investopedia makes this point when introducing two alternatives: the Sortino ratio, which only looks at downside deviation, and the Treynor ratio, which uses beta rather than total volatility. We covered the second one in our guide to the Treynor ratio, which is worth reading next if you hold a diversified portfolio.
It assumes returns behave nicely
The maths behind the ratio works best when returns follow a normal, bell-shaped distribution. Real markets don’t. Investopedia notes that markets subject to herding can go to extremes far more often than a normal distribution suggests, so the standard deviation used in the ratio may understate tail risk. Wikipedia makes a sharper version of the same point: a Ponzi scheme will show a high Sharpe ratio right up until it collapses, and a strategy that quietly earns small, steady gains while carrying a hidden risk of a big loss can look superb on this one number.
A smooth return stream is not the same as a safe one. Some of the prettiest Sharpe ratios belong to strategies that are simply waiting for their bad day.
It can be gamed
Investopedia warns that portfolio managers can manipulate the ratio to boost their apparent risk-adjusted returns. One route it describes is lengthening the return measurement interval: annual returns generally show lower volatility than monthly returns, which in turn are calmer than daily ones, so the same fund can look steadier simply by being measured less often. When a fund’s Sharpe ratio looks unusually high, ask what period it covers and whether it includes a proper market fall.
It says nothing about how deep the hole got
Two funds can share the same Sharpe ratio while one suffered a far deeper peak-to-trough fall. If drawdowns are what keep you awake, pair the Sharpe ratio with a drawdown measure such as the Ulcer Index, which focuses on how far and how long a holding stayed under water.
Using the Sharpe ratio in practice
Here is a sensible way to put it to work without letting it boss your decisions:
- Shortlist first. Pick funds or stocks that fit your goal, category and time horizon before you look at any ratio.
- Line up the same window. Compare Sharpe ratios calculated over the same years, the same return frequency and the same risk-free rate.
- Prefer longer periods. Three to five years that include at least one correction tell you more than a one-year number.
- Check the ingredients. Look at the raw return and the standard deviation behind the ratio. A good score built on very low volatility and modest returns suits a different investor than one built on high returns and high swings.
- Add a second lens. Use Sortino, Treynor or a drawdown measure alongside it, especially if the ratio is negative or the strategy is unusual.
Position size matters too. Even a holding with a great risk-adjusted record can hurt if it takes up too much of your money. Our pillar guide on risk management in trading covers sizing and stop placement in more detail.
The bottom line on the Sharpe ratio
The Sharpe ratio takes the return above the risk-free rate and divides it by volatility, giving you return per unit of risk. It is excellent for comparing similar funds or portfolios over the same period, and it quickly exposes when a headline return came with a rough ride. It is weak when returns are lopsided, when the ratio is negative, when the period is short, and when someone has picked the window to flatter the result. Use it as one honest question, “was this return worth the bumps?”, rather than as a final verdict.
Disclaimer: This article is for education and information only. It is not investment advice or a recommendation to buy or sell any security or fund. All worked examples use hypothetical returns and rates, not actual market data. Investing involves risk; consult a SEBI-registered adviser before making investment decisions.

Leave a Reply
Join the conversation
Commenting is open to registered readers. Sign up with just your email — no password needed, and it takes under a minute.
Sign up to comment Log in