Sharpe Ratio Calculator
Enter portfolio return, risk-free rate and volatility to compute the Sharpe ratio.
What the Sharpe ratio is
The Sharpe ratio is excess return per unit of volatility, and it has no units. A ratio of 0.50 says that for every one percentage point of standard deviation you accepted, the portfolio delivered half a point of return above cash. It is the standard first question in performance review: did this manager beat the alternative, and how much bumpiness did that cost?
Why subtract the risk-free rate
Rf is what you could earn without taking any risk, so subtracting it leaves the part of the return that was actually paid for risk. If a portfolio earns 10% while three-month T-bills pay 4%, only the 6% spread is attributable to the portfolio’s decisions. At a 4% risk-free rate, a fund returning 4.2% has a positive ratio only because it took risk to earn 0.2% — not a compelling trade.
Why volatility is the denominator
σp is the standard deviation of returns, usually annualized. It measures how far the return wanders around its average, and it stands in for risk because a portfolio that swings 30% a year demands more nerve, more liquidity and more tolerance for bad timing than one that swings 6%. Divide by it and returns from different strategies become comparable.
Worked example at the defaults
The defaults are a 10% portfolio return, a 4% risk-free rate and 12% volatility. First, the excess return: 10% − 4% = 6%. Then divide by volatility, with both numbers in the same units: 6 ÷ 12 = 0.50.
Read it in the units of the inputs. One standard deviation is 12 points, so a typical year lands somewhere between −2% and +22%, and roughly one year in three falls outside that band. The 0.50 means you are being paid half a point of excess return for each point of that swing, which is mediocre for a diversified portfolio and respectable for a concentrated one.
Comparing portfolios at different risk levels
The ratio exists to stop you from ranking funds by raw return. Hold the risk-free rate at 4% and compare five portfolios:
| Portfolio | Return | Volatility | Excess return | Sharpe |
|---|---|---|---|---|
| Low-vol bond blend | 6% | 8% | 2% | 0.25 |
| Conservative 40/60 | 8% | 10% | 4% | 0.40 |
| Default portfolio | 10% | 12% | 6% | 0.50 |
| Growth equity | 12% | 15% | 8% | 0.53 |
| Concentrated small cap | 15% | 20% | 11% | 0.55 |
The last portfolio earns 5 points more than the default but only improves the ratio from 0.50 to 0.55, because it also carries 8 points more volatility. A portfolio returning 10% at 8% volatility scores 0.75 and beats both. That is the trade the ratio is designed to expose: extra return is only impressive if it does not come with proportionally more risk.
Two cautions before you act on that ranking. First, compare over the same window; a ratio built on ten years and one built on twelve months are different statistics. Second, compare within asset class, because private equity and short-duration bonds have volatility profiles that make a single threshold meaningless.
What moves the ratio
- Return: one extra point of annual return adds 0.083 to the ratio at 12% volatility, the largest single lever.
- Risk-free rate: one point higher subtracts the same 0.083, which is why ratios across 2022–2026 look weaker than across 2010–2015.
- Volatility: one extra point of volatility at the default level costs about 0.042, and the damage grows as volatility rises.
- Measurement window: monthly data annualized by √12 gives a different figure from daily data annualized by √252 if returns are autocorrelated.
- Benchmark choice: a 4% T-bill and a 5.2% five-year Treasury produce ratios that differ by 0.10 on the same portfolio.
The volatility term is non-linear in its effect. Going from 12% to 24% volatility halves the ratio even if the return is unchanged, so a strategy that doubles its leverage doubles both return and volatility and leaves the Sharpe ratio exactly where it started. That is a feature, not a bug: leverage does not create risk-adjusted value by itself.
Reading the bands
- Below 0: the portfolio underperformed cash; you were paid nothing for the risk.
- 0 to 0.5: common for balanced funds in a high-rate period, and not automatically a problem.
- 0.5 to 1.0: solid for a diversified long-only portfolio; 0.6 is a reasonable 2026 target for a 60/40 mix.
- 1.0 to 2.0: strong, usually a sign of either genuine skill or a strategy with hidden tail risk.
- Above 2.0: rare on long records; check for smoothing, stale marks or survivorship before believing it.
These bands are not universal thresholds. A market-neutral fund at 0.8 and an emerging-market equity fund at 0.8 are not equivalent achievements, and a long/short credit fund marking assets monthly will often report a flatter series than its economic risk justifies.
Sharpe versus Sortino
Sortino divides the same excess return by downside deviation alone, so it only counts the moves below a target. If the default portfolio has 12% total volatility but only 8% downside deviation, its Sortino ratio is 6 ÷ 8 = 0.75 against a Sharpe of 0.50. The gap is the cost of penalizing upside swings that no investor minds.
The two diverge most for strategies with skewed payoffs. A covered-call or trend-following program can have a high Sharpe and a much higher Sortino, because its losses are rare and its gains steady, while a strategy that occasionally spikes upward shows the opposite. Report both when the return distribution is not symmetric, and never compare a Sharpe from one strategy with a Sortino from another.
Mistakes that make comparisons meaningless
- Mixing monthly and annual numbers. A 0.5% monthly excess return on 3.46% monthly volatility is 0.144 monthly, which annualizes to 0.50 only after multiplying by √12.
- Using the wrong risk-free rate. Match the horizon: three-month T-bills for a one-year ratio, a five-year Treasury for a five-year one, and never a savings account rate for an equity portfolio.
- Comparing across periods. A 2010–2021 window flatters almost every strategy because cash yielded near zero and equities rose steadily.
- Ignoring negative ratios. Near zero, ranking flips: −0.1 is better than −0.2, but multiplying a negative ratio by leverage makes it look worse when the economics are unchanged.
One more: the ratio assumes returns are roughly normal. A strategy selling tail insurance can post a Sharpe of 1.5 for years and lose more than all of it in a week. If the return series has fat tails, read the drawdown and the worst month next to the ratio, not instead of it.
Frequently asked questions
What is a good Sharpe ratio?
Above 1.0 is good, above 2.0 is very good on a long record, and 0.5 is ordinary for a diversified portfolio. A 10% return against 12% volatility with a 4% risk-free rate scores 0.50; cutting volatility to 8% at the same return scores 0.75.
How do I calculate the Sharpe ratio?
Subtract the risk-free rate from the return, then divide by standard deviation. 10% minus 4% is 6%, and 6 divided by 12 is 0.50. Keep both inputs in the same units and the same time frame.
Why subtract the risk-free rate?
Because cash is your fallback. Only the return above cash was earned by taking risk, so only that portion belongs in the numerator. At a 4% T-bill rate, a portfolio returning 4.5% has a ratio of 0.04 — almost nothing.
Should I use monthly or annual data?
Annual is simplest and matches this calculator. If you have monthly numbers, compute the monthly ratio and multiply by the square root of 12; 0.144 monthly becomes 0.50 annual. Do not mix monthly returns with annual volatility.
What is the difference between Sharpe and Sortino?
Sortino divides by downside deviation only. A portfolio with 12% total volatility, 8% downside deviation and 6% excess return scores 0.50 on Sharpe and 0.75 on Sortino, because the Sortino ignores upside swings.
Can the Sharpe ratio be negative?
Yes, whenever the return is below the risk-free rate. A portfolio returning 2% against a 4% T-bill with 12% volatility scores −0.17, meaning you accepted risk to earn less than cash.
Is a higher Sharpe ratio always better?
Within one asset class and one period, mostly yes. Across asset classes it misleads, because a smoothed private asset can report low volatility and a high ratio while carrying liquidity risk the number cannot see.
How does leverage affect the Sharpe ratio?
It does not, in theory. Borrowing at the risk-free rate scales return and volatility together, so a 1.5× levered version of the default portfolio returns 13% with 18% volatility and still scores 0.50.
What risk-free rate should I use in 2026?
Use the three-month T-bill yield on the date you measure, which has run roughly 3.7–4.3% through 2025–2026. The 4% default is a reasonable stand-in, but shifting it by a point moves the ratio by 0.08.
Does the Sharpe ratio work for a single stock?
It can be computed, but it is more useful for portfolios because idiosyncratic volatility dominates a single name. A stock with 40% volatility and 12% excess return scores 0.30, which says more about its swings than about its quality.
Method and sources
- Sharpe ratio = (portfolio return minus risk-free rate) divided by portfolio standard deviation.
For educational purposes only — not financial, tax, or legal advice. Verify figures with a qualified professional before acting.