Search runs in your browser, across every published page on this site.

Drawdown and recovery calculator

Depth is the number people quote. Duration is the number that ends strategies. This gives both for every episode in your series, with dates, and marks anything still underwater as open rather than closing it with a date it has not reached.

Worked example — Maximum drawdown, illustrative series: -51.3%. From Sep 2013 to Sep 2014, needing 105.2% to get back; recovery took 60 more months

Paste a price, balance, or return series

Add a date to each line to get durations in calendar time. The episode table, the underwater chart, and the Ulcer and Calmar ratios update as you type.

Try:

Illustrative decline and recovery: The page default: a real-shaped multi-year decline that later recovers, with dates on both halves of the episode.

132 values read with dates. The series on load is an illustrative path, not a real fund, index, or strategy. Replace it with your own.

The column holds
Advanced options 2
Current resultMaximum drawdownMaximum drawdown: -51.27%. needs 105.2% to get back

In plain English: this is the largest fall from a previous high. Written exactly, running peak Pt is the highest value up to time t, and drawdown dt = Vt ÷ Pt − 1. Recovery needs 1 ÷ (1 + d) − 1.

From Sep 2013 to Sep 2014 it fell -51.3% over 12 months. Getting back took 60 more months, to Sep 2019. Total time underwater: 72 months.

Current drawdown-0.31%
Gain needed from here0.31%
Time underwater75.8%
Ulcer index22.43
Calmar ratio0.075
Martin ratio0.083

Left axis: drawdown from the running peak. Right axis: the gain needed to recover from that point, computed at every period, not only at each episode's trough. The dots mark each episode's trough.

The worst episodes, with both halves of the underwater period, on the illustrative series still loaded
PeakTroughDepthGain to recoverPeak to troughTrough to recoveryTotal underwater
Sep 2013Sep 2014-51.27%105.2%12 months (365 days)60 months (1826 days)72 months
Dec 2019Jun 2020-14.18%16.5%6 months (182 days)6 months (184 days)12 months
Jun 2021Jul 2021-1.97%2.0%1 months (31 days)3 months (92 days)4 months
Oct 2012Nov 2012-1.58%1.6%1 months (30 days)2 months (62 days)3 months
Sep 2022Oct 2022-1.23%1.2%1 months (31 days)1 months (30 days)2 months

An episode runs from the last high, through the trough, to the month the old high is regained. Anything still below its peak at the end of your series is marked open and given no recovery duration, because it does not have one yet. Calmar divides the 3.86% compound growth over 10.9 years by the maximum drawdown; Martin divides the excess of that growth over your 2% cash rate by the Ulcer index.

At the compound rate this series itself produced, climbing out of the current -0.3% would take about 1.0 more months.

How much do I need to gain back a 30% loss?

A 30% loss needs a 42.9% gain to get back, not 30%. The required gain is 1 / (1 + d) minus 1, and the asymmetry widens fast past 30% because the denominator keeps shrinking while the numerator does not.

Gain required to recover, by loss size
Loss Gain needed to recover
5% 5.26%
10% 11.11%
15% 17.65%
20% 25.00%
25% 33.33%
30% 42.86%
40% 66.67%
50% 100.00%
60% 150.00%
70% 233.33%
80% 400.00%
90% 900.00%

What is the Ulcer index?

The Ulcer index is the root mean square of the whole drawdown path, not just its lowest point, so it charges a strategy for depth and for time spent underwater, not depth alone. On this page's illustrative series the Ulcer index is 22.43 against a maximum drawdown of -51.3%: the closer those two numbers are, the longer the series spent near its worst point rather than passing through it quickly. A shallow, permanent drawdown can score a worse Ulcer index than a violent, quick one, which is the opposite of what the maximum drawdown alone would suggest.

How long does it take to recover from a drawdown?

On this page's illustrative series, the worst episode fell -51.3% from Sep 2013 to Sep 2014, then took 60 more months to regain the old high, on Sep 2019. That is the actual path; the calculator also converts any open drawdown into a time estimate at the compound rate the series itself produced, which is the honest version of "it always comes back": it comes back on a clock, and the clock is the part nobody budgets for.

What JMM thinks: time underwater is what ends strategies

Investors do not usually capitulate at the bottom. They capitulate eighteen months later, when the position is still down 20%, the thesis still sounds fine, and the money has been doing nothing while something else went up. That is why the Ulcer index is worth more attention than the maximum: a strategy with a shallow permanent drawdown scores worse than one with a violent quick one. If you are choosing between two return streams with similar Calmar ratios, take the one with the lower Ulcer index and the shorter longest underwater period. Drawdowns are measured on the closing values you paste, so an intraperiod low deeper than any close will not appear, and a maximum drawdown is a record from one sample, not a bound on the next one. To pair this with a forward-looking risk estimate, use the portfolio volatility calculator, and to test whether the return justified the drawdown, the Sharpe ratio calculator. In a retirement plan this is the history half of the stress test; the FIRE calculators hub pairs it with the forward-looking sequence risk step.

The next question after this one

Sharpe ratio calculatorCalculatorDepth is one dimension. This adds the return earned per unit of risk, with an interval around it.Open next

All 130 calculatorsHow JMM sources and checks its numbersWhat stays free, and what early access would add

Early access

What Pro adds here

Conditional drawdown at risk, drawdown duration distributions, and side-by-side comparison of two pasted series are Pro features. The launch list sends one email at launch.

One email at launch. No spam; unsubscribe or ask for deletion anytime. Address handling is covered by the privacy policy.