Recovery factor in trading: net profit divided by maximum drawdown

Calculate recovery factor from net profit and maximum drawdown in the same currency. Check zero drawdown, losing periods, and the difference from Calmar.

Calculate Recovery Factor From Your Trades

What Is Recovery Factor?

Recovery factor divides a trading strategy's net profit over a test period by its largest measured peak-to-trough drawdown, expressed as a positive amount in the same account currency. A result of 3 means the period earned three dollars for each dollar of its largest measured drawdown.

Use the same start date, end date, trade selection, currency, and cost assumptions for both inputs. Use net P&L after the costs included in your test; do not divide gross winning-trade profit by drawdown. Deposits and withdrawals are not trading profit and require cash-flow adjustment before using account balances.

The word "recovery" does not mean time to recover. The ratio has no time unit and cannot tell you whether equity has regained its latest peak. It summarizes a historical sample, not the size of the next loss or the probability of a future recovery.

Formula

Recovery factor = Net profit / Maximum drawdown in account currency Net profit = Ending equity - Starting equity (no external cash flows) Peak at observation t = highest equity observed up to t Drawdown at t = Peak at t - Equity at t Maximum drawdown = largest of those positive drawdown amounts Hypothetical USD example, after modeled costs, no deposits or withdrawals: Equity observations: $100,000 → $120,000 → $114,000 → $118,000 Net profit = $118,000 - $100,000 = $18,000 Maximum drawdown = $120,000 - $114,000 = $6,000 Recovery factor = $18,000 / $6,000 = 3.00 Percentage check: Net profit / initial capital = 18% Drawdown / initial capital = 6% 18% / 6% = 3.00 But peak-relative drawdown = $6,000 / $120,000 = 5% 18% / 5% = 3.60, which is a different calculation.

How to Read This Number

Use currency amounts when checking TradingView statistics. Both inputs being percentages is not enough: they must share the same reference capital to reproduce the currency ratio. The largest currency drawdown and largest percentage drawdown can also occur at different points. Record which drawdown definition you selected.

In the example above, recovery factor is 3.00 even though ending equity of $118,000 remains below the $120,000 peak. A higher ratio does not prove the most recent drawdown has ended. There is no universal pass mark that establishes a strategy is suitable to trade.

Recovery factor uses total period profit without annualizing it. If the exact same equity observations span one year or two years, the recovery factor stays 3.00. Calmar uses annualized return divided by maximum percentage drawdown. Assuming no cash flows, CAGR = (ending equity / starting equity)^(1 / years) - 1. For these observations, the one-year Calmar is 18% / 5% = 3.60; the two-year CAGR is about 8.63%, so Calmar is about 1.73. Calmar differs here because of both annualization and the peak-relative percentage denominator.

Compare strategies over matched dates, markets, sizing rules, costs, and equity sampling. Extending a test can add profits, losses, or a new maximum drawdown, so recovery factor can rise or fall. Annualization does not make mismatched market regimes or short samples equivalent. These calculations are educational and are not investment advice or a promise of future returns.

What Counts as Good?

RangeValueWhat It Means
Positive profitAbove 0With positive drawdown, the ratio states how many units of net profit were earned per unit of maximum drawdown. Higher values need the same test conditions to be comparable.
Net breakeven0Zero net profit divided by positive drawdown equals zero. The strategy finished at its starting equity despite experiencing losses along the way.
Net lossBelow 0A hypothetical net loss of $2,000 and a $5,000 maximum drawdown give -0.40. Keep the negative sign; taking the absolute value of profit would hide the loss.
Zero denominatorNo finite ratioPositive profit with zero measured drawdown has no finite recovery factor. Zero profit divided by zero is undefined. Check the trade count and sampling before interpreting either case.

How Pineify Calculates Recovery Factor

Open Backtest Deep Report and import your TradingView List of Trades CSV. Set the initial capital and confirm the imported closed trades and selected direction. The report sums their net P&L, rebuilds equity from those trades, and divides net profit by maximum currency drawdown. You can compare Recovery Factor with Net Profit, Max Drawdown, and Calmar in the report. Pineify measures drawdown along the reconstructed trade sequence. TradingView also provides an intrabar maximum drawdown measure that considers adverse prices while positions are open. A trade-only reconstruction cannot recover that full equity path. For overlapping positions, also check ordering: the current importer sorts by entry time, so its equity sequence can differ from a ledger ordered by exit time. If the two reports disagree, first compare the currency, included trades, costs, and drawdown sampling; do not assume that a smaller reported drawdown is a correction. For positive profit with zero measured drawdown, the current report displays an infinity symbol. For zero profit and zero drawdown, it returns 0 as a software convention; mathematically, 0 / 0 is undefined. Neither display is evidence of a risk-free strategy. The report does not supply an estimate of future recovery time.

Review Your Recovery Factor

Upload your TradingView backtest CSV and get Recovery Factor alongside other return and risk metrics. Check the input assumptions before comparing results.

Analyze Your Backtest Now

Frequently Asked Questions

Everything you need to know about this metric

Related Metric Calculators