Backtest results calculator

Paste the profit or loss of each trade to get win rate, profit factor, expectancy, maximum drawdown and the longest losing streak in one place.

Result

Profit factor
1.69
Trades
20 (8 wins, 10 losses, 2 breakeven)
Win rate
40%
Net result
+343
Expectancy (average per trade)
+17.15
Average win / average loss
105.38 / 50
Risk-reward (average win ÷ average loss)
2.11
Maximum drawdown
150
Longest losing / winning streak
3 losses / 1 wins
Cumulative result

Results are estimates. Check your broker’s contract size, minimum trade size, spreads, fees and margin. This tool is not investment advice or a recommendation to trade.

How to use it

  1. Paste the result of each trade from your backtest or journal, oldest first, one per line.
  2. Add your starting balance if you also want the maximum drawdown as a percentage.
  3. Read win rate, profit factor, expectancy, maximum drawdown and streaks in one place.

The numbers are calculated in your browser and are not sent anywhere.

How each number is calculated

  • Win rate = winning trades ÷ all trades. Breakeven trades (0) count toward the total but neither as wins nor losses.
  • Profit factor = gross profit ÷ gross loss. Above 1 means profits exceeded losses in this record. See profit factor explained.
  • Expectancy = net result ÷ all trades: the average result per trade (trading expectancy).
  • Maximum drawdown = the largest fall from an earlier peak of the running total. The percentage is relative to that peak (maximum drawdown explained).
  • Longest losing streak = the most losses in a row. A breakeven trade ends a streak.

Reading the results

With few trades, a handful of large wins or losses can swing every number. Read profit factor and win rate together with drawdown and streaks, and retest the same rules on another period. Backtest results do not guarantee future performance.

With your win rate and average results in hand, the risk of ruin calculator shows how far the balance could fall if the same results continued.

FAQ

Can I use pips?

Yes. If the record mixes pairs or position sizes, though, pip totals and money results will not match. Use one unit throughout.

Are spreads and fees included?

The calculator uses the numbers as pasted. Paste results after costs to get results after costs, and make sure costs are not subtracted twice.

How many trades do I need?

There is no fixed number, but a few dozen trades still leave a lot to chance. Our guide to backtest sample size explains more.

More calculators