Skip to content
← Back to all metrics

Metrics / Sortino

Sortino Ratio

2 min read · Metric

In everyday words

How much you gained for each bad bump in the road. A nice surprise does not count against you.

An example in pounds

Two rules each end the year £60 ahead of a savings account on £1,000. Rule A's bad days swung it by about £40, so it scores 1.5. Rule B's bad days swung it by about £80, so it scores 0.75.

The short version

The growth above what cash paid, divided by the size of the bad days only.

DrawingA drawing of the idea, not a real result.
  • Bad days: counted
  • Good days: left out
Each column is one day. The Sortino ratio counts only the bad days, below the line. The Sharpe ratio counts every column, up or down.

What it is

The Sharpe ratio divides the return above cash by how much the value bounced around. It counts every bounce, up or down.

The Sortino ratio changes one thing. It counts only the days that did worse than cash. A sudden jump up is not a risk anyone minds, so Sortino leaves it out.

A worked example

Two rules each earned 6% above cash in a year. Rule A's bad days were mild. Added up the way Sortino does it, they come to 4%. 6 divided by 4 is 1.5.

Rule B's bad days were rougher. They come to 8%. 6 divided by 8 is 0.75.

It means most beside the Sharpe ratio. When good days and bad days are the same size, Sortino comes out about 1.4 times Sharpe. Higher than that means the big days were mostly good ones. Lower means they were mostly bad ones.

What it does not tell you

  • How deep or how long the worst stretch was. It measures the size of bad days, not a run of them in a row. The worst fall does that.
  • Much without the Sharpe ratio beside it. The gap between the two is where the information is.
  • The same thing everywhere. Other sources add up the bad days in a different way and get a different number from the same prices.
  • What comes next. It describes the dates tested and nothing after them.

This leaves out exactly how the bad days are added up. The exact version is below.

On a Quantis result

Sortino is shown beside the Sharpe ratio, so the two can be read together. A Sharpe of 0.9 with a Sortino near 1.3 is the even case: good and bad days of about the same size.

The exact mathsFor anyone who wants the detail. Nothing above depends on reading it.

The formula

# Shortfall below the target on every bar (0 on a bar at or above it).
# On a Quantis card the target is the risk-free rate per bar.
shortfall    = [min(r - r_f, 0) for r in returns]

# Downside deviation: divide by ALL bars, not only the losing ones
downside_dev = sqrt(sum(s ^ 2 for s in shortfall) / len(returns))

# Annualised
sortino = (mean(returns) - r_f) / downside_dev * sqrt(periods_per_year)

A bar is one day of prices, or one month on monthly data. The risk-free rate is what cash earned. Note the sum is divided by the number of all bars, not only the losing ones. Dividing by the losing bars alone gives a larger downside deviation and a lower Sortino, so a figure from another source may use a different form from this one.

How it relates to Sharpe

For a strategy with a positive Sharpe, Sortino is at least as large by construction, and the ratio between them measures how lopsided the returns are. A symmetric distribution has Sortino about 1.4 times Sharpe (the downside half of a symmetric spread is the whole spread divided by the square root of 2); a positively-skewed strategy (lots of small losses, occasional big wins) has a Sortino well above that. A negatively-skewed one (many small wins, an occasional big loss) has a Sortino barely above its Sharpe.

A Sortino of 2.0 on a positively-skewed strategy and a Sortino of 2.0 on a symmetric one are not the same result: the first is helped by the shape of its returns.

What sits beside it on a result

Quantis shows Sortino alongside Sharpe so the ratio between them is immediate. With Sharpe 0.9 and Sortino near 1.3 (about 1.4 times), the strategy is roughly symmetric and either figure says the same thing. A Sortino of 1.8 against the same Sharpe points to positive skew; one close to 0.9 points to negative skew.

Sortino counts the size of negative returns but not how long they went on. Calmar is the figure that looks at the worst fall.

Read next