Sharpe Ratio Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free Sharpe ratio calculator. Enter a return, the risk-free rate and volatility, or paste monthly returns, to get the Sharpe ratio, annualized.
- Excess return
- 0
- Annualized return
- 0
- Annualized volatility
- 0
- Rough rating
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the Sharpe ratio calculator
The Sharpe ratio calculator works in two ways.
With summary figures:
- Enter the portfolio's annual return in percent.
- Enter the risk-free rate, such as the yield on short-term government bills.
- Enter the annual standard deviation of returns, also called volatility.
With a list of returns:
- Choose "A list of period returns" and paste returns in percent, one per line or separated by commas.
- Choose what each return covers: a month, week, trading day, quarter or year.
- Enter the annual risk-free rate.
The Sharpe ratio calculator shows the Sharpe ratio, the excess return over the risk-free rate, the annualized return and volatility, and a rough rating of the result.
What is the Sharpe ratio?
The Sharpe ratio measures how much return an investment earns for each unit of risk it takes. It was developed by the economist William F. Sharpe, who later shared the Nobel Memorial Prize in Economic Sciences for his work on asset pricing.
Sharpe ratio = (portfolio return − risk-free rate) ÷ standard deviation of returns
The top of the fraction is the excess return: what you earned above a risk-free investment. The bottom is volatility, a measure of how much the returns bounce around. A higher Sharpe ratio means more reward for each unit of risk.
For example, a portfolio that returned 12% a year with 15% volatility, when the risk-free rate was 4%, has a Sharpe ratio of (12 − 4) ÷ 15 ≈ 0.53.
Why use risk-adjusted returns?
Two portfolios with the same return can carry very different risks. Suppose fund A returned 10% with 8% volatility, and fund B returned 12% with 20% volatility, with a risk-free rate of 4%. Fund A's Sharpe ratio is (10 − 4) ÷ 8 = 0.75; fund B's is (12 − 4) ÷ 20 = 0.40. Fund B earned more, but fund A earned more for the risk it took. If you could use leverage, or combine fund A with cash, you could build a portfolio with fund B's volatility but a higher expected return. That's the idea behind comparing investments on a risk-adjusted basis.
Calculating from a list of returns
When you paste a list of returns, the Sharpe ratio calculator:
- Subtracts the risk-free rate for each period from each return. With monthly returns and a 4% annual risk-free rate, that's about 0.333% a month.
- Works out the average excess return and the sample standard deviation of the returns.
- Divides the average excess return by the standard deviation to get a Sharpe ratio for one period.
- Annualizes it by multiplying by the square root of the number of periods in a year: √12 for monthly returns, √52 for weekly and √252 for daily trading returns.
For example, twelve monthly returns averaging 1.02% with a standard deviation of 1.70%, and a 4% risk-free rate, give a monthly Sharpe ratio of about (1.02 − 0.33) ÷ 1.70 ≈ 0.40, and an annualized ratio of about 0.40 × √12 ≈ 1.39.
What is a good Sharpe ratio?
There's no official scale, but practitioners often use rough guides:
- Below 0: the investment did worse than the risk-free rate.
- 0 to 1: some reward for risk, but modest.
- 1 to 2: good.
- 2 to 3: very good.
- Above 3: excellent, and worth double-checking, because very high figures can come from short or unusual periods.
Broad stock market indices have historically had long-run Sharpe ratios well below 1. Compare like with like: a ratio calculated over a calm two-year period isn't comparable with one calculated over a decade that includes a crash.
Limitations of the Sharpe ratio
The Sharpe ratio is widely used, but it has known weaknesses:
- It treats all volatility as risk, including large gains. Investors usually only worry about losses.
- It assumes returns are roughly normally distributed. Strategies with rare, large losses, such as selling options, can show a high Sharpe ratio until the loss arrives.
- It depends on the period. Different start and end dates can give very different results.
- Smoothed returns flatter it. Investments that are valued infrequently, like private equity or property funds, often look less volatile than they really are.
Variations address some of these issues. The Sortino ratio divides by downside deviation, which only counts returns below a target. The Treynor ratio divides by beta instead of total volatility; see the CAPM calculator for beta.
Who uses a Sharpe ratio calculator
Investors use it to compare funds and strategies on a risk-adjusted basis. Fund managers report Sharpe ratios to clients. Students of finance use it to learn portfolio theory, and analysts use it to check whether a strategy's backtest looks too good to be true.
Treat ad spend like any other investment
A Google Ads budget should be judged the way you judge any investment: by what it returns, in dollars. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Choosing the risk-free rate
The risk-free rate is usually the yield on short-term government debt in the same currency as the investment, such as three-month US Treasury bills for a US-dollar portfolio. Use the average rate over the same period as the returns. If rates changed a lot during the period, using today's rate can distort the result. In the list-of-returns mode, the Sharpe ratio calculator spreads the annual risk-free rate evenly across the periods.
Annualizing correctly
Mixing time periods is one of the most common errors. A monthly Sharpe ratio of 0.3 is not the same as an annual Sharpe ratio of 0.3. Under the usual assumption that returns are independent from one period to the next, multiply by the square root of the number of periods per year. If returns are strongly correlated from one month to the next, this rule can overstate or understate the annual ratio, which is another reason to treat any single figure with care.
Common mistakes
- Using nominal returns with a real risk-free rate, or the other way round. Keep both on the same basis.
- Comparing Sharpe ratios over different periods.
- Forgetting to annualize when comparing monthly and annual figures.
- Trusting very high ratios from short track records or backtests.
Using the Sharpe ratio calculator to compare funds
To compare two funds fairly, collect their returns over exactly the same period, at the same frequency, such as monthly returns for the last five years. Paste each list into the Sharpe ratio calculator with the same risk-free rate, and compare the annualized results. Many fund factsheets publish a Sharpe ratio, but they may use different periods or risk-free rates, so calculating it yourself on matching data gives a cleaner comparison. Remember that past risk-adjusted returns don't guarantee future ones; the Sharpe ratio describes what happened, not what will happen.
The Sharpe ratio and portfolio building
In portfolio theory, adding an investment can raise the Sharpe ratio of the whole portfolio even if the investment's own Sharpe ratio is low, as long as its returns don't move closely with the rest of the portfolio. That's the mathematical case for diversification: combining assets that don't rise and fall together lowers overall volatility more than it lowers return. To check the effect, calculate the monthly returns of your whole portfolio with and without the new investment and run both through the Sharpe ratio calculator.
Sharpe ratio for a single stock
You can calculate a Sharpe ratio for a single stock, but it's usually more useful for portfolios and funds. Individual stocks tend to be much more volatile than a diversified portfolio, so their Sharpe ratios are often low and unstable from one period to the next. If you're comparing individual stocks, look at several periods and treat any single result from the Sharpe ratio calculator as one piece of evidence among many.
Leverage and cash
One useful property of the Sharpe ratio is that it doesn't change if you mix a portfolio with cash at the risk-free rate, or borrow at that rate to invest more. Both the excess return and the volatility scale by the same amount. That's why the Sharpe ratio is used to choose the best risky portfolio first, and then decide separately how much risk to take by adding cash or leverage.
Sources and further reading
- Sharpe ratio on Wikipedia: definition, history and limitations.
- Modern portfolio theory on Wikipedia: the risk-and-return framework behind the Sharpe ratio.
- Sortino ratio on Wikipedia: a variation that only counts downside volatility.
Frequently asked questions
How do you calculate the Sharpe ratio?
Subtract the risk-free rate from the portfolio's return, then divide by the standard deviation of returns.
What is a good Sharpe ratio?
As a rough guide, above 1 is good, above 2 very good and above 3 excellent. Compare ratios over the same period.
How do I annualize a monthly Sharpe ratio?
Multiply it by the square root of 12, about 3.46.
Can the Sharpe ratio be negative?
Yes. A negative ratio means the investment returned less than the risk-free rate.
What risk-free rate should I use?
Usually the yield on short-term government bills in the same currency, averaged over the same period.
Is the Sharpe ratio calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.