A Sharpe ratio calculator measures the return of an investment for each unit of risk. Enter the return, the risk-free rate and the standard deviation, or a series of periodic returns, and it gives the Sharpe ratio, which you can use to compare investments with different risks.
How to use the Sharpe ratio calculator
- Choose what you know.
- Enter the return, risk-free rate and standard deviation, or paste a series of returns.
- Press Calculate.
The formula
The Sharpe ratio is the expected excess return divided by the standard deviation of the excess return. In the 1994 revision, S = E[R_a − R_b] ÷ σ_a, where R_b is the risk-free return and σ_a is the standard deviation of R_a − R_b [1]. The ex-post version uses realised returns [1]. The original 1966 form divided by the standard deviation of the return, which is the same when the risk-free rate is constant [1].
Worked examples
The page gives two examples. An excess return of 15 percent with a standard deviation of 10 percent gives 0.15 ÷ 0.10 = 1.5. A return of 12 percent with a standard deviation of 10 percent and a risk-free rate of 5 percent gives (0.12 − 0.05) ÷ 0.10 = 0.7 [1]. Enter these in the first mode to check the calculator. A negative ratio means that the investment did worse than the risk-free rate [1].
From a series of returns
If you have a series of returns, such as 60 months, the calculator subtracts the risk-free return from each, then divides the mean of these excess returns by their sample standard deviation. The page says that the returns can be of any frequency, such as daily, weekly, monthly or annual, and can always be annualised [1]. It does not give a method. The calculator multiplies the periodic ratio by the square root of the number of periods per year, a common convention that is our own addition.
The t-statistic
The page says that the t-statistic of the ratio is the Sharpe ratio times the square root of the number of returns, T [1]. The calculator shows it in the working line. A larger value means that the ratio is more likely to differ from zero by more than chance, so a long series is more convincing than a short one.
Interpretation
A higher ratio is preferred. Some financial websites call a ratio above 1 acceptable, above 2 very good and above 3 excellent, but the page calls this rubric senseless, because the ratio depends on the measurement period, as returns scale with time and the standard deviation with its square root [1]. The page also notes that diversified indices usually have annualised ratios below 1 [1]. It gives 0.79 for Berkshire Hathaway from 1976 to 2017 and 0.49 for the US stock market over the same period [1].
Limits
The page lists several weaknesses. Returns are not normally distributed, with fat tails and skew. Strategies such as selling puts and Ponzi schemes can show a high ratio until they fail. Smoothed or illiquid returns can understate risk. The ratio counts both systematic and idiosyncratic risk, and it needs long samples to be accurate [1]. Use it to compare, not to judge on its own.
Choosing the risk-free rate
Use a short-term government rate for the same period as the returns. For monthly returns, divide the annual rate by 12 and enter it as a percentage per period. If you leave it blank, the calculator takes it as zero, which gives the ratio of the return to the risk. Always use the same rate when you compare two investments.
Using the result
Compare two funds over the same period and with the same risk-free rate. The one with the higher Sharpe ratio gave more return for each unit of volatility. A fund with a lower return but a lower volatility may still win. Combine the ratio with other measures, such as the maximum drawdown, before you decide.
Comparing two funds
Fund A returned 12 percent with a standard deviation of 10 percent, and fund B returned 10 percent with a standard deviation of 5 percent, when the risk-free rate was 3 percent. Their Sharpe ratios are 0.9 and 1.4, so fund B gave more return for each unit of risk, even though its return was lower. This is the idea behind the ratio: it rewards a smoother ride.
Annualising
Monthly ratios are smaller than annual ones. A monthly ratio of 0.3 corresponds to an annual ratio of about 1.04, using the square root of 12. This is a convention that assumes returns are independent from month to month, which is not always true. When you compare funds, use the same method for each.
Checking your inputs
Enter percentages as plain numbers, so that 12 percent is 12 and not 0.12. If you paste a series of returns, make sure all of them are in the same unit, and that the risk-free rate per period is in the same unit as the returns. The most common error is to enter an annual risk-free rate for monthly returns.
Common mistakes
- Comparing ratios over different periods. Use the same period.
- Forgetting the risk-free rate. Subtract it from the return.
- Mixing annual and monthly figures. Keep to one frequency or annualise.
- Relying on a short series. The t-statistic grows with the length.
What next
Use this often? Add Sharpe Ratio to your Home screen.
Frequently asked questions
What is a Sharpe ratio calculator?
A tool that gives the excess return of an investment per unit of risk.
What is the Sharpe ratio formula?
S = (R_p − R_f) ÷ σ_p: the return less the risk-free rate, divided by the standard deviation.
What is a good Sharpe ratio?
Higher is better, but the page calls fixed thresholds such as 1, 2 and 3 senseless, since the ratio depends on the period.
How do I annualise the ratio?
A common convention multiplies the monthly ratio by the square root of 12.
What are the limits of the Sharpe ratio?
It assumes roughly normal returns, can be flattered by smoothed returns and needs long samples.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.