← Back to blog

Ulcer Index Investing: Measure Risk by Drawdown Pain

November 16, 2026
Ulcer Index Investing: Measure Risk by Drawdown Pain

The Ulcer Index measures the risk investors actually lose sleep over: how far an investment falls below its previous high and how long it stays there. It is a downside-only number, so a portfolio that climbs fast and steadily scores near zero, while one that sinks and lingers underwater scores high. For anyone who invests toward retirement or lives off dividends, that is a more honest picture of risk than a volatility figure that treats a big up week as a danger.

Below you will find what the index is, how to calculate it step by step with a worked example, how to read the result, and where it fits next to standard deviation, the Sharpe ratio and the Ulcer Performance Index. We also explain why a rules-based portfolio that manages drawdowns on purpose is built around the same idea.

StockPilot
Make Drawdown Risk Part of Your Plan
StockPilot uses predefined investment and risk criteria to manage portfolio changes, including reducing growth exposure when market conditions are unfavorable.
Visit

TL;DR

  • The Ulcer Index is the square root of the average of squared percentage drawdowns from prior highs, so it captures both depth and duration of losses.
  • Unlike standard deviation, it ignores upside moves and does not change with the sampling period in the same way.
  • Use a long window that includes bull and bear markets, the same window for every comparison, and returns net of fees and with distributions reinvested.
  • Pair it with return through the Ulcer Performance Index (the Martin ratio) to see how much return you earned per unit of drawdown pain.
  • A strategy that limits drawdowns by rule, like ours, is exactly what this measure is designed to evaluate.

Table of Contents

What the Ulcer Index measures

Most risk statistics ask how much returns bounce around. The Ulcer Index asks a different question: how deep were the holes, and how long did you sit in them?

According to its creator Peter Martin, the index measures the depth and duration of percentage drawdowns in price from earlier highs. Martin devised it in 1987, and it was first described with Byron McCann in their 1989 book on Fidelity funds. The name is a nod to the stomach trouble a long, deep decline can cause.

A drawdown is simply the percentage an investment sits below its highest previous value. If your account peaked at $100,000 and now shows $90,000, the drawdown is 10%. It stays at 10% (or deepens) until the account climbs back above $100,000, at which point it resets to zero.

The index is technically the square root of the mean of the squared percentage drawdowns. Squaring matters: it penalizes large drawdowns proportionally more than small ones. Two 5% dips hurt far less than one 10% dip, and the math reflects that.

AAII's Wayne Thorp notes the measure is especially useful for long-only investors because it hovers near zero when prices keep setting higher highs and rises when prices slip below their recent peak. In plain terms: new highs make it quiet, extended declines make it loud.

What the Ulcer Index measures

How to calculate the Ulcer Index, step by step

You can do this in a spreadsheet in a few minutes. You need a series of closing values for your portfolio, fund or index: weekly is a good choice, which we explain below.

  1. Record the closing values for each period (for example, each Friday).
  2. Track the running peak. For each period, note the highest value reached so far.
  3. Compute the percentage drawdown. For each period: (current value minus running peak) divided by running peak, times 100. It is zero at a new high and negative otherwise.
  4. Square each drawdown. This makes every number positive and weights deep losses more heavily.
  5. Average the squares across all periods.
  6. Take the square root. The result is the Ulcer Index, expressed in percentage points.

A small worked example

The figures below are made up to show the mechanics. Imagine six weekly closes for a portfolio:

WeekValue ($)Running peak ($)Drawdown (%)Squared
110010000
210010000
395100-525
490100-10100
592100-864
610010000

The squares add up to 189. Divide by six periods to get 31.5. The square root of 31.5 is about 5.6. The Ulcer Index for this tiny series is therefore roughly 5.6.

Notice what drove it: weeks 3 through 5, when the account was below its peak. If the portfolio had recovered to $100 by week 4, the index would have been far lower, even with the same dip.

A real-data example

AAII's journal published a full calculation on one of its stock screens. Over 184 months, from January 1998 through April 2013, the sum of squared drawdowns was 47,315.82. Dividing by 184 gives 257.15, and the square root is an Ulcer Index of 16.04%. Same six steps, just a much longer series.

Which sampling interval to use

Martin's guidance is that the index stays essentially similar across a wide range of sampling intervals: weekly is robust, daily works, and quarterly or longer is discouraged because it can miss the dips between readings. If you only have monthly statements, that is workable for a rough look, but you will understate drawdowns that began and ended inside a month.

