What this calculator shows
Paste a series of prices or account values (each more than 0), or switch to returns in percent per period. The calculator finds the maximum drawdown with its peak and trough, the recovery point or "not recovered", the gain needed to get back to the peak, the current drawdown and the share of time spent below a previous peak. It lists the five deepest drawdowns with their start, trough, recovery, depth and length, and draws an underwater chart with a data table behind it. It has no market data: every number is one you type in.
How the numbers are worked out
- The running peak is the highest point so far. Drawdown = (running peak − value) ÷ running peak, so it is measured from the high, not from the start.
- Returns are compounded from a start of 1. Falls of 25% and 20% therefore make 40%, not 45%. On the same returns, the max drawdown matches the Sharpe and Sortino calculator.
- A drawdown lasts from a peak to the first later point at or above it. Its length counts the periods from peak to recovery; one still open at the end is shown as not recovered.
- Time underwater is the share of periods below the running peak. The gain needed from a trough is peak ÷ trough − 1.
Worked example (hypothetical)
The defaults are the month-end values from the lesson: 100, 120, 90, 72, 96, 110 and 126. The peak of 120 comes in month 1 and the trough of 72 in month 3, so the maximum drawdown is (120 − 72) ÷ 120 = 40%. Getting back needs 120 ÷ 72 − 1, about 66.67%. The value first reaches 120 or more in month 6, three months after the trough and five after the peak. Months 2 to 5 sit below the peak, so the series is underwater 4 of 6 months, about 66.67% of the time.
Limits of this model
- One path, one window: different start and end dates change every figure, and a past maximum drawdown does not cap a future one.
- Prices without dividends can overstate a fall; returns that include them give a fuller picture. Background is in drawdown and concentration; for co-movement between series, see the correlation matrix.
- This is education, not a recommendation about any security.
For educational purposes only. This material does not provide investment advice.