Pain Index Calculator

Pain index11.00%
Maximum drawdown25.00%
Ulcer index (RMS drawdown)15.00%
Periods below the peak3 of 5
How this was calculated
  1. Track the running peak through the 5 values and record the drawdown at each point — the percentage below the highest value so far: 0.0%, 0.0%, 25.0%, 10.0%, 20.0%.
  2. The Pain index is the plain average of those drawdowns: (0 + 0 + 25 + 10 + 20) / 5 = 11.00% — the average depth of water the holder was under.
  3. The worst point is 25.00% below the peak and 3 of the 5 points sit below a previous peak, so the average mixes how deep the falls were with how much of the time they lasted.
  4. Its sibling the Ulcer index squares before averaging and reads 15.00% here — always at least the Pain index, and further above it the more one deep fall dominates.
  5. Peter Martin proposed the Pain index alongside the Ulcer index: use the pain figure for the typical experience of holding the asset, and the Martin ratio (excess return over the Ulcer index) for the reward per unit of it.

The Pain Index Calculator measures how much a series of values has fallen below its own earlier highs. The pain index is the simple average of a series' percentage drawdowns from its running peak, a measure proposed by Peter Martin alongside the Ulcer index. Enter your values and the calculator gives you the pain index as a single percentage. For example, the values 100, 120, 90, 108, 96 have drawdowns of 0%, 0%, 25%, 10% and 20%, and a pain index of 11.00%. A series of 200, 180, 198, 162 has drawdowns of 0%, 10%, 1% and 19%, and a pain index of 7.50%. A series that only rises has a pain index of 0.00%, because it never trades below a previous peak.

The underlying method is the accepted standard for this kind of calculation: it comes from Peter Martin's published work, where the pain index was introduced together with the Ulcer index. The two measures share the same drawdowns, and the Ulcer index (the root mean square of those drawdowns) is always at least the pain index. The gap between them shows how much one deep fall dominates the result. This page shows the formula, the step-by-step workings, worked examples and sources, so you can check every number yourself rather than trusting a black box.

Worked examples

A rise, a fall and a partial recovery

Primary result: 11.00%. Full step-by-step working is shown with the result. (5 values · 100 · 120 · 90 · 108 · 96 · 0 · 0 · 0 · 0 · 0)

Pain index11.00%
Maximum drawdown25.00%
Ulcer index (RMS drawdown)15.00%
Periods below the peak3 of 5

A deep round trip

Primary result: 7.50%. Try it with your own numbers in the calculator above. (4 values · 200 · 180 · 198 · 162 · 0 · 0 · 0 · 0 · 0 · 0)

Pain index7.50%
Maximum drawdown19.00%
Ulcer index (RMS drawdown)10.75%
Periods below the peak3 of 4

A series that never falls

Primary result: 0.00%. Every intermediate value is printed in the worked steps. (4 values · 50 · 55 · 60 · 66 · 0 · 0 · 0 · 0 · 0 · 0)

Pain index0.00%
Maximum drawdown0.00%
Ulcer index (RMS drawdown)0.00%
Periods below the peak0 of 4

What the pain index measures

The pain index takes the percentage drawdowns a series records below its running peak and averages them. A running peak is simply the highest value reached so far; each time the series sits below that high, the gap is measured as a percentage. The pain index is the simple average of those percentages across the whole period, proposed by Peter Martin alongside the Ulcer index. Because it is a plain average rather than a squared or weighted one, it reads as the average depth below the running peak — the typical underwater experience of holding the asset through the period. That is what a pain index calculator reports: one number for how far below its own high the series typically sat.

A short example makes the arithmetic concrete. For the values 100, 120, 90, 108, 96, the drawdowns are 0%, 0%, 25%, 10% and 20%. The average of those five figures is 11.00%, which is the pain index for that series. Notice that the first two values produce no drawdown at all: 100 is the starting peak, and 120 sets a new one, so neither sits below a previous high. Only the three later values contribute depth, and the 25% fall pulls the average up noticeably.

A second series shows how a milder path reads. For 200, 180, 198, 162, the drawdowns are 0%, 10%, 1% and 19%, and the pain index is 7.50%. Here the series spends more of its time close to its peak — the 1% reading barely registers — so the average depth comes out lower even though the period ends with a sizable 19% fall. The measure responds to the whole path, not just the worst moment.

The floor case is simple. A series that only rises has a pain index of 0.00%, because it never trades below a previous peak and every drawdown is zero. Any dip below a high pushes the figure above zero, and the deeper or more frequent the dips, the higher it climbs.

