Risk metricAdvanced

Ulcer Index

The ulcer index is a drawdown-based risk measure equal to the square root of the mean of the squared percentage drawdowns at every point in time, capturing both the depth and the duration of declines and penalising deep, prolonged underwater periods most heavily.

Quick answer: The ulcer index is a drawdown-based risk measure equal to the square root of the mean of the squared percentage drawdowns at every point in time, capturing both the depth and the duration of declines and penalising deep, prolonged underwater periods most heavily.

In simple words

The ulcer index measures how much and how long an equity curve stays below its previous highs, named for the stomach-churning stress of a lingering drawdown. Because it squares each drawdown before averaging, deep and long declines hurt the score far more than shallow, brief ones. A low ulcer index means the strategy spent little time far underwater; a high one means prolonged, painful drawdowns that test a trader's nerve.

Purpose

The ulcer index exists to quantify the sustained pain of being underwater, combining drawdown depth and duration into one number in a way that single-point maximum drawdown and symmetric volatility both miss.

Professional explanation

Depth and duration in a single number

Most risk metrics capture depth or spread but not duration. The ulcer index is distinctive because squaring the drawdown at every time point and averaging over the whole series rewards curves that recover quickly and punishes those that languish underwater. A strategy that falls 20 percent and recovers in a month scores far better than one that falls 20 percent and stays down for a year, even though their maximum drawdowns are identical. This makes the ulcer index a measure of the integrated, lived experience of a drawdown rather than its peak alone.

Why root mean square rather than a simple average

The ulcer index uses the quadratic mean (root mean square) of drawdowns, not their arithmetic mean. Squaring gives disproportionate weight to large drawdowns, so a single deep decline contributes far more than several shallow ones of the same total. This is deliberate: prolonged deep drawdowns are what actually cause investors to abandon strategies, so weighting them more heavily aligns the metric with real behavioural risk. It sits between the average drawdown, which treats all drawdowns linearly, and the maximum drawdown, which looks only at the single worst point.

The Martin ratio, its risk-adjusted partner

The ulcer index underlies the Martin ratio (sometimes called the ulcer performance index), which divides excess return by the ulcer index in the same spirit that the Sharpe ratio divides by standard deviation. The Martin ratio therefore rewards return per unit of underwater pain rather than per unit of total volatility, making it attractive for investors who do not mind upside variability and care only about the depth and length of losses. Like Sharpe, it is only as reliable as the sample it is estimated from.

Sensitivity to frequency, window and data

The ulcer index depends on the observation frequency and the length of the window. Computed on daily data it captures short underwater spells that monthly data would smooth away, so ulcer indices are only comparable when measured at the same frequency over comparable periods. Like all drawdown measures it is influenced by whether the window contained a crisis, though because it integrates over the whole curve rather than resting on one extreme point, it is somewhat more stable than the maximum drawdown. It still cannot see a catastrophic drawdown the sample never experienced.

Interpretation and its limits

A lower ulcer index is better, but its absolute value has no universal scale and is meaningful mainly for comparison between strategies measured identically. It captures the pain of realised drawdowns but shares the fundamental blind spot of all backward-looking risk measures: it describes the underwater history the data contained and cannot anticipate a deeper or longer drawdown the future may deliver. It also says nothing about return, so it must be paired with a return or risk-adjusted measure, typically the Martin ratio, to be actionable.

Formula

Ulcer index = √( mean( D_t² ) ) , where D_t = (Peak_t − Equity_t) ÷ Peak_t × 100

D_t = the percentage drawdown at time t, equal to the percent below the running peak (high-water mark) Peak_t given the equity Equity_t; it is zero whenever equity is at a new high. The ulcer index is the square root of the mean of the squared D_t over all time points. Squaring weights deep, prolonged drawdowns most heavily. It is frequency- and window-dependent and describes only realised drawdowns.

Ulcer index vs Maximum drawdown vs Standard deviation

AspectUlcer indexMaximum drawdownStandard deviation
Captures durationYesNoNo
Captures depthYes, weighted by squaringYes, single worstNo, symmetric spread
Penalises upsideNoNoYes
Rests on one episodeNo, integrates the curveYesNo
Paired ratioMartin ratioCalmar ratioSharpe ratio

Practical example

Illustrative example (Indian market)

Consider a Nifty strategy sampled monthly whose percentage drawdowns over six months were 0, 5, 10, 8, 4 and 0 percent. Squaring gives 0, 25, 100, 64, 16 and 0, which sum to 205; dividing by 6 gives a mean of 34.17, and the square root is about 5.85, so the ulcer index is roughly 5.85. A second strategy with the same 10 percent maximum drawdown but which spent only one month underwater would have a much smaller mean of squared drawdowns and hence a lower ulcer index, correctly reflecting that it inflicted less sustained pain despite the identical worst point.

Two NSE strategies might both show a 25 percent maximum drawdown during a market correction, but if one clawed back to new highs within two months while the other stayed underwater for over a year, the ulcer index would rank the quick-recovering one as far less punishing, capturing the prolonged stress that a single maximum-drawdown figure treats as equivalent.

Advantages

  • Captures both depth and duration of drawdowns in one number
  • Squaring penalises deep, prolonged declines that drive abandonment
  • Ignores upside volatility, unlike standard deviation
  • More stable than maximum drawdown, integrating the whole curve
  • Underlies the Martin ratio for return per unit of underwater pain

Limitations

  • Its blind spot: it describes only realised drawdowns and cannot foresee a deeper future one
  • No universal scale; meaningful mainly for like-for-like comparison
  • Frequency- and window-dependent, so comparisons must match both
  • Says nothing about return on its own
  • Still influenced by whether the sample contained a crisis
  • Less intuitive and less widely reported than maximum drawdown

