Toolstia / Sharpe ratio calculator

Sharpe ratio calculator

The Sharpe ratio shows how much return you earned for each unit of risk. Paste your returns for each period, enter the risk free rate and how many periods make a year, and get the ratio plus annualized figures.

The Sharpe ratio is the average return above the risk free rate divided by the standard deviation of returns. Annualizing multiplies by the square root of the periods in a year. The Sortino ratio only counts returns below the risk free rate as risk. Past ratios do not predict future results, and short samples are noisy.

How it works

  1. Paste the returns as percentages.
  2. Enter the yearly risk free rate and the number of periods per year.
  3. Read the Sharpe and Sortino ratios.

The formula

Sharpe ratio is the average return above the risk free rate divided by the standard deviation of returns. The sample standard deviation is used.

Annualizing

The per period ratio is multiplied by the square root of the periods in a year, for example 12 for monthly returns.

Sortino ratio

The Sortino ratio counts only returns below the risk free rate as risk, so it does not punish big gains.

Reading it

Around 1 is often seen as acceptable, 2 as very good and 3 as excellent, but short samples can mislead.

Questions

Is my data uploaded?

Everything happens in your browser, and nothing you enter is sent anywhere.

How many returns do I need?

At least 2, but 30 or more periods give a more reliable ratio.

Should I use percentages?

Yes. Enter 1.5 for a 1.5% return and -2 for a 2% loss.