全職奶爸

Maximum Drawdown: Formula, Calculator and Equity Examples

Maximum drawdown: equity, recovery and loss headroom

Maximum drawdown (MDD) is the largest percentage decline from an equity peak to a later trough within a specified sample. Calculate each observation’s decline from the highest equity reached up to that point, then take the largest decline. A later recovery does not erase the earlier drawdown.

A curve can have a 25% maximum drawdown even though its largest dollar drop happens in a different part of the record. That difference matters when you compare strategies, read a backtest or decide how much room remains above a prop firm’s loss floor.

The calculator below accepts a chronological equity series. The worked example also shows the running peak, Excel formulas, recovery percentages and the difference between historical MDD and current loss headroom. All numerical examples are hypothetical.

Maximum drawdown formula: keep the peak before the trough

Let E represent equity at one observation and P represent the highest equity recorded from the start of the sample through that observation. The positive drawdown at that point is (P − E) ÷ P, or equivalently 1 − E ÷ P. Maximum drawdown is the largest of those values over the sample. Multiply by 100 to express the result as a percentage.

For a peak of $12,000 and a later trough of $9,000, the calculation is ($12,000 − $9,000) ÷ $12,000 = 0.25, or 25%. The denominator is the relevant earlier peak. Using the starting balance of $10,000 would answer a different question.

The time order is essential. Imagine the account later reaches $21,000. Comparing that future $21,000 high with the earlier $9,000 low would produce a large percentage, but it would describe a fall that never occurred in that order. A drawdown calculation follows the curve forward. At each point it can use information from the past and present, not a peak that has yet to happen.

Some reports show drawdowns as negative returns. Their point calculation is E ÷ P − 1, so the same episode appears as −25%. This guide uses a positive loss magnitude: 25%. When comparing two reports, check the sign convention before deciding that one formula is different. The underlying peak and trough can be identical.

A sample also needs an initial reference. If the first recorded value is already below an earlier, unrecorded high, the calculation cannot reconstruct that missing peak. Include the starting equity and a consistent observation history. The resulting statistic describes that selected history, rather than the account’s entire life by implication.

Maximum drawdown calculator

Enter one equity value per line, oldest first, using the same currency or consistently adjusted index units throughout. Use plain numbers such as 10000 or 12000.50. Leave out currency symbols and thousands separators. Blank lines are ignored. The first value must be positive; later values can be zero, and at least two observations are required.

This calculator covers nonnegative equity series. It reports percentage MDD and the largest dollar or unit drop separately, with their own peak and trough point numbers. It uses the first occurrence when an equally large maximum repeats. These point numbers indicate observation order; they are not dates, trading days or a measured recovery duration.

One plain number per line; oldest first. Same units throughout. First value > 0; later values ≥ 0. At least two points. No commas or currency symbols.

Select Calculate drawdown to see the results.

The example loads seven observations and produces 25% percentage MDD alongside a 4,000-unit maximum cash decline. Choose the result that matches your question. The percentage compares loss with the capital at that episode’s peak; the cash result measures the largest absolute peak-to-later-trough gap.

Calculations run in this page in your browser. The tool does not fetch market prices, place orders, import a brokerage account or adjust deposits and withdrawals. Supply a flow-adjusted performance series when external cash movements would otherwise distort the curve. Negative leveraged equity is outside this tool’s input scope; such losses can exceed 100% of an earlier positive equity peak.

A worked equity curve: 25% MDD and a different $4,000 decline

Consider the chronological series $10,000, $12,000, $9,000, $12,000, $20,000, $16,000 and $21,000. Each observation has a running peak. A new high raises that reference; a lower observation leaves it unchanged. Returning exactly to the old peak closes that drawdown episode without creating a higher record.

Maximum percentage and cash declines can differOriginal hypothetical sevenpoint equity curve10000,12000,9000,12000,20000,16000,21000. MDD25percentfrompoint2to3. Maximumcashdrop4000frompoint5to6,20percent. FinalnewhighdoesnoterasehistoricalMDD.Maximum percentage and cash declines can differHypothetical equity · chronological observations · no cash flows$10,000Point 1$12,000Point 2$9,000Point 3$12,000Point 4$20,000Point 5$16,000Point 6$21,000Point 7Points 2 → 3: $3,000 loss ÷ $12,000 peak = 25% MDDPoints 5 → 6: $4,000 loss ÷ $20,000 peak = 20%Largest percentage decline and largest cash decline are different episodes.
PointEquityRunning peakDrawdownCash decline
1$10,000$10,0000%$0
2$12,000$12,0000%$0
3$9,000$12,00025%$3,000
4$12,000$12,0000%$0
5$20,000$20,0000%$0
6$16,000$20,00020%$4,000
7$21,000$21,0000%$0