How to read an Ulcer Index value

There is no universal "good" number. The index is a comparison tool, and it is in the same units as your drawdowns. A value of 5 means that, on a root-mean-square basis, you were about 5% below your prior high. A value of 16 means a much deeper or longer stay underwater.

Three practical ways to read it:

  • Lower is calmer. Over the same period, the investment with the lower index spent less time, or less depth, below its highs.
  • It rewards recovery. A fast bounce back to a new high sharply cuts the figure, which is why it favors strategies that step aside before large declines.
  • It tells you about patience. AAII points out that risk-averse investors may avoid high-index investments because severe declines are less likely to recover in the near future. For a retiree drawing income, that waiting time is the real cost.

Here is a useful translation for a household. If your portfolio is $500,000 and the index of your strategy over a full market cycle is 10, you should expect to spend meaningful stretches 10% or more below your peak, which is $50,000 on paper. Ask whether you would hold through that, and whether your withdrawals could continue while you waited.

Ulcer Index vs. standard deviation

Standard deviation (SD) is the default risk number on most fund pages. It has three weaknesses the Ulcer Index avoids, all laid out on Martin's own page:

  1. It counts upside as risk. Both upward and downward changes add to SD, though investors associate risk only with the downside. Thorp makes the same point from an investor's side: as long-only investors, we embrace upside volatility.
  2. It ignores sequence. SD is unaffected by the order of gains and losses, so it does not recognize strings of losses that produce large drawdowns. Martin shows three hypothetical investments with identical return and identical SD that no rational investor would consider equally risky.
  3. It depends on the time period. The SD of annual returns is roughly 7.2 times the SD of weekly returns, the square root of 52 weeks per year. That invites misunderstandings when two sources quote different periods.

Martin also explains that for a market-timing strategy, SD only tells you roughly how often you were out of the market, not whether you were out at the right times. It does not reward avoiding downturns. The Ulcer Index does.

The difference can change conclusions. In AAII's study, the P/E Relative screen ranked third on the Martin ratio but 20th on the Sharpe ratio, helped by one of the smaller maximum drawdowns in the group (-36.1%). Different yardstick, different winner. If you want to go further on that comparison, our guide to Sharpe vs. Sortino walks through how each ratio treats downside.

The Ulcer Performance Index (Martin ratio)

An index of risk alone does not tell you whether the ride was worth it. The Ulcer Performance Index (UPI), also called the Martin ratio, divides excess return by the Ulcer Index: the return above a risk-free rate (such as Treasury bills) divided by the index. It is the drawdown-based cousin of the Sharpe ratio, and Martin covers it alongside the index itself.

A quick illustration with invented numbers. Say a portfolio returned 10% a year, the risk-free rate was 2%, and the Ulcer Index was 5. The UPI is (10 minus 2) divided by 5, or 1.6. A second portfolio with the same return but an index of 10 scores 0.8. You earned the same money, but the second portfolio asked you to endure twice the drawdown pain.

Two portfolios produce different UPI scores

Higher is better, and like the index itself, it only means something when two investments are measured over the same window.

How to use the Ulcer Index on a real portfolio

Martin's rules for using it properly are the part most blog posts skip. His caveat is that the measurement period must include both bull and bear markets, the same period must be used when comparing investments, and calculations should include reinvested interest, dividends and distributions and be net of recurring fees, transaction costs and trading slippage. Use outside those conditions is inappropriate and of little value.

Turn that into a checklist:

  • Choose a long window. Three calm bull-market years will flatter nearly anything. Include at least one serious decline.
  • Use the same dates for every candidate. A fund that started in 2012 and one that started in 2008 are not comparable.
  • Use total return. Dividends matter, particularly if you hold income positions. Ignoring them overstates drawdowns on dividend payers.
  • Net out costs. Fees, trading costs and slippage all deepen drawdowns in real life.
  • Use weekly data if you can. It is robust and easy to export.

The measure is most useful for strategies designed to avoid major declines, such as market timing, dynamic asset allocation and hedge funds. That is the category where standard deviation says the least.

Two cautions from the nature of the math. First, it describes the past: a low index over a window does not guarantee the next decline will be shallow. Second, it depends on the window you choose, which is why the same-dates rule matters. Use it as one lens on how a strategy has behaved, next to return, a sensible benchmark and your own time horizon. Our piece on how to choose a benchmark helps with the comparison side.

