In one line. One number for how deep and how long the falls below the high were. Long, deep slumps push it up; a run of new highs keeps it at 0. Lower means a calmer ride.

Ulcer index, explained

For each week, measure the drawdown, the percentage below the running high, then square it, average the squares over all weeks and take the square root. Squaring does two things: a week 10 percent down counts four times as much as one 5 percent down, and weeks at a new high contribute zero. So both the depth and the number of weeks under water raise the index.

Because it is built on drawdown and not on the spread of returns, it ignores upward volatility, which standard deviation counts. A portfolio that leaps up in big steps and never falls has a high volatility and an ulcer index of zero. It is read as a measure of how stressful holding was, and some ratios divide return by it. Return over ulcer index, sometimes called the Martin ratio, is its Sharpe style relative.

The reading depends on the period: long histories dilute a few bad months, and short ones magnify them. It does not say when the fall happened or whether a holder could have acted on it. Its squared form also makes it sensitive to a single deep episode, which can dominate years of mild dips. It sits next to the pain index, which is the unsquared average and so gentler on deep falls.

The formula

Ulcer index = square root of the average of (drawdown in percent)^2 over every week

A worked example

Illustration: five weekly drawdowns are 0, -2, -4, -2 and 0 percent. The squares are 0, 4, 16, 4 and 0, which add up to 24. The mean is 24 / 5 = 4.8 and the square root is 2.19, so the ulcer index is about 2.2. For the same weeks the pain index, the plain average of the sizes, is (0 + 2 + 4 + 2 + 0) / 5 = 1.6. The ulcer index is higher because squaring gives the 4 percent week more weight than the two 2 percent weeks together.

Common misreadings

  • The ulcer index is the maximum drawdown: it averages every week's distance below the high, not just the worst.
  • A high ulcer index means a high return: it measures the discomfort of falls, and returns are a separate matter.

In the RupeeCase app

Strategy page and portfolio page, Risk tab, Risk figures card, and a Marketplace table column. Shown in Advanced, or pin it to Basic.

How the app works it out. Square root of the mean of the squared drawdown in percent, over every week of the period.

Watch: Advanced risk figures, Drawdown shape.