The worst percentage episode runs from point 2 to point 3: $12,000 falls to $9,000, a 25% decline. The largest cash episode runs from point 5 to point 6: $20,000 falls to $16,000, a $4,000 decline. That second decline is only 20% of its own peak. Reporting “maximum drawdown: $4,000, or 25%” would incorrectly combine two different events.

By point 7, the series has reached a new high of $21,000. Current drawdown is zero, while historical maximum drawdown remains 25% for the full sample. A report can therefore show strong ending equity and a substantial earlier drawdown at the same time. Ending profit alone leaves out the path taken to obtain it.

The table also explains why the starting balance is not always the right reference. The low of $9,000 is just 10% below the original $10,000, but the account had already risen to $12,000 before falling. An investor who experienced that peak lost one quarter of peak equity on the way down. MDD captures that peak-based experience.

Calculate maximum drawdown in Excel

Put the seven example equity values in cells B2 through B8, oldest first. In C2, enter =MAX($B$2:B2) and fill down to C8. The fixed starting reference keeps the first observation inside every running range, while the final row reference expands as you fill downward.

In D2, enter =1-B2/C2 and fill down to D8. Format that column as percentages. In E2, enter =C2-B2 and fill down to E8 to calculate the absolute decline in the series’ currency or index units. The cells in both columns must use the running peak on the same row.

=MAX(D2:D8) returns 25%. =MAX(E2:E8) returns 4000. Find the corresponding rows separately if you want the episodes behind each maximum. The percentage maximum belongs to row 4, which contains point 3; the cash maximum belongs to row 7, which contains point 6. The table’s point numbers are not Excel row numbers.

These formulas assume a positive first value and nonnegative subsequent equity. Start with numeric cells in chronological order, and check for text-formatted numbers, missing observations and duplicate timestamps before interpreting the result. A spreadsheet can calculate a precise number from an inconsistent series just as readily as from a clean one.

If the export arrives newest first, sort the entire record into chronological order, keeping dates and equity together. Sorting only the equity column destroys the relationship between each value and its observation time. If the data consists of returns rather than equity, build a compounded wealth index first. Summing percentage returns does not produce the same equity path as compounding them.

For example, a 10% gain followed by a 10% loss changes a 100-unit index to 110 and then 99. The drawdown from 110 to 99 is 10%, while the total return from the start is −1%. Both figures are valid and describe different reference points. Include the initial 100 in the series when measuring the full interval.

Recovery math and time under water

After a percentage decline, the gain needed to recover is measured from a smaller base. For a drawdown fraction d below 100%, the required gain is d ÷ (1 − d). A 25% decline needs a 33.33% gain to recover, because $9,000 must gain $3,000 to reach the old $12,000 peak.

DrawdownEquity remaining from 100Gain needed to recoverRecovery target
10%9011.11%100
20%8025%100
25%7533.33%100
50%50100%100
100%0No finite return on zero equity100 requires new capital or another change

Recovery to the old peak is different from making a new high. In the worked curve, point 4 equals point 2 at $12,000 and therefore recovers the first episode. Point 5 then establishes a higher peak. If the sample ended at point 3, MDD would still be measurable, but the recovery would remain unobserved.

Keep three durations separate: peak to trough, trough to recovery and peak to recovery. The first example falls from point 2 to point 3, then recovers at point 4. That is one observation interval down, one interval back and two intervals from peak to recovery. Without timestamps, none of those intervals can be described as days or months.

A shallow drawdown that lasts a long time can create a different practical problem from a deep but short episode. MDD gives depth, not the full experience of being under water. Read duration, repeated drawdown episodes and the distribution of returns alongside the single worst observation. There is no need to force all of those questions into one number.

Choose the right equity series before comparing results

Closed-trade balance and marked-to-market equity can produce different drawdowns. Suppose a trade is deeply negative while open but later closes at a small profit. A curve made only from completed trade balances can miss that temporary loss. Conversely, an unrealized intratrade high can create a peak that a closed-balance series never records.

Sampling frequency changes what can be observed. Daily closes can miss an intraday peak and trough, and monthly observations can miss both. For the same nonnegative series and window, adding genuine intermediate equity observations cannot reduce the maximum drawdown already visible in the smaller set. It may reveal a larger decline. Changing the valuation method or data corrections is a separate issue.