It helps to know how the pain index relates to the Ulcer index, which is built from the same drawdowns. The Ulcer index is the root mean square of those drawdowns, and it is always at least the pain index. The gap between the two tells you how much a single deep fall dominates the record: squaring gives large drawdowns extra weight, so a series with one severe plunge will show a wider gap, while a series with many small, even dips will show the two measures close together.

The pain index is the simple average of percentage drawdowns from the running peak — for 100, 120, 90, 108, 96 the drawdowns are 0%, 0%, 25%, 10%, 20% and the pain index is 11.00%.

Pain index vs Ulcer index

The pain index and the Ulcer index are built from the same raw material: the percentage drawdowns of a series from its running peak. Where they part ways is in how those drawdowns get averaged. The pain index, proposed by Peter Martin alongside the Ulcer index, takes a simple arithmetic average of the drawdown percentages. The Ulcer index takes the root-mean-square of the same values. Same inputs, two different summaries — and the difference between them is itself informative.

A quick example makes the arithmetic concrete. For the values 100, 120, 90, 108, 96, the drawdowns are 0%, 0%, 25%, 10% and 20%, and the pain index is 11.00%. Now take a second series, 200, 180, 198, 162. Its drawdowns are 0%, 10%, 1% and 19%, and its pain index is 7.50%. In each case you can check the figure by adding the drawdowns and dividing by the count. A series that only rises has a pain index of 0.00%, because it never trades below a previous peak and so never records a drawdown at all.

The Ulcer index squares each drawdown before averaging, then takes the square root. Squaring gives extra weight to large falls, so the Ulcer index is always at least the pain index — never below it. When the two are close, the drawdowns are fairly even in size and no single episode stands out. When the gap widens, it shows how much one deep fall dominates the record: a single severe plunge pulls the root-mean-square up far more than it moves the plain average.

That is the practical reason to look at both when you use a pain index calculator. The pain index answers a straightforward question — on average, how far below the peak was this series? — and it is easy to explain and easy to verify by hand. The Ulcer index answers a more cautious one by penalizing the worst stretches. If you are quoting a single number to describe typical drawdown, the pain index is the plainer choice. If you want a figure that reflects the sting of the deepest decline, quote the Ulcer index, or quote both and let the gap speak for itself.

One caution applies to either measure: they describe the drawdown path, not returns. A series can post a low pain index and still finish flat, and a high one can belong to a strong long-run performer. Read the number as a description of how bumpy the ride was, not as a verdict on where it ended.

Same drawdowns, two averages: the pain index is the plain mean, the Ulcer index is the root-mean-square. The Ulcer index is always at least the pain index, and the size of the gap tells you how much a single deep fall dominates the series.

How to calculate it, step by step

To calculate the pain index by hand, you track two numbers as you move through the series from start to finish: the running peak and the drawdown at each point. The running peak is simply the highest value seen so far — it starts at the first value and only changes when a new high appears. The drawdown at each point is how far that point sits below the running peak, expressed as a percentage of the peak. Once every point has a drawdown, you take a plain average of those percentages. No weighting, no squaring, no compounding — just add the drawdowns and divide by the number of points. That is the whole calculation behind a pain index calculator.

Work through the series 100, 120, 90, 108, 96. The first value, 100, is the running peak, so its drawdown is 0%. The second value, 120, sets a new peak, so its drawdown is 0% as well. The third value, 90, falls below the peak of 120: the drop is 30, which is 25% of 120, so the drawdown is 25%. The fourth value, 108, is still below 120: the drop is 12, which is 10% of 120, giving a drawdown of 10%. The fifth value, 96, is 24 below 120, so its drawdown is 20%. The drawdowns are 0%, 0%, 25%, 10%, 20%. Add them to get 55%, divide by the five points, and the pain index is 11.00%.

Now take the series 200, 180, 198, 162. The first value, 200, is the running peak with a drawdown of 0%. The second value, 180, is 20 below 200, which is 10% of 200. The third value, 198, is 2 below the peak, or 1%. The fourth value, 162, is 38 below 200, which is 19%. The drawdowns are 0%, 10%, 1%, 19%. Their sum is 30%, and divided across four points that gives a pain index of 7.50%. Notice that 198 nearly recovers to the peak but still contributes its 1%; every point counts in a plain average, whether the fall is deep or shallow.

Two edge cases make the logic clear. A series that only rises has a pain index of 0.00%, because it never trades below a previous peak, so every drawdown is zero. And because the pain index is a simple average while the Ulcer index is the root mean square of the same drawdowns, the Ulcer index is always at least the pain index. The gap between the two tells you how much one deep fall dominates the record: a single large drawdown pulls the RMS up more than it pulls the plain average.

  • Step 1: Set the running peak to the first value.
  • Step 2: For each point, raise the running peak if the value is a new high.
  • Step 3: Compute the drawdown as (peak − value) ÷ peak × 100.
  • Step 4: Average all the drawdown percentages — that is the pain index.
