
How to Calculate Maximum Drawdown in Trading
Maximum drawdown might be the most important number in your backtesting report. Not because it tells you how much money you could make — but because it tells you how much pain you'll have to endure to get there. And in trading, pain management is everything.
The Formula
Maximum Drawdown (MDD) measures the largest percentage decline from a peak to a subsequent trough in portfolio value. The formula is straightforward:
MDD = (Trough Value − Peak Value) / Peak Value × 100%
Here's a concrete example. Suppose your account follows this path:
| Date | Account Value | Running Peak | Current Drawdown |
|---|---|---|---|
| Jan 1 | $10,000 | $10,000 | 0% |
| Feb 1 | $11,200 | $11,200 | 0% |
| Mar 1 | $10,500 | $11,200 | -6.25% |
| Apr 1 | $9,800 | $11,200 | -12.50% |
| May 1 | $10,900 | $11,200 | -2.68% |
| Jun 1 | $12,100 | $12,100 | 0% |
| Jul 1 | $11,400 | $12,100 | -5.79% |
In this example, the maximum drawdown is -12.50% (April, when the account dropped from its $11,200 peak to $9,800). The drawdown duration was 4 months (February to June, when a new peak was reached).
Why Maximum Drawdown Matters More Than Returns
Consider two strategies:
Strategy A: 80% annual return, 45% maximum drawdown
Strategy B: 25% annual return, 12% maximum drawdown
Strategy A looks better on paper. But a 45% drawdown means your $100,000 account drops to $55,000 at some point. You need an 82% gain just to recover. Can you sit through that? Will you stick to the system as you watch $45,000 evaporate?
Strategy B's 12% drawdown means your account drops to $88,000 at worst. You need just a 13.6% gain to recover. Most traders can handle this psychologically.
Professional fund managers almost universally use drawdown-based risk limits. A common rule: if drawdown hits 20%, reduce position sizes by half. If it hits 30%, halt trading and review the strategy. This is why most institutional strategies target returns of 15-25% with drawdowns under 15%.
Types of Drawdown
Maximum drawdown is the most commonly cited, but there are several related metrics:
Average drawdown: The mean of all drawdown episodes. This tells you what "normal" pain feels like, not just the worst case. A strategy with 25% MDD but 3% average drawdown has one outlier event. A strategy with 25% MDD and 15% average drawdown is consistently painful.
Drawdown duration: How long it takes to recover from the trough to a new equity high. A 15% drawdown that recovers in 2 weeks is psychologically different from one that takes 6 months. Long-duration drawdowns erode confidence even when the depth is moderate.
Calmar ratio: Annual return divided by maximum drawdown. This metric normalizes returns by risk. A Calmar ratio above 1.0 means your annual return exceeds your worst drawdown — the minimum standard for a strategy worth trading. Above 2.0 is excellent.
Drawdown in Position Sizing
One practical application of drawdown analysis: determining position size. The Kelly Criterion gives optimal size, but most traders find that betting the full Kelly amount produces intolerable drawdowns. A common approach is half-Kelly or quarter-Kelly.
A simpler method: decide your maximum acceptable drawdown (say, 20%), then check your backtest's MDD. If the MDD is 15%, you have some headroom. If the MDD is 30%, you need to cut position sizes in half to get within your tolerance.
The formula: Adjusted Position Size = Target MDD / Backtest MDD × Base Position Size
If your backtest uses 5% risk per trade and shows 30% MDD, but you want maximum 15% MDD: Adjusted risk = (15/30) × 5% = 2.5% per trade.
"Rule number one: never lose money. Rule number two: never forget rule number one." — Warren Buffett. Translated to quantitative terms: manage your drawdown first, then worry about returns.
Real-World Drawdown Examples
| Strategy | Annual Return | Max Drawdown | Calmar Ratio |
|---|---|---|---|
| Buy & Hold S&P 500 (20 yr) | 10.2% | -55.2% (2008) | 0.18 |
| 60/40 Portfolio | 7.8% | -35.1% | 0.22 |
| Trend Following (CTA index) | 8.5% | -15.7% | 0.54 |
| Market-Neutral Equity | 6.2% | -8.3% | 0.75 |
| Typical retail algo (crypto) | 25-40% | -25-45% | 0.6-1.2 |
Notice how professional strategies sacrifice return for lower drawdown. The Calmar ratio tells the story: a market-neutral strategy with 6.2% return but only 8.3% drawdown has better risk-adjusted performance than buy-and-hold S&P 500.
Understanding drawdown is essential for interpreting your backtest results and setting up your tests correctly.
See your strategy's maximum drawdown and recovery patterns instantly. StratBase.ai calculates MDD, Calmar ratio, and drawdown duration automatically for every backtest.
FAQ
What is maximum drawdown in trading?
MDD is the largest peak-to-trough decline before a new peak is reached. If an account peaked at $10,000 and dropped to $7,500 before recovering, the MDD is 25%.
What is an acceptable maximum drawdown?
Conservative: under 10%. Moderate: up to 20%. Aggressive: up to 30%. Most professional managers set hard limits at 20-25%.
Further Reading
About the Author
Financial data analyst focused on crypto derivatives and on-chain metrics. Expert in futures market microstructure and funding rate strategies.
FAQ
What is maximum drawdown in trading?▾
Maximum drawdown (MDD) is the largest peak-to-trough decline in a portfolio's value before a new peak is reached. It's expressed as a percentage and measures the worst historical loss a strategy experienced. For example, if an account peaked at $10,000 and dropped to $7,500 before recovering, the MDD is 25%.
What is an acceptable maximum drawdown?▾
It depends on the strategy type and trader risk tolerance. Conservative strategies target MDD under 10%. Moderate strategies allow up to 20%. Aggressive strategies may tolerate up to 30%. Most professional fund managers set hard limits at 20-25% MDD, at which point they reduce position sizes or halt trading.
Further reading
Related articles
Comments (0)
Loading comments...

