Drawdown metricAdvanced

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.

Drawdown CurveEquity0% — high-water markmax drawdowntime →

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

AspectUlcer IndexMaximum drawdown
Captures depthYes, weighted by squaringYes, the single deepest point
Captures durationYes, averages over all underwater periodsNo, ignores how long recovery took
Driven byThe whole drawdown pathOne worst episode
Companion ratioMartin ratio (return ÷ Ulcer Index)Calmar ratio (CAGR ÷ max drawdown)
Shared blind spotDescribes only observed historyDescribes 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?
The Ulcer Index is a downside-risk measure equal to the square root of the mean of squared percentage drawdowns. By squaring each drawdown and averaging over the whole period, it captures both the depth and the duration of declines below the high-water mark in a single number, with higher values meaning a more painful ride.
How is the Ulcer Index calculated?
At each observation compute the percentage drawdown from the prior peak, square it, average those squared values over all observations including the zeros at new highs, and take the square root. The squaring makes deep drawdowns dominate, and including every period makes long underwater stretches raise the index.
How is the Ulcer Index different from maximum drawdown?
Maximum drawdown records only the single deepest point and ignores how long recovery took. The Ulcer Index averages the squared drawdown over every observation, so it captures duration as well as depth, penalising a curve that stays underwater for a long time even if no single drawdown is extreme.
Why does the Ulcer Index square the drawdowns?
Squaring makes deeper drawdowns contribute disproportionately more than shallow ones, matching how traders fear large falls far more than small ones. A single 30 percent drawdown therefore scores much worse than several 10 percent drawdowns of the same total, which is the intended emphasis on depth.
What is the Martin ratio?
The Martin ratio, or Ulcer Performance Index, divides a strategy's excess return by its Ulcer Index, giving return per unit of sustained drawdown stress. It rewards strategies that stay close to their high-water mark, penalising both deep and prolonged drawdowns more thoroughly than Calmar, which sees only the worst point.
What is the blind spot of the Ulcer Index?
It describes only the drawdowns that actually occurred in the sample, so it cannot foresee a deeper future drawdown and is fragile if the window excludes a crisis. Like all path-based measures, it assumes the historical path is representative, which the future may not honour.
How does the Ulcer Index compare to average drawdown?
Both aggregate drawdown depth, but average drawdown takes a plain arithmetic mean while the Ulcer Index takes the root mean square, squaring the drawdowns first. The squaring makes the Ulcer Index penalise deep drawdowns more heavily, so it is the sharper tool when deep declines are the main concern.
Is a lower Ulcer Index always better?
A lower Ulcer Index means shallower and shorter drawdowns, which is generally better for the comfort of holding a strategy, but it must be weighed against the return earned. The Martin ratio, which relates return to the Ulcer Index, is the more complete way to judge a strategy on this axis.
Does observation frequency affect the Ulcer Index?
Yes. Measured on daily equity it captures interim dips that weekly or monthly data smooth away, so the same strategy shows a higher Ulcer Index at higher frequency. Compare Ulcer Index values only when they are computed at the same observation frequency.
When should I use the Ulcer Index instead of maximum drawdown?
Use it when the sustained experience of holding a strategy matters, especially for long-horizon strategies where a prolonged underwater stretch is as corrosive as a deep one. It complements maximum drawdown rather than replacing it, since the maximum still bounds the worst single case.
Can the Ulcer Index be zero?
In theory it is zero only if the equity curve never falls below a prior peak, that is, it makes a new high at every observation, which real strategies do not achieve. In practice any strategy with drawdowns has a positive Ulcer Index, and lower values indicate a curve that stays nearer its highs.
Does the Ulcer Index capture the tail risk of a future crash?
No. It quantifies the depth and duration of past drawdowns but cannot predict a future extreme loss, and a window that avoided a crisis will show a low Ulcer Index that understates tail risk. It should be read with maximum drawdown and tail measures such as conditional VaR.
Should the Ulcer Index use net or gross equity?
Net equity, after brokerage, STT, GST, stamp duty and slippage, because costs deepen every drawdown and prolong recovery. An Ulcer Index computed on gross equity understates the sustained pain a trader actually experienced, especially for high-turnover strategies.
Why is the Ulcer Index named after ulcers?
Because it is designed to reflect the stress and anxiety of holding a losing position, the kind of sustained worry associated with stomach ulcers. Its creator intended it as a proxy for the emotional toll of drawdowns, which is why it weights both depth and duration of time spent underwater.

Voice search & related questions

Natural-language questions people ask about Ulcer Index.

What is the Ulcer Index?
It measures how painful your equity curve is by looking at how deep your drawdowns are and how long they last. A higher number means a more stressful ride.
How is it different from maximum drawdown?
Maximum drawdown only shows your single worst fall. The Ulcer Index also counts how long you stayed underwater, so a long shallow slump raises it too.
Why does it square the drawdowns?
Squaring makes deep falls count a lot more than shallow ones, which matches how traders dread big drawdowns far more than small dips.
What is the Martin ratio?
It is your return divided by the Ulcer Index. It rewards strategies that make money while staying close to their highs and avoiding long, deep slumps.
Is a lower Ulcer Index better?
Usually yes, because it means shallower and shorter drawdowns. But you still have to weigh it against how much return the strategy earned for that comfort.
Does the Ulcer Index predict crashes?
No. It only describes the drawdowns that already happened. A calm period gives a low reading that can miss the risk of a future deep fall.

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.

    Educational content only — not investment advice. Examples use illustrative numbers and simplified models. Risk-management techniques reduce but never remove risk, and trading derivatives involves substantial risk of loss. See our Risk Disclosure and SEBI Disclaimer.