Why drawdown-aware investing suits income and retirement goals

For most of us, the real danger is not volatility. It is a large drawdown at the wrong time: just before retirement, or while taking withdrawals. A 30% fall demands a 43% gain just to get back to even, and every month spent recovering is a month of compounding lost.

That is why different investors can read the same index differently:

  • Retirees and near-retirees care about depth and duration most, since they may be selling shares for income during the dip.
  • Busy professionals care about the time and attention a drawdown demands. A deep decline usually means a stream of decisions about whether to sell.
  • Former advisory clients who go self-directed often miss the guardrails, and a drawdown measure gives them a concrete one.
  • Dividend-focused investors can see whether income positions actually cushioned the account or merely paid a yield while the price fell.

If limiting drawdowns is your main aim, our guide to reducing drawdown with rules-based methods covers seven approaches, and portfolio analytics metrics shows other numbers worth tracking alongside the Ulcer Index.

Perspective: why we build around drawdowns

We did not design our model portfolio around volatility statistics. We designed it around a simpler question: what would it take for a self-directed investor to stay invested, and stay in control, through a bad market?

The answer we arrived at is structure. Our model portfolio holds 19 positions: six income-producing positions and 13 AI-selected growth positions. The system evaluates market, fundamental, technical, sentiment and statistical data, and it issues a buy or sell alert only when its predefined investment and risk criteria call for a change. In unfavorable market conditions, it can reduce growth exposure and shift capital toward Treasury ETFs. That risk-management step exists for the same reason the Ulcer Index does: deep, long declines are what damage a plan, and avoiding them is worth more than being clever on the way up.

A drawdown-based measure also keeps everyone honest. It does not reward a strategy for noise, and it does not penalize one for gains. It simply asks how much time you spent below your highs. That is the lens we want investors to apply to any portfolio, ours included, and it is why we think rules beat hunches. If you want the full reasoning, see our guide to metric-first portfolio risk management and our look at the risk-on, risk-off approach.

David Elliot

Put the idea to work with a rules-based portfolio

Measuring drawdown pain is useful. Having a process that manages it for you is better, because the hardest part of a decline is deciding what to do while you are in it.

StockPilot Premium costs $147 per month. You mirror our transparent 19-position model portfolio in your own brokerage account, receive clear after-hours buy and sell alerts only when the criteria call for a change, and get position sizing guidance and performance analytics. We never take custody: you keep complete control of your account and every trade. You can see how it works or go straight to StockPilot Premium.

StockPilot

Common mistakes when using the Ulcer Index

Comparing different time windows. A fund measured through 2009 and one measured from 2010 are not on the same footing. Always align dates.

Using price instead of total return. For income-heavy portfolios, leaving out distributions understates how well the strategy held up.

Using quarterly or annual data. Martin discourages quarterly or longer intervals, so prefer weekly or daily.

Treating the number as a forecast. It describes what already happened. A low reading is a good sign about process, not a promise.

Reading it alone. Pair it with return, as in the UPI, and with a benchmark that fits what you own. And remember how often you trade: rebalancing too frequently adds costs that deepen drawdowns, which is why a clear rule such as the one in our 5/25 rebalancing guide helps.

FAQ

What is a good Ulcer Index?

There is no fixed threshold. Lower means the investment spent less time or depth below its prior highs. Compare candidates over the same long window, ideally weekly data that includes at least one bear market, and judge the number against what drawdown you could actually live with.

Is the Ulcer Index better than standard deviation?

For downside risk, it is more targeted. It ignores upside moves, reflects the sequence of losses and is not tied to the sampling period in the way SD is. Many investors still look at both, along with return, because each answers a different question.

Can I calculate the Ulcer Index in a spreadsheet?

Yes. Track the running peak of your closing values, compute each period's percentage drawdown, square the figures, average them and take the square root. Weekly closes are a good balance between accuracy and effort.

What is the Ulcer Performance Index?

The Ulcer Performance Index, or Martin ratio, divides a portfolio's return above the risk-free rate by its Ulcer Index. It tells you how much return you earned for each unit of drawdown pain, so a higher value is better when comparing over the same period.

Does the Ulcer Index work for dividend portfolios?

It does, as long as you use total return with dividends reinvested. Without distributions, the drawdowns of income-producing holdings look worse than they were, and the comparison is distorted.

Sources