Testing and analysis
Maximum Drawdown Explained: Calculation and Backtest Review
Published Updated ForeXpert team日本語で読む

Maximum drawdown is the largest decline from an earlier account peak to a later low. It helps you see how far an account fell during a test, even when the final result was positive. The money amount and percentage tell related but different stories.
This guide explains the calculation with an example, the difference between balance and equity drawdown, and what to check in a backtest. There is no single percentage that makes every strategy safe; the definition and the path of the account matter.
What maximum drawdown measures
Imagine an account starting at $10,000, rising to $12,000, falling to $9,000 and ending at $11,000. It finishes $1,000 above its starting point, yet falls $3,000 from its earlier peak during the journey. The final profit alone does not reveal that experience.
QuantConnect's results documentation describes drawdown as a peak-to-trough equity measure. We express the size of a decline as a positive number here; some tools display a negative percentage instead.
| Measure | What it tells you | What it may hide |
|---|---|---|
| Final profit | Change between start and finish | Declines during the test |
| Money drawdown | Amount lost from an earlier peak | Differences in account size |
| Percentage drawdown | Decline relative to that peak | Whether open losses were included |
| Recovery time | Time needed to regain a peak | Recovery may not occur before the test ends |
Maximum drawdown is also different from the largest losing trade. It can develop across several losses, with small winning trades in between. Read the account sequence rather than looking for only the single worst entry.
How to calculate maximum drawdown
Compare a peak with a subsequent low
The drawdown amount at a point is the earlier running peak minus the current account value. The percentage is decline / running peak × 100. Read the record in chronological order, updating the peak whenever a new high appears.
Here is a fictional example using balances after closed trades, with no deposits or withdrawals:
| Point | Balance | Running peak | Decline from peak |
|---|---|---|---|
| Start | $10,000 | $10,000 | 0% |
| A | $12,000 | $12,000 | 0% |
| B | $10,800 | $12,000 | 10% |
| C | $9,000 | $12,000 | 25% |
| D | $11,000 | $12,000 | About 8.33% |
The maximum drawdown in this sequence is $3,000, from A to C. Its percentage is $3,000 / $12,000 × 100 = 25%. Dividing by the initial $10,000 would produce 30%, which is not the peak-relative drawdown percentage.
You cannot simply subtract the lowest account value from the highest without checking their order. A low that occurred before the high is not a decline from that high. The timeline is part of the definition.

The largest amount and percentage may occur separately
If account size changes substantially, the largest dollar drop and largest percentage drop need not happen in the same episode. A fall from $10,000 to $8,000 is 20%; a fall from $20,000 to $17,000 is 15%. The second loses more money, but the first loses a greater share of its peak.
Check whether a tool reports those maxima independently or reports the amount associated with its maximum percentage. Cash withdrawals also need adjustment so that money leaving the account is not mistaken for a trading loss.
Balance drawdown and equity drawdown
Balance generally reflects closed-trade results. Equity also reflects open-position profit and loss, subject to the account's accounting conventions. A drawdown calculated from one series may look very different from a drawdown calculated from the other.
| Basis | What it captures | What can be missed |
|---|---|---|
| Closed-trade balance | Cumulative realized outcomes | Large temporary open losses |
| Equity | Account value including unrealized outcomes | Moves between recorded observations |
| End-of-day values | Consistent daily snapshots | Intraday declines |
Suppose a position has a large unrealized loss and later closes near breakeven. Balance drawdown may barely change, even though equity was much lower while the position was open. A small balance drawdown does not establish that open-position risk was small.
Observation frequency matters as well. Values sampled only at candle closes can miss a temporary decline within a candle. Before comparing two reports, check the account-value basis, observation frequency and treatment of costs. A difference may reflect measurement rather than a better strategy.
Four ways to read drawdown in a backtest
1. Compare profit and position size together
Increasing size can increase both profit and the size of losses. If a revised test makes more money, check whether the rules changed or whether you simply used larger positions. Compare drawdown under consistent sizing assumptions.
To see how the chance of a deep drawdown changes with the risk per trade alone, try the risk of ruin calculator.
Note any change in size during the test. Otherwise, the account path can combine two different risk levels, making an apparent improvement difficult to interpret. Keep account-currency amounts alongside percentages rather than relying on one display alone.
2. Understand the recovery arithmetic
After a 20% decline, an account needs a 25% gain on its remaining value to return to the previous peak. In a fictional example, $10,000 falling to $8,000 requires $2,000 / $8,000 = 25% to recover. After a 50% decline, the required gain is 100%.
The difference comes from the smaller base after the loss. Use the arithmetic to understand the scale of a decline, not as a target that must be reached quickly. In a journal review, check whether losses led to unplanned increases in position size.
Sizing each trade from its stop distance keeps the planned loss at a fixed share of the balance before and after a drawdown. Our position size calculator works out that size from your balance, risk per trade and stop.
3. Review the trades around the worst period
Look at the losing sequence, market context, costs and whether each trade followed the rule. Removing that period just to improve the number removes evidence about a weakness. Keep it in the record and investigate it.
Also record how long the account remained below its peak. A small but prolonged drawdown can be hard to continue through. If the test ends before recovery, label it unrecovered rather than assuming a recovery happened beyond the data.
4. Repeat the test on other periods
Historical maximum drawdown is the worst observed decline in that particular record. It is not an upper limit on future losses. Test the same fixed rules across other conditions and periods, while preserving the definition you use for comparison.
Our backtesting guide covers the overall process, and trading-journal review guide explains how to inspect the individual decisions behind a result.
ForeXpert shows maximum drawdown and balance history in its statistics. Use the reported value to locate periods worth examining, then read the underlying trades and check the account-value definition rather than treating the number as a complete risk assessment.

Frequently asked questions
What is an acceptable maximum drawdown?
No percentage is suitable for every person or strategy. Account size, position sizing, test length and the inclusion of open losses all change its meaning. Backtest results do not guarantee future performance, so a historical maximum cannot be treated as a future loss cap.
Does a short losing streak imply a small drawdown?
No. A small number of large losses can produce a large drawdown. A longer sequence of smaller losses can have a different effect. Review both the number of losses and their size, together with any intervening wins.
Can I exclude the trades that caused the worst drawdown?
Do not remove trades after seeing that they lost. If you develop a genuine exclusion rule, write it before the next test and check it on a period not used to create that rule. Otherwise, you may only be fitting the past.
Summary
Maximum drawdown measures the largest fall from an earlier peak to a later trough. The peak is the denominator for the percentage; the starting balance is not always the right base.
First establish whether your report uses balance or equity, then inspect the trades and recovery around the worst episode. Reading the decline alongside final profit gives a more complete view of what happened during practice.


