Ulcer Index
The Ulcer Index is a measure of downside risk equal to the square root of the mean of squared percentage drawdowns, capturing both the depth and the duration of declines below the high-water mark in a single number.
Quick answer: The Ulcer Index is a measure of downside risk equal to the square root of the mean of squared percentage drawdowns, capturing both the depth and the duration of declines below the high-water mark in a single number.
In simple words
The Ulcer Index measures how much stress an equity curve inflicts by looking at how deep the drawdowns are and how long they last. It takes the drawdown at every point, squares it so that deep falls count far more than shallow ones, averages those, and takes the square root. A higher Ulcer Index means a more painful, gut-wrenching ride, hence the name. Unlike maximum drawdown, which records only the single worst point, it rewards a curve that spends little time and little depth underwater.
Purpose
The Ulcer Index exists to capture the full experience of being underwater, depth and duration together, in one figure, because maximum drawdown ignores how long the pain lasted and standard deviation ignores that only downside hurts.
Visual explanation
Ulcer Index
The full underwater area of an equity curve, deeper and longer drawdowns contributing disproportionately to the Ulcer Index.
Professional explanation
What the Ulcer Index measures
The Ulcer Index, devised by Peter Martin, is the root mean square of the drawdown series: at every observation you compute the percentage decline from the prior peak, square it, average those squared values over the whole period including the zeros when the account is at a new high, and take the square root. Squaring is the key design choice, because it makes deep drawdowns contribute disproportionately more than shallow ones, so a curve with one 30 percent drawdown scores far worse than one with several 10 percent drawdowns of the same total. Because every observation is included, a curve that spends long stretches underwater accumulates a higher index even if no single drawdown is extreme. The result is a single number that rises with both the depth and the persistence of declines.
Why depth and duration together matter
Maximum drawdown captures depth at one instant and average drawdown captures typical depth, but neither fully captures duration, how long the account stayed below its peak. A shallow drawdown that persists for two years can be more corrosive to a trader's discipline and to compounding than a deep drawdown that recovers in a month. The Ulcer Index folds duration in by averaging over every period underwater, so prolonged mediocrity is penalised, not just acute crashes. This makes it a truer proxy for the lived stress of holding a strategy, which is why it is named for the physical toll of anxiety.
The Martin ratio: return per unit of ulcer
Just as Sharpe divides excess return by standard deviation and Calmar divides it by maximum drawdown, the Ulcer Index has its own risk-adjusted companion, the Martin ratio (or Ulcer Performance Index), which divides excess return by the Ulcer Index. This rewards strategies that earn their return while keeping the equity curve close to its high-water mark for as much of the time as possible. Because the denominator penalises both deep and prolonged drawdowns, the Martin ratio favours smooth, quickly-recovering equity curves more strongly than Calmar, which sees only the single worst point. It is a natural complement when the concern is the sustained experience of holding a strategy rather than a one-off worst case.
The blind spot: still a squared-deviation measure of observed history
The Ulcer Index improves on maximum drawdown by adding duration and on average drawdown by weighting depth more heavily, but it shares the family blind spot: it describes only the drawdowns that actually occurred in the sample. It cannot foresee a deeper future drawdown, and like all measures built on the observed path it is fragile if the window excludes a crisis. It is also sensitive to observation frequency, since more frequent sampling captures interim dips that lower-frequency data smooth away, and its squaring, while penalising depth, still assumes the historical path is representative. It is a richer description of past pain, not a forecast of future tail risk.
How it is used in practice
The Ulcer Index is favoured by evaluators who care about the sustained comfort of an equity curve, such as those assessing strategies meant to be held for long periods, and by risk teams that want a single figure sensitive to prolonged underwater stretches. It is reported alongside maximum drawdown and Calmar, since it answers a different question, how much and how long, rather than how deep at worst. Practitioners compute it on net equity, fix the observation frequency when comparing strategies, and use the Martin ratio to rank strategies on return per unit of sustained drawdown stress, treating it as one lens among several rather than a standalone verdict.
Formula
Ulcer Index = √( (D1² + D2² + ... + Dn²) ÷ n )
Di = the percentage drawdown from the prior peak at observation i, i.e. (equity_i − running peak_i) ÷ running peak_i as a percentage, which is zero whenever equity is at a new high; n = the total number of observations over the period; the drawdowns are squared, averaged over all n observations (including the zeros), and the square root is taken. Squaring makes deep drawdowns count disproportionately, and including every observation makes prolonged underwater periods raise the index. It is sensitive to the observation frequency.
Ulcer Index vs Maximum drawdown
| Aspect | Ulcer Index | Maximum drawdown |
|---|---|---|
| Captures depth | Yes, weighted by squaring | Yes, the single deepest point |
| Captures duration | Yes, averages over all underwater periods | No, ignores how long recovery took |
| Driven by | The whole drawdown path | One worst episode |
| Companion ratio | Martin ratio (return ÷ Ulcer Index) | Calmar ratio (CAGR ÷ max drawdown) |
| Shared blind spot | Describes only observed history | Describes only observed history |
Practical example
Illustrative example (Indian market)
Consider two Nifty strategies on ₹5,00,000 observed daily over a year. Strategy A spends most of the year near its highs but has one sharp 20 percent drawdown that recovers in a month; Strategy B never falls more than 10 percent but drifts underwater for eight months. Their maximum drawdowns are 20 percent and 10 percent, so maximum drawdown flatters B. But the Ulcer Index, by squaring and averaging over every day underwater, may score them closer or even rate B worse, because B's prolonged 8 to 10 percent drawdown accumulates many large squared terms while A's deep dip is brief. If B's daily drawdowns averaged around 8 percent for a third of the year and near zero otherwise, its root-mean-square could be roughly √((0.08² × 84 + 0 × 168) ÷ 252) ≈ 4.6 percent, capturing the sustained stress that its smaller maximum drawdown concealed.
A range-bound Nifty strategy that sits 5 to 8 percent underwater for months during a sideways market can post a modest maximum drawdown yet a high Ulcer Index, correctly flagging the grinding discomfort of a long underwater stretch that a single worst-point number would miss entirely.
Advantages
- Captures both depth and duration of drawdowns in one number, unlike maximum drawdown
- Squaring penalises deep drawdowns disproportionately, matching how traders fear them
- Includes every underwater period, so prolonged mediocrity is not ignored
- Pairs with the Martin ratio to measure return per unit of sustained drawdown stress
- A truer proxy than maximum drawdown for the lived experience of holding a strategy
Limitations
- Blind spot: it describes only the drawdowns that occurred in the sample and cannot foresee a deeper future one
- Fragile if the observation window excludes a crisis, like all path-based measures
- Sensitive to observation frequency, so daily and weekly figures are not comparable
- Less intuitive than maximum drawdown and less widely reported
- Still assumes the historical path is representative of future risk
Why it matters in practice
- It exposes prolonged underwater stretches that maximum drawdown alone hides
- Via the Martin ratio it rewards equity curves that stay near their highs
Common mistakes
- Comparing Ulcer Index values computed at different observation frequencies
- Treating the Ulcer Index as a forecast rather than a description of past pain
- Ignoring it because maximum drawdown looked small, missing a long underwater stretch
- Computing it on gross equity so costs that deepen drawdowns are excluded
- Trusting a low Ulcer Index from a window that avoided a crisis
- Using it in isolation without maximum drawdown to bound the worst case
Professional usage
Risk teams that care about the sustained comfort of an equity curve, particularly for strategies meant to be held for long horizons, use the Ulcer Index to catch prolonged underwater stretches that maximum drawdown misses, and they rank strategies by the Martin ratio to reward return earned with minimal sustained stress. They compute it on net equity at a fixed observation frequency, hold that frequency constant when comparing strategies, and read it beside maximum drawdown so that the worst-case bound is not lost. As with every path-based measure, they treat it as a description of observed history to be stress-tested, not a forecast of the tail.
Key takeaways
- The Ulcer Index is the root mean square of percentage drawdowns, capturing depth and duration
- Squaring makes deep drawdowns count far more than shallow ones
- Including every underwater observation penalises prolonged, not just deep, declines
- The Martin ratio divides excess return by the Ulcer Index for a risk-adjusted view
- Its blind spot is that it describes only observed history and cannot foresee a deeper future drawdown
Frequently asked questions
What is the Ulcer Index?
How is the Ulcer Index calculated?
How is the Ulcer Index different from maximum drawdown?
Why does the Ulcer Index square the drawdowns?
What is the Martin ratio?
What is the blind spot of the Ulcer Index?
How does the Ulcer Index compare to average drawdown?
Is a lower Ulcer Index always better?
Does observation frequency affect the Ulcer Index?
When should I use the Ulcer Index instead of maximum drawdown?
Can the Ulcer Index be zero?
Does the Ulcer Index capture the tail risk of a future crash?
Should the Ulcer Index use net or gross equity?
Why is the Ulcer Index named after ulcers?
Voice search & related questions
Natural-language questions people ask about Ulcer Index.
What is the Ulcer Index?
How is it different from maximum drawdown?
Why does it square the drawdowns?
What is the Martin ratio?
Is a lower Ulcer Index better?
Does the Ulcer Index predict crashes?
Sources & references
Last reviewed 12 July 2026. Educational content only — not investment advice. Markets and rules change; verify current conventions with SEBI, NSE/BSE and your broker.