Risk ManagementIntermediate

Ulcer IndexUI

The Ulcer Index measures downside risk by looking at how deep and how long prices stay below their recent high. It squares the percentage drawdowns, averages them and takes the square root, so long, deep declines score far higher than brief dips.

Standard deviation treats a surge in price as risk, which no investor actually minds. The Ulcer Index looks only at what hurts: falling below a previous high and staying there. Its name comes from the stress those drawdowns cause. This entry explains how it is calculated, how to read it and how it compares with standard deviation.

Category
Risk Management
Reading time
3 min
Also called
Ulcer Index indicator, Martin ratio input
Updated

The Ulcer Index in plain words

Developed by Peter Martin and Byron McCann in 1987, the Ulcer Index is a volatility indicator focused on downside risk.1

It is the square root of the average of squared percentage drawdowns from the recent high, so deeper and longer drawdowns raise it.1

Standard deviation, by contrast, measures dispersion around an average in both directions.2

How the Ulcer Index is calculated, step by step

  1. Choose a period

    14 periods is the default.

  2. Track the highest close

    Over the look-back window.

  3. Percentage drawdown

    (Close − highest close) ÷ highest close × 100. See Drawdown.

  4. Square each drawdown

    Big drops weigh much more.

  5. Average the squares

    Over the period.

  6. Take the square root

    The result is the Ulcer Index.

Worked examples

Example 1 — No drawdowns

UI = 0

A fund closes higher every day for 14 days.

Example 1 — No drawdowns — calculation
DrawdownsAll 0%
Ulcer Index0

The index is zero when prices close higher every period.1

Example 2 — Simple calculation

UI ≈ 2.45

Four periods with drawdowns of 0%, −2%, −4%, −2%.

Example 2 — Simple calculation — calculation
Squares0 + 4 + 16 + 4 = 24
Average24 ÷ 4 = 6
Ulcer Index√6 ≈ 2.45

Technically it is the square root of the mean of squared percentage drawdowns.1

Example 3 — Depth matters

Equal risk scores

Fund A has four −3% drawdowns; fund B has three 0% periods and one −6%.

Example 3 — Depth matters — calculation
Fund A√((9 × 4) ÷ 4) = 3
Fund B√(36 ÷ 4) = 3

Squaring penalises large drawdowns more: one −6% dip counts as much as four −3% ones.1

Ulcer Index vs standard deviation

AspectUlcer IndexStandard deviation
CountsOnly declines from highsAll swings
DurationLong drawdowns score higherIgnored
Upside movesNot penalisedPenalised
See alsoMartin ratioStandard Deviation

How investors use the Ulcer Index

  • Comparing funds

    Choosing lower drawdown risk. See Mutual Fund.

  • Risk-adjusted returns

    Dividing excess return by UI gives the Martin ratio. See Sharpe Ratio.

  • Strategy evaluation

    Checking how painful a backtest's declines were. See Backtesting.

  • Weekly analysis

    Martin notes it works well with weekly data.1

Advantages and disadvantages

Advantages

  • Focuses on real downside pain.
  • Captures both depth and duration.
  • Not distorted by upside swings.

Disadvantages

  • Less familiar than standard deviation.
  • Depends on the look-back period.
  • Says nothing about upside potential.

Going deeper

Read as far as you need. Each level builds on the one before it.

Why it was created

Beginner

Mutual funds aim to grow in value, so the main risk investors feel is the drawdown; the Ulcer Index measures how much of that they may have to stomach.1

Default setting

Intermediate

With the default 14 periods, the Ulcer Index reflects the expected percentage drawdown over that window.1

Superior to standard deviation?

Advanced

Many consider it a better risk measure than standard deviation because it ignores upside volatility.1 It still uses only past data. See Drawdown Duration.

Common mistakes

  1. Comparing different periods

    Use the same look-back for every fund.

  2. Ignoring returns

    Low risk with low return may not help.

  3. Using too little data

    Short windows miss bigger drawdowns.

  4. Reading it as a forecast

    It describes past drawdowns.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1Drawdowns: 0%, −3%, −4%, 0%. What is the Ulcer Index?
Q2Which moves does the Ulcer Index ignore?

Key points to remember

  1. The Ulcer Index measures downside risk only.
  2. It uses percentage drawdowns from the recent high.
  3. Squaring makes deep drawdowns count more.
  4. Longer drawdowns raise it too.
  5. It is often used to compare funds.

Frequently asked questions

What is a good Ulcer Index?

Lower is better; compare it with similar funds over the same period.

Why is it called the Ulcer Index?

Because deep, long drawdowns are what give investors ulcers.

What is the Martin ratio?

Excess return divided by the Ulcer Index, a drawdown-based version of the Sharpe ratio.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. StockCharts ChartSchool. Ulcer Index (opens in a new tab) Checked .
  2. StockCharts ChartSchool. Standard Deviation (Volatility) (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.