Ulcer Index Calculator

Track drawdown severity from peaks with flexible inputs. Review risk pain across portfolios and periods. See hidden downside pressure before making allocation changes today.

Calculator Inputs

Enter either a price or NAV series, or periodic returns in percent. Separate values with commas, spaces, or new lines.

Example Data Table

This sample illustrates how drawdowns are measured from each running peak.

Period Portfolio Value Running Peak Drawdown %
P0100,000100,0000.00
P1104,000104,0000.00
P2101,000104,0002.88
P3107,500107,5000.00
P4102,000107,5005.12
P5109,000109,0000.00

Formula Used

1) Running Peak
Peakt = max(Value1 ... Valuet)

2) Period Drawdown
Drawdownt = max(0, ((Peakt - Valuet) / Peakt) × 100)

3) Ulcer Index
Ulcer Index = √[(Σ Drawdownt2) / n]

4) Annualized Return
Annualized Return = ((Ending Value / Starting Value)Periods per Year / Period Count - 1) × 100

5) Martin Ratio
Martin Ratio = (Annualized Return - Risk-Free Rate) / Ulcer Index

How to Use This Calculator

  1. Select whether you are entering a price series or periodic returns.
  2. Paste the portfolio values or returns into the main series box.
  3. Optionally paste a benchmark using the same input mode.
  4. Adjust periods per year, risk-free rate, rolling window, and decimal precision.
  5. Press Calculate Ulcer Index to show results above the form.
  6. Use the CSV and PDF buttons to export the summary and drawdown table.

Frequently Asked Questions

1. What does the Ulcer Index measure?

It measures downside pain by combining both drawdown depth and drawdown duration. A lower value suggests a smoother ride with shallower declines.

2. How is it different from standard deviation?

Standard deviation treats upside and downside swings alike. The Ulcer Index focuses only on losses from prior peaks, which many investors find more practical.

3. Can I use returns instead of prices?

Yes. Choose return mode and enter periodic returns as percentages. The calculator converts them into a value path before measuring drawdowns.

4. What is a good Ulcer Index?

There is no universal cutoff. Lower is usually better, but the meaning depends on your asset class, time period, strategy, and benchmark.

5. Why add a benchmark?

A benchmark gives context. You can compare whether your portfolio experienced more or less downside stress than a relevant market reference.

6. What does the Martin Ratio tell me?

It relates excess return to downside pain. A higher Martin Ratio suggests you earned more return for each unit of drawdown stress.

7. Why use a rolling window?

A rolling window helps you see how downside stress changes over time. It can reveal unstable periods that a single full-series figure may hide.

8. Does this replace deeper portfolio analysis?

No. It is a focused risk tool. Combine it with return, correlation, liquidity, and valuation analysis for better investment decisions.

Related Calculators

kelly criterion calculatorposition sizing calculatorrisk of ruin calculatormaximum drawdown calculatorrolling returns calculatorrisk reward win ratio calculatorfree risk reward ratio calculatorrisk reward ratio break even calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.