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
| Aspect | Ulcer index | Maximum drawdown | Standard deviation |
|---|---|---|---|
| Captures duration | Yes | No | No |
| Captures depth | Yes, weighted by squaring | Yes, single worst | No, symmetric spread |
| Penalises upside | No | No | Yes |
| Rests on one episode | No, integrates the curve | Yes | No |
| Paired ratio | Martin ratio | Calmar ratio | Sharpe 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?
How is the ulcer index different from maximum drawdown?
Why does the ulcer index square the drawdowns?
What is the Martin ratio?
Is a lower ulcer index better?
How is the ulcer index different from standard deviation?
Does the ulcer index depend on data frequency?
Is the ulcer index more stable than maximum drawdown?
Can the ulcer index predict future drawdowns?
How is the ulcer index different from average drawdown?
Why is it called the ulcer index?
Should the ulcer index be used alone?
How does the ulcer index treat a curve at new highs?
When should I prefer the ulcer index over Calmar?
Voice search & related questions
Natural-language questions people ask about Ulcer Index.
What is the ulcer index in simple terms?
How is it different from maximum drawdown?
Why does it square the drawdowns?
Is a lower ulcer index better?
What is the Martin ratio?
Does the ulcer index predict future losses?
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.