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 scores risk by both the depth and the duration of drawdowns, taking the root mean square of an equity curve's declines from prior peaks. Lower is better. Unlike maximum drawdown, it penalises long underwater stretches, not just the single deepest fall, matching how prolonged losses actually feel.

Definition: Ulcer Index

Ulcer Index is a drawdown-based risk measure equal to the root mean square of an equity curve's percentage declines from its prior peaks, penalising deeper and longer drawdowns more heavily than shallow ones.

Key takeaways: Ulcer Index

  • 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

Ulcer Index at a glance

Ulcer Index — key facts at a glance, Indian backtesting context.
FamilyRisk metric
Formula√(mean(Dₜ²)), Dₜ = drawdown %
MeasuresDepth and duration of drawdowns together
DirectionLower is better
Versus max drawdownPenalises long drawdowns, not just the deepest
Blind spotLess intuitive; sensitive to sampling frequency

Ulcer Index 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.

What Ulcer Index is for

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.

Ulcer Index — 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.

Worked example: Ulcer Index

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.

Ulcer index vs Maximum drawdown vs Standard deviation

Ulcer index vs Maximum drawdown vs Standard deviation — Ulcer Index, summarised for Indian F&O context.
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

Advantages of Ulcer Index

  • 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 of Ulcer Index

  • 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 Ulcer Index 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

How professionals treat Ulcer Index

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.

Common misconceptions about Ulcer Index

Misconception: The ulcer index can predict future drawdowns.

Reality: 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.

Common mistakes with Ulcer Index

  • 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

Ulcer Index: 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.

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.

Sources & references

  • Martin, P. G., & McCann, B. B. (1989). The Investor's Guide to Fidelity Funds. John Wiley & Sons.
  • Bacon, C. R. (2008). Practical Portfolio Performance Measurement and Attribution (2nd ed.). John Wiley & Sons.

Published 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.