Sharpe Ratio Calculator

Measure risk-adjusted return with the Sharpe and Sortino ratios, and compare two funds or portfolios on the same footing

Returns

% a year

E.g. a Treasury bill yield; also the Sortino target

Return Frequency

One return per period, separated by commas or spaces, e.g. a fund's yearly returns.

Optional: another fund or an index over the same periods. Leave empty to skip.

Sharpe ratio · Stock fund

0.24

Sortino 0.39 · 6.80% average return a year with 11.61% volatility · the comparison's Sharpe ratio is 0.26

Sortino ratio

0.39

comparison: 0.41

Average return a year

6.80%

comparison: 5.50%

Volatility

11.61%

comparison: 5.82%

Downside deviation

7.25%

comparison: 3.66%

Returns by year

The dashed line is the risk-free return per year

Loading chart…

Risk and Return

MeasureStock fundComparison
Sharpe ratio0.240.26
Sortino ratio0.390.41
Average return a year6.80%5.50%
Compound annual growth6.20%5.35%
Volatility (standard deviation)11.61%5.82%
Downside deviation7.25%3.66%
Best year22.00%13.00%
Worst year−15.00%−6.00%
Losing periods30%20%

Yearly figures from monthly, quarterly or weekly returns are scaled by the number of periods in a year (√ for volatility and the ratios).

Return per Unit of Risk

A fund that returned 10% with wild swings isn't necessarily better than one that returned 8% smoothly. The Sharpe ratio divides the return above a risk-free rate by the volatility of returns, so higher is better. The Sortino ratio counts only the downside, since investors rarely mind upside surprises. Compare ratios over the same period and return frequency.

The Formulas

Sharpe = (average return − risk-free) ÷ standard deviation

Sortino = (average return − risk-free) ÷ downside deviation

Annualized ratio = per-period ratio × √(periods a year)

Standard deviation uses the sample formula; downside deviation counts returns below the risk-free rate, averaged over all periods.

Reading the Ratios

  • •Above 1 is generally good and above 2 very good, but it depends on the period
  • •Short track records give unreliable ratios; use at least 3 to 5 years
  • •Sharpe treats big gains as risk too; Sortino doesn't
  • •Ratios from monthly returns can differ from yearly ones for the same fund
  • •A high ratio can hide rare crashes that haven't happened yet in the data