Why it matters in practice

  • It is the risk measure most aligned with the sustained stress of being underwater
  • Through the Martin ratio it offers a drawdown-aware alternative to Sharpe

Common mistakes

  • Comparing ulcer indices computed at different frequencies or over different windows
  • Reading the absolute value as if it had a universal scale
  • Treating it as return-aware when it measures only drawdown
  • Assuming it captures a future drawdown worse than the sample contained
  • Confusing it with a simple average drawdown, ignoring the squaring
  • Using it alone without the Martin ratio or another return measure

Professional usage

Drawdown-averse allocators favour the ulcer index and its Martin ratio because they penalise exactly what erodes investor patience: deep and lingering underwater periods, not harmless upside variability. They compute it at a consistent frequency, compare it only across strategies measured identically, and pair it with the Martin ratio so that return per unit of sustained pain drives the decision. They remain aware that, like every backward-looking risk measure, it reflects the drawdown history the sample happened to contain and cannot certify the future will not be worse.

Key takeaways

  • The ulcer index is the root mean square of an equity curve's percentage drawdowns
  • It captures both depth and duration, penalising prolonged deep declines most
  • Squaring weights large drawdowns far more than shallow ones
  • It underlies the Martin ratio, a drawdown-aware analogue of Sharpe
  • It is frequency-dependent and, like all such measures, blind to a worse future drawdown

Frequently asked questions

What is the ulcer index?
The ulcer index is a risk measure equal to the square root of the mean of the squared percentage drawdowns at every point in an equity curve. It captures both the depth and the duration of declines, penalising deep, prolonged underwater periods most heavily.
How is the ulcer index different from maximum drawdown?
Maximum drawdown reports only the single deepest fall, while the ulcer index integrates every drawdown over the whole curve, so it also captures how long the strategy stayed underwater. Two strategies with the same maximum drawdown can have very different ulcer indices.
Why does the ulcer index square the drawdowns?
Squaring gives disproportionate weight to large drawdowns, so a single deep decline counts far more than several shallow ones. This deliberately aligns the metric with behavioural risk, since prolonged deep drawdowns are what actually make investors abandon strategies.
What is the Martin ratio?
The Martin ratio, or ulcer performance index, divides excess return by the ulcer index, much as the Sharpe ratio divides by standard deviation. It rewards return per unit of underwater pain rather than per unit of total volatility.
Is a lower ulcer index better?
Yes, a lower ulcer index means the strategy spent less time and less depth underwater. However, its absolute value has no universal scale, so it is meaningful mainly for comparing strategies measured at the same frequency over comparable periods.
How is the ulcer index different from standard deviation?
Standard deviation measures symmetric variability around the mean and penalises upside as much as downside, while the ulcer index measures only drawdowns below prior peaks. The ulcer index ignores favourable volatility entirely and adds a duration dimension that standard deviation lacks.
Does the ulcer index depend on data frequency?
Yes. Computed on daily data it captures short underwater spells that monthly data would smooth away, so two ulcer indices are only comparable when measured at the same frequency over similar windows.
Is the ulcer index more stable than maximum drawdown?
Somewhat, because it integrates the whole equity curve rather than resting on a single extreme point. It is still influenced by whether the sample contained a crisis, but it does not hinge on one worst episode the way maximum drawdown does.
Can the ulcer index predict future drawdowns?
No. Like all backward-looking risk measures it describes only the drawdown history the sample contained and cannot anticipate a deeper or longer drawdown the future may deliver. It is descriptive, not predictive.
How is the ulcer index different from average drawdown?
Average drawdown is the linear mean of drawdowns, weighting them all equally, while the ulcer index is a root mean square that weights deep drawdowns more heavily through squaring. The ulcer index therefore reacts more strongly to severe declines.
Why is it called the ulcer index?
Because it is meant to reflect the stomach-churning stress an investor feels during a deep and prolonged drawdown. The name captures that lingering, severe underwater periods are the most emotionally painful, which the squaring emphasises.
Should the ulcer index be used alone?
No. It measures only drawdown and says nothing about return, so it must be paired with a return or risk-adjusted measure, typically the Martin ratio, to inform a decision. On its own it describes pain without reward.
How does the ulcer index treat a curve at new highs?
The drawdown at any point where equity is at a new high is zero, so those points contribute nothing to the sum of squares. Time spent at or above prior peaks lowers the ulcer index, rewarding curves that make new highs often.
When should I prefer the ulcer index over Calmar?
When you care about the whole underwater experience, depth and duration, rather than just the single worst drawdown that Calmar uses. The ulcer index, via the Martin ratio, better reflects strategies that recover quickly versus those that languish.

Voice search & related questions

Natural-language questions people ask about Ulcer Index.

What is the ulcer index in simple terms?
It measures how deep and how long your account stays below its previous highs, so lingering big drawdowns score worse.
How is it different from maximum drawdown?
Maximum drawdown is just your single worst drop, while the ulcer index also counts how long you stayed underwater.
Why does it square the drawdowns?
Squaring makes deep, long drawdowns count far more than shallow ones, matching the real stress that makes people quit a strategy.
Is a lower ulcer index better?
Yes, a lower score means you spent less time and depth underwater, but only compare it between strategies measured the same way.
What is the Martin ratio?
It is like the Sharpe ratio but it divides your return by the ulcer index, so it rewards return per unit of drawdown pain.
Does the ulcer index predict future losses?
No, it only describes the drawdowns your data has already shown, so the future could still be worse.

Sources & references

    Last reviewed 11 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. Backtested results are hypothetical and trading derivatives involves substantial risk. See our Risk Disclosure and SEBI Disclaimer.