The pain index is the simple average of percentage drawdowns from the running peak. For 100, 120, 90, 108, 96 the drawdowns are 0%, 0%, 25%, 10%, 20%, giving 11.00%; for 200, 180, 198, 162 they are 0%, 10%, 1%, 19%, giving 7.50%.

Using the pain index

A pain index calculator turns a price series into a single number that describes how much time an investment spent below its high-water mark. Because the figure is built from drawdowns rather than from returns, it speaks directly to investor experience: two funds can post similar average returns while one keeps holders in shallow, brief dips and the other drags them through long, deep ones. Running both through the calculator gives you a quick, comparable read on which one was easier to hold through.

The comparison only becomes meaningful once you know the scale. The pain index is the simple average of a series' percentage drawdowns from its running peak, proposed by Peter Martin alongside the Ulcer index. Smaller is better, and zero is the floor: a series that only rises has a pain index of 0.00%, because it never trades below a previous peak. As a reference point, take the values 100, 120, 90, 108, 96. Their drawdowns are 0%, 0%, 25%, 10% and 20%, and the pain index is 11.00%. For a milder path, 200, 180, 198, 162 produces drawdowns of 0%, 10%, 1% and 19%, for a pain index of 7.50%.

Use the number to set expectations before you commit money, not just to rank past performance. If a fund's pain index sits at 11.00%, an investor should be prepared for the average dip from peak to feel roughly that deep, with individual drawdowns running well beyond it. That framing is often more useful in a client conversation than a volatility figure, which treats an upward jump and a downward fall as equally unsettling.

The pain index is most informative when paired with the Martin ratio, which relates return to the Ulcer index. The Ulcer index is the root mean square of the same drawdowns, so it is always at least the pain index. The gap between the two tells you how much one deep fall dominates the record: a wide gap means a single severe drawdown is pulling the experience down, while a narrow gap points to many smaller, more evenly spread dips. Reading the pair together separates the typical dip from the worst one.

One caveat applies to every figure above: sampling frequency. The drawdowns, and therefore the pain index, depend on how often the series is measured. A daily series captures intraday and short-lived dips that a monthly series smooths away, so the same investment can show a higher pain index at daily sampling than at monthly. When you compare two funds, confirm they were measured at the same frequency, and state that frequency alongside the result so the comparison holds.

A rising-only series scores 0.00%; the example 100, 120, 90, 108, 96 scores 11.00%. Compare funds only when both series use the same sampling frequency.

FAQs

What is the pain index?

The pain index measures the average percentage drawdown of a series from its running peak. In other words, it shows how far underwater the holder was, on average, across the whole period. It is expressed as a percentage, so a value of 11.00% means the holder was, on average, 11.00% below the highest value reached so far.

How is the pain index calculated?

For each point in the series, record its percentage below the highest value so far, then average those percentages. For example, a series with drawdowns of 0%, 0%, 25%, 10%, and 20% averages to 11.00%. Every point counts equally in that average, which keeps the calculation simple and easy to check by hand.

How does the pain index differ from the Ulcer index?

The Ulcer index squares drawdowns before averaging, so deep falls dominate the result. The pain index instead weights every point equally. Because squaring makes the large drawdowns count for more, the Ulcer index is always the larger of the two. The pain index gives a plainer read of how far underwater the holder typically was.

Can the pain index be zero?

Yes. A series that never falls below a previous peak has a pain index of 0.00%. For example, the values 50, 55, 60, and 66 rise steadily, so each point sits at or above the highest value so far and no drawdown is recorded. The average of those zero drawdowns is 0.00%.

What is a high pain index?

Double digits mean holders spent the period deeply underwater on average. Beyond that, context and sampling frequency matter more than any single threshold. A figure that looks high for one series may be normal for another, and how often you sample the data changes the average. Compare values across similar series and sampling intervals rather than against one cutoff.

Who created the pain index?

Peter Martin created the pain index. He proposed it in 1987 together with the Ulcer index and the Martin ratio. The three measures were introduced as a set for evaluating how far an investment fell below its prior peak, giving investors a way to look at downside pain rather than only returns.

Sources

Related calculators

Ulcer Index Calculator
Peter Martin's Ulcer index — the root-mean-square drawdown of a value series — with maximum drawdown and the pain index alongside.
Max Drawdown Calculator
Maximum drawdown of a value series — the worst peak-to-trough fall and the gain needed to break even again.
Gain to Pain Ratio Calculator
Jack Schwager's ratio: the sum of all period returns divided by the sum of the losing periods alone.
Martin Ratio Calculator
The Martin ratio — excess return over the risk-free rate per unit of Ulcer index — from start value, end value and holding period.