Sharpe Ratio Calculator
- Excess return over the risk-free rate: 12.00% − 3.00% = 9.00%.
- Divide by volatility: 9.00% ÷ 15.00% = 0.60.
- Below 1, the extra return over a risk-free asset is thin compensation for the swings along the way.
This Sharpe ratio calculator measures investment performance by pricing return per unit of volatility. The formula is simple: subtract the risk-free rate from your portfolio return to find the excess return, then divide that figure by the standard deviation of returns. For example, a 12% return, a 3% risk-free rate and 15% volatility produce an excess return of 9.00% and a Sharpe ratio of 0.60. An 18% return, a 4% risk-free rate and 10% volatility yield an excess return of 14.00% and a Sharpe ratio of 1.40. A 25% return, a 2% risk-free rate and 8% volatility give an excess return of 23.00% and a Sharpe ratio of 2.88. The common reading of results is straightforward: below 1 is modest, 1 to 2 is good, 2 to 3 is very good, and above 3 is exceptional and rare.
The method was introduced by William F. Sharpe and remains the accepted standard for comparing risk-adjusted returns because it captures how much extra return an investor receives for each unit of volatility taken on. One rule is essential: returns and volatility must cover the same period for the figure to mean anything. This page shows the full formula, step-by-step workings, worked examples and sources so you can verify every calculation yourself.
Worked examples
A respectable mainstream fund
Primary result: 0.60 — nine points of excess return bought with fifteen points of volatility. (12 % · 3 % · 15 %)
| Sharpe ratio | 0.60 |
| Excess return over the risk-free rate | 9.00% |
| Interpretation | Below 1 — modest reward for the risk taken |
Past the 'good' line
Primary result: 1.40 — the kind of figure long-term investors look for. (18 % · 4 % · 10 %)
| Sharpe ratio | 1.40 |
| Excess return over the risk-free rate | 14.00% |
| Interpretation | Good — a solid risk-adjusted return |
Rare air
Primary result: 2.88 — sustained Sharpe ratios near 3 are exceptional and worth a second look at the inputs. (25 % · 2 % · 8 %)
| Sharpe ratio | 2.88 |
| Excess return over the risk-free rate | 23.00% |
| Interpretation | Very good — unusually strong risk-adjusted performance |
The Sharpe ratio formula
The Sharpe ratio measures how much return an investment generates above a risk-free baseline, relative to the volatility of those returns. The formula is straightforward: subtract the risk-free rate from the portfolio return to get the excess return, then divide by the standard deviation of returns. In plain terms, it prices return per unit of volatility. A higher number means you are being better compensated for the risk you take on.
To see how this works, consider a verified example. A portfolio returns 12% over a given period, the risk-free rate sits at 3%, and the standard deviation of returns is 15%. The excess return is 9.00%. Divide that 9.00% by the 15% volatility and you get a Sharpe ratio of 0.60. That figure tells you the portfolio earned 0.60 units of return for every unit of risk. When you plug your own numbers into a sharpe ratio calculator, the tool runs this same calculation and hands you the result instantly.
The same formula scales to more aggressive or more efficient portfolios. An 18% return against a 4% risk-free rate with 10% volatility produces an excess return of 14.00% and a Sharpe ratio of 1.40. A 25% return against a 2% risk-free rate with 8% volatility yields an excess return of 23.00% and a Sharpe ratio of 2.88. Notice that higher returns do not automatically produce a better ratio. The volatility matters just as much, because it is the denominator that determines how efficiently the return was achieved.
One critical detail: the returns and the volatility must cover the same period. Annual returns paired with monthly volatility, or daily returns paired with annual volatility, produce a number that does not mean anything. The ratio was introduced by William F. Sharpe, and from the start it depended on matching time horizons to deliver a meaningful reading of risk-adjusted performance.
- Below 1: modest risk-adjusted return
- 1 to 2: good risk-adjusted return
- 2 to 3: very good risk-adjusted return
- Above 3: exceptional and rare
Worked examples
The formula behind every Sharpe ratio calculator is straightforward: Sharpe ratio = (portfolio return - risk-free rate) / standard deviation of returns. It prices return per unit of volatility, giving you a single number that captures how much extra return you earned for the risk you took. Returns and volatility must cover the same period for the figure to mean anything. The ratio was introduced by William F. Sharpe, and it remains one of the most widely used measures in finance today.
To see how the math works in practice, consider three verified funds. The first fund delivered a 12% return with a 3% risk-free rate and 15% volatility. Subtracting the risk-free rate from the portfolio return gives an excess return of 9.00%. Dividing that excess return by the standard deviation of 15% produces a Sharpe ratio of 0.60. The second fund earned an 18% return against a 4% risk-free rate with 10% volatility, yielding an excess return of 14.00% and a Sharpe ratio of 1.40. The third fund returned 25% with a 2% risk-free rate and 8% volatility, producing an excess return of 23.00% and a Sharpe ratio of 2.88.
These three examples span the range of what most investors encounter. The first fund sits below 1, which signals modest performance. The second fund falls between 1 and 2, which most readers consider good. The third fund lands between 2 and 3, a level widely viewed as very good. A common reading of the Sharpe ratio holds that below 1 is modest, 1 to 2 is good, 2 to 3 is very good, and above 3 is exceptional and rare.
The difference between the first and third fund is striking. Both earned positive excess returns, but the third fund generated that return with roughly half the volatility of the first. That efficiency is exactly what the Sharpe ratio captures. A higher ratio means you received more return for each unit of risk you accepted. When you run the numbers through a Sharpe ratio calculator, the output lets you compare funds on an equal footing regardless of their total returns.
| Portfolio Return | Risk-Free Rate | Volatility | Excess Return | Sharpe Ratio |
|---|---|---|---|---|
| 12% | 3% | 15% | 9.00% | 0.60 |
| 18% | 4% | 10% | 14.00% | 1.40 |
| 25% | 2% | 8% | 23.00% | 2.88 |
How to read the number
The Sharpe ratio measures how much return you earn for each unit of risk you take. The formula divides the excess return (portfolio return minus the risk-free rate) by the standard deviation of returns, so the final number prices return per unit of volatility. Because both the return and the volatility must cover the same period for the figure to mean anything, the result is a single, clean number that lets you compare investments on equal footing. William F. Sharpe, who introduced the ratio, designed it to answer a simple question: is the extra return worth the extra swings in value?
Investors generally read the result in bands. Below 1.0 is considered modest, meaning the excess return barely compensates for the volatility endured. A ratio from 1.0 to 2.0 is good, showing that returns comfortably exceed the risk taken. From 2.0 to 3.0 is very good, and anything above 3.0 is exceptional and rare. The 1.0 mark is the line investors watch most closely because it represents the point where excess return matches volatility, one-for-one. Below that line, the risk may outweigh the reward; above it, the reward starts to clearly justify the risk.
To see how the bands work in practice, consider three portfolios. A portfolio returning 12% against a 3% risk-free rate with 15% volatility produces an excess return of 9.00% and a Sharpe ratio of 0.60, which falls in the modest range. A stronger portfolio returning 18% against a 4% risk-free rate with 10% volatility generates an excess return of 14.00% and a Sharpe ratio of 1.40, landing in the good range. A third portfolio returning 25% against a 2% risk-free rate with 8% volatility yields an excess return of 23.00% and a Sharpe ratio of 2.88, which sits in the very good range.
These examples show why the raw return alone can mislead. The 25% portfolio earns more than twice the 12% portfolio, but its Sharpe ratio is nearly five times higher because its volatility is far lower relative to its excess return. When you use a Sharpe ratio calculator, the output lets you make that comparison directly rather than guessing whether a higher return came with proportionally higher risk.
Sharpe ratio versus raw return
Raw return tells you what you made, but not what you went through to make it. The Sharpe ratio fixes that by pricing return per unit of volatility. The formula, introduced by William F. Sharpe, is portfolio return minus the risk-free rate, divided by the standard deviation of returns. That denominator is the whole point: it rewards smooth, predictable gains and penalizes wild swings. Returns and volatility must cover the same period for the figure to mean anything, so a monthly ratio and an annual ratio are not interchangeable.
Consider two funds that a simple return ranking would call close. One delivers a 12% return against a 3% risk-free rate with 15% volatility. Its excess return is 9.00%, and its Sharpe ratio is 0.60. The other delivers an 18% return against a 4% risk-free rate with 10% volatility. Its excess return is 14.00%, and its Sharpe ratio is 1.40. The return gap is 6 percentage points, but the Sharpe gap is far wider: 0.80. On a risk-adjusted basis, the higher-return fund does not just edge ahead, it dominates, because it produced a much larger excess return while taking on notably less volatility.
A Sharpe ratio calculator makes this contrast immediate. Instead of eyeballing two return figures and guessing which fund took the smoother path, you plug in the return, risk-free rate, and standard deviation, and read the result directly. The higher fund clears 1.40 while the lower one sits at 0.60, and the common reading scale puts that in plain terms: below 1 is modest, 1 to 2 is good, 2 to 3 is very good, and above 3 is exceptional and rare. One fund lands squarely in the good range; the other never reaches the modest threshold.
The gap widens further when you raise the return and tighten the volatility. A 25% return, a 2% risk-free rate, and 8% volatility give an excess return of 23.00% and a Sharpe ratio of 2.88. That figure is nearly five times the 0.60 result, even though the raw return is only about double. This is why comparing funds on return alone can mislead: it ignores how much risk each manager loaded onto the portfolio to hit the target. The Sharpe ratio levels the field by asking how much return you actually got for every unit of risk you absorbed.
None of this means raw return is useless. It still tells you the dollars in your account. But when two strategies compete for the same capital, the risk-adjusted measure is the better tiebreaker. A fund that returns more with less volatility is doing harder work, and the ratio is how you see it.
Periods and annualizing
The Sharpe ratio formula divides excess return by standard deviation, which means both inputs must cover the exact same time frame. If you have monthly returns, you need monthly volatility. If you have annual figures, you need annual volatility. Mixing periods produces a number that looks valid but carries no real meaning. William F. Sharpe, who introduced the ratio, emphasized this point because the entire calculation depends on comparing like with like.
Annualizing monthly data is not as simple as multiplying by 12. Returns scale linearly, so a monthly return of 1% becomes roughly 12% on an annual basis. Volatility, however, scales with the square root of the number of periods. To annualize monthly standard deviation, multiply it by the square root of 12, which is approximately 3.46. This difference matters because it changes the denominator in the formula and therefore changes the final ratio.
A reliable Sharpe ratio calculator handles this conversion automatically. When you enter monthly inputs, the tool annualizes both the return and the volatility before computing the ratio. When you enter annual inputs, it uses them directly. For example, a 12% return, a 3% risk-free rate, and 15% volatility produce an excess return of 9.00% and a Sharpe ratio of 0.60 when all figures are annual. If those same percentages were monthly and needed annualizing, the final ratio would differ significantly.
Consider how period selection affects interpretation. The common reading holds that a ratio below 1 is modest, 1 to 2 is good, 2 to 3 is very good, and above 3 is exceptional and rare. An 18% return, a 4% risk-free rate, and 10% volatility yield an excess return of 14.00% and a Sharpe ratio of 1.40, which falls in the good range. A 25% return, a 2% risk-free rate, and 8% volatility yield an excess return of 23.00% and a Sharpe ratio of 2.88, which qualifies as very good. These benchmarks only hold when the inputs share the same period and the ratio is annualized consistently.
Limitations
A sharpe ratio calculator is a useful tool, but the number it produces has clear limits. The formula divides the excess return of a portfolio by the standard deviation of returns, which means it treats all volatility as risk. In reality, volatility is not the whole picture. Two investments can have the same standard deviation yet differ in the kind of risk they carry, and the ratio cannot tell them apart.
Skewed returns are a well-known weakness. A strategy that produces small, steady gains over many months can post an attractive Sharpe ratio, even if it carries the possibility of a rare but severe loss. Because the ratio weights each month's outcome by how far it sits from the average, a smooth run of modest wins can flatter the figure. The same issue arises with illiquid assets: when prices update infrequently, reported volatility looks low, and the ratio rises even though the true risk of holding the asset has not changed.
Short track records create a related problem. The ratio was introduced by William F. Sharpe, and for the figure to mean anything, the returns and volatility must cover the same period. A few years of calm markets can make a strategy look stronger than it is. The common reading that below 1 is modest, 1 to 2 is good, 2 to 3 is very good, and above 3 is exceptional and rare gives some context, but even a very high figure should be viewed with care if the history is short or the return pattern is uneven.
These limits do not make the ratio useless, but they do mean it should not stand alone. A high Sharpe ratio can reflect genuine skill, but it can also reflect a quiet market, a skewed payoff structure, or thinly traded holdings. The best approach is to treat the ratio as one input among several, not as a single number that captures the full risk of an investment.
FAQs
What is the formula for the Sharpe ratio?
The formula is (Portfolio return - risk-free rate) divided by standard deviation. For example, if a portfolio returns 12% and the risk-free rate is 3%, with a standard deviation of 15%, the calculation is (12% - 3%) / 15% = 0.60. This measures how much excess return you earn per unit of risk.
What is a good Sharpe ratio?
A Sharpe ratio of 1.0 or above is generally considered good, 2.0 is very good, and 3.0 is exceptional. For context, a verified strong fund scores 1.40. These benchmarks help investors gauge whether the returns justify the risk taken to achieve them.
Can the Sharpe ratio be negative?
Yes. Whenever the portfolio returns less than the risk-free rate, the excess return and the ratio are both negative. A negative Sharpe ratio indicates the investment underperformed a risk-free alternative, meaning the investor took on risk without adequate compensation.
Does a higher return always mean a higher Sharpe ratio?
No. Volatility divides the result, so higher returns with high volatility can produce a lower ratio. The 25% fund scores 2.88 only because its volatility is just 8%. If that same return came with much higher volatility, the Sharpe ratio would be significantly lower.
Which risk-free rate should I use?
Use a Treasury yield matching the period of the returns. The verified cases use 3%, 4% and 2%. For example, if analyzing annual returns, use a one-year Treasury yield. Matching the time frame ensures the risk-free benchmark aligns properly with your measurement period.
What does a Sharpe ratio of 2.88 imply?
It implies an excess return of 23.00% earned with only 8% volatility. This means the investment generated substantial returns above the risk-free rate with relatively low risk. Sustained figures that high are rare and worth double-checking, as they may indicate exceptional skill or data issues.