Sharpe Ratio Calculator

The Sharpe ratio measures return per unit of volatility. Take each period's return, subtract the risk-free rate for that period, then divide the average of those excess returns by their standard deviation. Multiply by the square root of periods per year to annualize. A Sharpe ratio calculator does this from a pasted list of returns.

The formula

How to use the sharpe ratio calculator

Worked examples

Four monthly returns. Returns of 1%, 2%, 3% and 4% with a 0% risk-free rate. Mean is 2.5%, sample standard deviation is 1.29%, periodic Sharpe is 1.94 and the annualized figure is 6.71. Four observations is far too few to trust, which is the point of the warning the calculator shows.

Higher return, lower Sharpe. Strategy A averages 1.0% a month with 2% volatility. Strategy B averages 1.5% a month with 6% volatility. A has an annualized Sharpe near 1.7, B near 0.9. B made more and earned it less efficiently.

Where traders get this wrong

What this calculator cannot tell you

Sharpe treats upside and downside volatility as equally bad and assumes returns are roughly symmetric. Strategies that sell options or collect small steady gains can post a high Sharpe right up to the month a large loss arrives. A series with zero volatility has no defined Sharpe ratio, and the calculator says so.

Use it with these calculators

Sources

Sharpe Ratio Calculator questions

How do you calculate the Sharpe ratio?

Average return above the risk-free rate, divided by the standard deviation of those excess returns. Annualize by multiplying by the square root of periods per year.

What is a good Sharpe ratio?

Above 1.0 is commonly called acceptable, above 2.0 strong. Be skeptical of very high numbers from short samples or backtests.

What risk-free rate should I use?

The yield on a short-term US Treasury bill over the same period as your returns.

How do you annualize a Sharpe ratio?

Multiply the periodic Sharpe by √252 for daily data, √52 for weekly or √12 for monthly.

Why does the calculator use sample standard deviation?

Your returns are a sample of what the strategy can do, not the full set. Dividing by n − 1 corrects for that and is the standard choice.

By the FullStack Alpha Editorial Team. Reviewed by Jay Rocco, Chief Editor. Educational tool, not financial advice.

The FullStack Alpha Network

Four sites, one standard. Tested tools, no paid rankings.