TradeLabs AILearn

Maximum Drawdown

Maximum drawdown measures the largest fall from a peak to a trough in an account or strategy. Learn how to calculate it, recovery maths, duration and how to use it.

Intermediate3 min readUpdated 3 Oct 2026
Markdown
Read firstProfit Factor
Lesson 8 of 34

Maximum drawdown (MDD) is the largest percentage fall from a peak in account value to a subsequent low, before a new peak is reached. It answers a simple, painful question: what is the worst loss someone would have suffered if they had started at the worst possible moment? Many traders find maximum drawdown more meaningful than volatility, because drawdowns are what cause investors to redeem, traders to abandon systems and leveraged accounts to be liquidated.

The calculation#

Drawdown at time t = (Value at t - Highest value up to t) / Highest value up to t
Maximum drawdown = The most negative drawdown over the period

In pandas: drawdown = equity / equity.cummax() - 1 and max_dd = drawdown.min(). See NumPy and Pandas for Traders.

The recovery problem#

DrawdownGain needed to recover
10%11.1%
20%25.0%
30%42.9%
50%100%
75%300%
90%900%
Gain needed = 1 / (1 - Drawdown) - 1

Losses compound against you: the deeper the hole, the disproportionately harder the climb. This is the mathematical case for strict risk management. See Risk of Ruin and Position Sizing.

Drawdown duration#

Depth is only half the story. Drawdown duration is the time from a peak to the recovery of that peak. A strategy that falls 15% and recovers in two months feels very different from one that falls 15% and takes three years to recover. Track:

MeasureMeaning
Maximum drawdown depthWorst percentage fall
Maximum drawdown durationLongest time below a previous peak
Time to troughHow quickly the loss happened
Recovery timeHow long it took to regain the peak

The Ulcer Index combines depth and duration into one figure.

Historical examples#

AssetApproximate maximum drawdown
US stocks (S&P 500), 1929 to 1932Around 85%
US stocks, 2007 to 2009Around 57%
Nasdaq Composite, 2000 to 2002Around 78%
Bitcoin, late 2021 to late 2022Around 77%

Even broad, diversified markets can lose more than half their value. See The 1929 Crash, The 2008 Financial Crisis and The Dot-Com Bubble.

Using maximum drawdown#

  1. Set risk limits based on drawdowns you can tolerate. See Risk, Position, Loss and Drawdown Limits.
  2. Size positions so that a drawdown worse than the backtest's worst is survivable.
  3. Expect worse live: a backtest's maximum drawdown is one sample; the future's worst can be deeper.
  4. Use Monte Carlo reshuffling of returns to estimate a range of possible drawdowns. See Monte Carlo Simulation.
  5. Compare strategies with return to drawdown ratios. See Calmar and MAR Ratio.

Limitations#

  • One event: it describes the single worst episode, not typical drawdowns.
  • Path dependent: the same returns in a different order give a different maximum drawdown.
  • Grows with time: longer records usually show deeper drawdowns.
  • Data frequency: daily data shows deeper intraday falls than monthly data hides.

Frequently asked questions#

What is maximum drawdown?#

The largest percentage decline from a peak in account or portfolio value to a later low, before a new peak is reached.

How much gain is needed to recover from a drawdown?#

One divided by (one minus the drawdown), minus one; a 50% drawdown requires a 100% gain to recover.

What is an acceptable maximum drawdown?#

It depends on the investor and strategy, but many traders aim to keep drawdowns below 20% to 25% through position sizing and risk limits.

Next, learn a measure that includes how long losses last in Ulcer Index.

Check your understanding

3 quick questions on this lesson. Get them all right to finish it.

Turn on JavaScript to take the quiz.

Finished this lesson?Sign in to save your progress across devices.
Next lessonUlcer IndexThe Ulcer Index measures downside risk by combining how deep and how long drawdowns last. Learn the formula, a worked example, the Martin ratio and how to use it.

Mentioned in