Downside risk calculator
Sortino Ratio Calculator
This Sortino ratio calculator turns a list of periodic returns into an annualized Sortino ratio, with downside deviation measured below a target return you choose. It shows the Sharpe ratio beside it, so you can see how much of the volatility came from losses and how much from gains.
Free to use. No account or sign-up needed.
Your returns
One return per row, in any order. Leave a row blank to skip it. Up to 60 periods.
Sets the annualizing factor, the square root of the periods in a year.
Your minimum acceptable return. Returns below it count as downside. A 0% target counts only losses.
Used by the Sharpe ratio, often a T-bill yield.
Results
Across 12 monthly returns, the annualized Sortino ratio is 1.17 against a 4% yearly target, with 4 of 12 months below it. The Sharpe ratio is 0.73 with a 4% risk-free rate.
How the Sortino ratio works
The Sortino ratio measures how much return a series earned above a target for each unit of downside risk. It is the average return minus the target, divided by downside deviation, which measures how far returns fell below the target. Swings above the target do not count as risk, and that is the main way it differs from the Sharpe ratio.
Enter one return per row, every row for the same length of period: a day, a week, a month, a quarter or a year. The calculator finds the ratio per period, then annualizes it by the square root of the periods in a year, so ratios from daily and monthly data sit on the same yearly scale.
- Target per period = yearly target / periods in a year
- Downside deviation = square root of (sum of squared shortfalls below the target / number of periods)
- Sortino ratio = (average return - target per period) / downside deviation x square root of periods in a year
- Sharpe ratio = (average return - risk-free rate per period) / standard deviation x square root of periods in a year
A worked example
Say a fund returned 2.1%, -1.4%, 3.2%, 0.8%, -2.6%, 1.9%, 4.1%, -0.7%, 1.2%, -3.1%, 2.8% and 1.5% over 12 months. The average is 0.82% a month. A 4% yearly target is 0.33% a month, and 4 of the 12 months fell short of it: -1.4%, -2.6%, -0.7% and -3.1%.
Downside deviation squares each shortfall below 0.33%, adds the squares, divides by all 12 months and takes the square root: 1.43% a month. The average beats the target by 0.48% a month, so the monthly Sortino ratio is 0.34. Multiplying by the square root of 12, about 3.46, gives an annualized Sortino ratio of 1.17.
The Sharpe ratio divides the same 0.48% monthly edge over a 4% risk-free rate by the standard deviation of all 12 returns, 2.30% a month, for an annualized Sharpe ratio of 0.73. The Sortino ratio is higher because strong months such as 4.1% raise standard deviation but not downside deviation.
Sortino vs Sharpe ratio
Both ratios divide an excess return by a measure of risk. The Sharpe ratio uses standard deviation, which grows with every swing up or down, and measures the excess over the risk-free rate. The Sortino ratio uses downside deviation, which grows only when returns fall below the target you set, and measures the excess over that target.
That is why the two can rank the same funds differently. Returns with a few large gains and small, rare losses score better on the Sortino ratio, because the gains add to standard deviation but not to downside deviation. Returns that swing evenly both ways land closer together on the two ratios, so comparing the pair shows whether the volatility came mostly from gains or from losses.
Use the same target, risk-free rate, period length and stretch of time when you compare two funds or portfolios. A ratio from 12 months of data says less than one from 5 years, and either can move a lot when one bad month enters or leaves the window.
Good Sortino ratios
There is no fixed scale, but as a rule of thumb an annualized Sortino ratio above 1 is often read as decent, above 2 as strong and above 3 as rare. A ratio below 0 means the average return was under the target. Sharpe ratios usually run lower on the same returns, so compare Sortino with Sortino and Sharpe with Sharpe.
Short histories make every ratio noisy. With few periods below the target, downside deviation rests on a handful of numbers and the Sortino ratio can look very high. When no period at all falls below the target the ratio is not defined, and the calculator says so instead of showing a huge number. A high ratio describes the stretch you entered and says nothing certain about the next one.
Where returns come from
Use total returns for each period, with dividends counted, from a broker statement, a fund fact sheet or your own records. A monthly return is the change in value over the month, plus any dividends paid, divided by the value at the start of the month. Deposits and withdrawals are not returns, so leave them out or use the time-weighted returns your broker reports.
Every return must cover the same length of period. Mixing monthly and quarterly returns, or skipping periods, changes both ratios. Order does not matter for either ratio, so the rows can run oldest first or newest first.
What the calculator assumes
- Returns are simple changes per period, entered in %, and averaged arithmetically.
- The yearly target and risk-free rate are divided by the periods in a year to get rates per period.
- Downside deviation divides by every period, including those above the target, as Sortino and Price did. Some sources divide only by the periods below the target, which gives a larger downside deviation and a lower ratio.
- Standard deviation is the sample figure, dividing by the number of periods minus 1, like the STDEV.S spreadsheet function.
- Ratios are annualized by the square root of 252 trading days, 52 weeks, 12 months, 4 quarters or 1 year.
- Past returns are history and say nothing certain about future returns. The numbers you enter can contain errors, and nothing here is investment advice.
Sortino ratio calculator FAQ
How do you calculate the Sortino ratio?
Subtract the target return from the average return and divide by downside deviation. Monthly returns averaging 0.82% against a 0.33% monthly target, with 1.43% downside deviation, give a Sortino ratio of 0.34 a month, or 1.17 annualized.
What is a good Sortino ratio?
As a rule of thumb, an annualized Sortino ratio above 1 is often read as decent, above 2 as strong and below 0 as an average return under the target. It describes only the period you enter, and it moves a lot with short histories.
What is the difference between the Sortino and Sharpe ratio?
The Sharpe ratio divides the return above the risk-free rate by standard deviation, which counts every swing up or down. The Sortino ratio divides the return above a target by downside deviation, which counts only returns below the target.
How do you calculate downside deviation?
For each period below the target, square the shortfall. Add the squares, divide by the total number of periods, including those above the target, and take the square root. Some sources divide by the losing periods only, which gives a larger number.
Why is my Sortino ratio higher than my Sharpe ratio?
Gains above the target raise standard deviation but not downside deviation, so returns with big up periods get a higher Sortino ratio. In the example, 12 monthly returns give a Sortino ratio of 1.17 and a Sharpe ratio of 0.73 with the same 4% hurdle.
How do you annualize the Sortino ratio?
Multiply the ratio per period by the square root of the periods in a year: about 3.46 for monthly returns, 7.21 for weekly, 15.87 for daily (252 trading days) and 2 for quarterly. The calculator does this from the period you pick.
What target return should I use for the Sortino ratio?
Common choices are 0%, the risk-free rate or the return a plan needs. A higher target counts more periods as shortfalls, so the Sortino ratio falls. Use the same target when you compare two funds.
Is this Sortino ratio calculator free?
Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Backtester, which shows the Sharpe and Sortino ratios of a backtested portfolio.
Backtest a portfolio and see its Sharpe and Sortino ratios in the Backtester with a free GNG account.
Sign Up FreeThis calculator is for education and is not investment advice. Results depend only on the returns and rates you enter, which can contain errors. Past returns are history and are not a forecast. Read our disclosures.