Maximum drawdown (MDD) measures the largest peak-to-trough decline in a portfolio's value before a new peak is established. It is one of the most important risk metrics in trading because it quantifies the worst-case loss an investor would have experienced during a specific period. Unlike volatility measures that average risk over time, maximum drawdown captures the single worst episode of loss.
How maximum drawdown is calculated
To calculate maximum drawdown, you need the equity curve of a strategy or portfolio over time. For each point in time, compare the current portfolio value to the highest value achieved up to that point. The maximum drawdown is the largest percentage decline from any peak to any subsequent trough. Mathematically: MDD = (Trough Value - Peak Value) / Peak Value.
Why maximum drawdown matters
Maximum drawdown has a direct psychological and financial impact on traders. A 50% drawdown requires a 100% gain just to break even. A 33% drawdown requires a 50% gain. The relationship between drawdown and recovery is nonlinear, meaning that larger drawdowns become exponentially harder to recover from.
Beyond the mathematics, maximum drawdown determines whether a trader can actually tolerate a strategy's risk profile. A strategy with a 40% maximum drawdown might show excellent long-term returns, but most traders would abandon it during the drawdown, locking in losses. This makes maximum drawdown a practical measure of strategy viability, not just a theoretical risk metric.
Drawdown duration
Maximum drawdown is often reported alongside drawdown duration, which measures how long it takes for the portfolio to recover to its previous peak. A 20% drawdown that recovers in two weeks is very different from one that takes two years to recover. Extended drawdown periods tie up capital and can erode a trader's confidence in their strategy.
Practical example
Consider a strategy that starts with $100,000, grows to $150,000, drops to $105,000, recovers to $160,000, drops to $120,000, and then grows to $200,000. The first drawdown is ($105,000 - $150,000) / $150,000 = -30%. The second drawdown is ($120,000 - $160,000) / $160,000 = -25%. The maximum drawdown is 30%, which occurred during the first decline. Despite the strategy's strong overall performance (100% total return), any investor would have experienced a 30% loss at one point.
Using maximum drawdown in strategy evaluation
Traders often set maximum drawdown thresholds before deploying a strategy. For example, a rule might state that if the strategy exceeds a 15% drawdown, it should be halted and reviewed. This prevents catastrophic losses and forces systematic risk management.
The Calmar ratio (annualized return divided by maximum drawdown) uses this metric to create a risk-adjusted performance measure. A strategy that returns 20% annually with a 10% maximum drawdown (Calmar ratio of 2) is generally preferable to one that returns 30% annually with a 40% maximum drawdown (Calmar ratio of 0.75).
How Tektii helps
Tektii tracks drawdowns in real time during every backtest, reporting maximum drawdown, average drawdown, drawdown duration, and recovery time. The platform visualizes the equity curve with drawdown periods highlighted, making it easy to identify when and why the strategy suffered its worst losses. This helps traders set realistic expectations and design risk management rules that protect capital during adverse market conditions.