Trading & crypto

Max drawdown formula in Excel

Drawdown is how far equity is below its highest point so far. Max drawdown is the worst of those.

All Excel versions and Google Sheets

The formula

Running peak (fill down)ExcelGoogle Sheets
=MAX($B$2:B2)
In C2 → $10,000.00
Drawdown (fill down)ExcelGoogle Sheets
=B2/C2-1
In D2 → 0%
Max drawdownExcelGoogle Sheets
=MIN(D2:D9)
In F2 → -21.6%
Single cell (Excel 365)Excel
=MIN(B2:B9/SUBTOTAL(4,OFFSET(B2,0,0,ROW(B2:B9)-ROW(B2)+1))-1)
In F3 → -21.6%
✓ Tested. All 18 Excel results in this example were recalculated in LibreOffice Calc 25.2 and matched the values shown.

Worked example

Paste the data below into a blank sheet starting at cell A1 (or download the cheat sheet, where every example is set up). Highlighted cells hold the formulas and show the expected results.

ABCDEF
1DateEquity
2Jan 1, 202610,000$10,000.000%-21.6%
3Feb 1, 202611,200$11,200.000%-21.6%
4Mar 1, 202610,400$11,200.00-7.14%
5Apr 1, 202612,500$12,500.000%
6May 1, 202611,000$12,500.00-12%
7Jun 1, 20269800$12,500.00-21.6%
8Jul 1, 202611,900$12,500.00-4.8%
9Aug 1, 202613,100$13,100.000%

How it works

MAX($B$2:B2)
Highest equity up to this row.
B2/C2-1
Percent below that peak (0% at a new high).
MIN(D2:D9)
The deepest drawdown.
SUBTOTAL(4,OFFSET(…))
Single-cell version: running maxima of growing ranges.

Common errors and fixes

Max drawdown shows 0%?

You used MAX instead of MIN; drawdowns are negative.

Peak resets?

The peak range isn't anchored ($B$2).

Does this work in Google Sheets?

The formulas tagged "Google Sheets" work as-is. Formulas tagged only "Excel" may need ARRAYFORMULA or a different function in Sheets.