Define the date window, time zone, mark-to-market basis, currency and treatment of costs. Compare gross with gross or net with net, and state which you used. Financing charges, commissions, slippage and other relevant costs can change the entire path. Subtracting one aggregate cost number from ending profit does not reconstruct when the costs affected peak equity.

External cash movements need separate treatment. A $2,000 withdrawal from a flat $10,000 account leaves $8,000. An unadjusted balance chart shows a 20% decline, although the cash movement itself was not a trading loss. A deposit can similarly hide an investment decline by lifting the balance.

Use an appropriately constructed performance series, such as a unitized net asset value or a time-weighted return index, when the question is strategy performance excluding external flows. The adjustment must respect when the cash moved. Adding all withdrawals back to every later observation is not a generally valid substitute for a consistent flow-adjusted method.

For comparing different account sizes, a common starting index can make percentage paths easier to read. It does not make different leverage, instruments, observation frequency or cost assumptions equivalent. Keep the definition attached to the number: “25% maximum drawdown, daily marked equity, net of modeled costs, over this test window” says much more than an isolated “25%.”

Read maximum drawdown as a sample result

Historical MDD is the worst decline observed in the chosen sample. It is not a contractual cap on the next decline. A strategy can encounter a worse sequence, different liquidity or a market regime absent from the test. Even an accurately calculated backtest cannot certify a future maximum loss.

A short sample with few losing trades may show a modest drawdown because it has not encountered much adversity. A longer sample can contain more difficult episodes, although merely extending the calendar does not guarantee representative data. Check how many trades occurred, which conditions were present and whether the strategy rules were selected after seeing the results.

Use a documented backtesting process to separate development choices from subsequent validation. Compare drawdown after realistic cost assumptions, and inspect adverse sequences rather than choosing a model only because its single worst historical number is smaller. A method that barely stayed above a proposed account floor leaves little allowance for future differences.

Changing the order of trades can change the peak-to-trough path even when the set of individual returns stays the same. Scenario analysis can help show sensitivity to sequences, but shuffled histories depend on their assumptions. If trades are correlated or market conditions persist, treating every trade as interchangeable can understate the clustering of losses.

MDD can be read alongside return and other risk measures. Sharpe and Sortino ratios answer different questions about return relative to variability or downside variation. A Calmar ratio relates an annualized return measure to maximum drawdown over a specified period. Use consistent windows and definitions before comparing any of them; one ratio does not replace inspection of the underlying curve.

Maximum drawdown versus a prop firm’s loss limit

“Maximum drawdown” can label a historical statistic or an account rule. The statistic is calculated from an observed curve. An account rule defines a loss floor and the conditions under which touching or crossing it ends or restricts trading. Matching the phrase does not make the two calculations interchangeable.

For a hypothetical account with current equity of $51,800 and a current loss floor of $50,300, the distance above the floor is $1,500. A planned $500 loss uses one third of that headroom. Calling it “only 1% of a $50,000 account” describes a nominal balance fraction while missing the amount of usable loss room.

Historical MDD does not measure today’s remaining loss roomHypothetical equity51800minuscurrentfloor50300gives1500headroom. Planned500lossisone thirdheadroomthough1percentnominal50000. Actualrulesandotherexposuremustbeconsidered.Historical MDD does not measure today’s remaining loss roomHypothetical snapshot · not a named company’s account specificationCurrent equity$51,800Current loss floor$50,300Distance above floor$1,500Planned $500 loss ÷ $1,500 headroom = 33.33%The same $500 is 1% of a nominal $50,000 account.Open exposure, costs, reserves and tighter limits further constrain risk.

The floor itself may depend on static or trailing rules, the equity basis, the update schedule and whether the rule locks at a specified level. Intraday monitoring is another condition to check. The trailing versus static drawdown guide explains those mechanics separately from the historical metric.

Available room also has to accommodate open exposure, execution differences and any operating reserve you retain. A stop order defines an intended exit, not a guaranteed maximum fill loss. Daily loss rules or other restrictions can impose a tighter limit than the current overall floor. The $1,500 snapshot above is arithmetic, not a named company’s plan specification.

Translate a chosen cash budget into feasible units with the position sizing calculator. Use the instrument’s actual point or tick value, planned stop distance and relevant costs, then round down to whole tradable units. The historical MDD percentage does not supply any of those inputs by itself.

Compare HDP discounts

Lucid 30% · Tradeify 30% · TPT 50%.

See current offers ↗

Eligible partner plans only.

Turn the number into a useful review

Keep the equity history, the calculation basis and the peak-to-trough episode together. If a report shows a surprising MDD, inspect the observations around the claimed peak and trough. A missing starting value, reversed chronology, withdrawal or mismatched cash and percentage episode can explain the discrepancy before you conclude that the strategy changed.

Record actual costs, open-equity extremes and account-rule headroom in a prop firm trading journal. That makes it possible to distinguish a planned losing sequence from a sizing error or an execution issue. Comparing only the final balances after two weeks can conceal very different paths and amounts of remaining loss room.

Also retain the sizing policy used during the sample. An anti-Martingale approach changes cash exposure after previous results, so the equity curve reflects both trade outcomes and the risk schedule. A fixed-size backtest and an increasing-size backtest are different experiments, even when the entry signals match.

A useful review ends with a concrete choice: keep the method under its documented assumptions, reduce exposure, investigate a data issue or suspend the test while a rule is clarified. MDD contributes evidence to that decision. A low historical value alone does not establish that the next trade fits the account’s current constraints.

Maximum drawdown FAQ

What is maximum drawdown in trading?

It is the largest observed percentage decline from an earlier equity peak to a later trough within a specified sample. It measures the worst peak-based decline in that history, rather than the final return or a guaranteed future loss ceiling.

What is the maximum drawdown formula?

For each observation, calculate 1 minus current equity divided by the running peak. Take the largest result and express it as a percentage. The running peak is the highest equity reached up to that point, including the current observation.

Should maximum drawdown be positive or negative?

Both conventions exist. This guide reports a positive loss magnitude, such as 25%. A signed drawdown series uses equity divided by the running peak minus one, giving −25% for the same episode. Check the report’s convention before comparing numbers.

Can the largest dollar loss have a smaller percentage drawdown?

Yes. A $12,000-to-$9,000 decline is $3,000 and 25%. A later $20,000-to-$16,000 decline is $4,000 and 20%. The largest cash decline and the largest percentage decline belong to different episodes in this example.

How do I calculate maximum drawdown in Excel?

With chronological equity in column B, use =MAX($B$2:B2) in C2 and fill down. Use =1-B2/C2 in D2 and fill down, then take the maximum of column D’s populated range. These formulas assume a positive initial value and nonnegative equity.

Does returning to a new high reset historical MDD?

Current drawdown becomes zero at an equal or new peak. Historical MDD remains the largest decline observed anywhere inside the selected window. A later high does not remove an earlier 25% episode from that full history.

How much gain recovers a 25% drawdown?

A 33.33% gain from the trough recovers a 25% loss from the peak. The formula is d divided by one minus d. A $12,000 account falling to $9,000 must gain $3,000, which is one third of the smaller balance.

What happens at a 100% drawdown?

Equity has fallen from a positive peak to zero. There is no finite percentage return on zero equity that restores the old peak. The calculator accepts a later zero value but excludes negative equity, which can occur with leveraged losses beyond the original capital.

Is maximum drawdown the same as drawdown duration?

No. MDD measures depth. Duration needs timestamps and a stated interval, such as peak to trough or peak to recovery. A drawdown can be measured even when recovery has not occurred by the end of the sample.

Is monthly drawdown the same as intraday equity drawdown?

No. Monthly observations can miss peaks and troughs that occur between them. For a like-for-like series, extra intermediate observations can reveal a larger drawdown. Compare sampling frequency and the use of balance versus marked equity before comparing reports.

Do deposits and withdrawals affect MDD?

They affect a raw balance curve. A withdrawal can look like a loss and a deposit can hide one. To measure strategy performance excluding external flows, use an appropriate time-weighted or unitized performance series that respects the timing of those flows.

What is a good maximum drawdown?

There is no universal acceptable percentage. Evaluate the sample, leverage, returns, duration, costs and your actual constraints. A value suitable for one investment mandate can be incompatible with a prop firm’s current loss floor or a trader’s available risk capital.

Is historical MDD the same as a daily loss limit?

No. Historical MDD is a peak-to-later-trough statistic over a chosen window. A daily loss rule applies a company’s specified daily reference, reset and monitoring conditions. An account can violate a daily rule even when a separate historical MDD figure looks modest.

Can backtest MDD tell me the most I will lose?

No. It reports the worst decline observed under the test’s data, sizing and cost assumptions. Future sequences and execution can differ. Keep historical measurement separate from current position risk, account-rule headroom and the amount of capital you can actually afford to lose.