VALYNOXSTRATEGY RESEARCH TECHNOLOGY
AlphaPrimeAlphaPrime
ACADEMY / Backtesting and validation

What is a good profit factor in a backtest? Range, trades, costs

A robust futures strategy usually shows a profit factor between about 1.3 and 2.0 after commission and slippage on a few hundred trades. Values above about 3 usually point to too few trades, one outsized winner, a large search or a data leak, so look for the cause before trusting them.

By · Published · updated · Editorial policy

Contents
  1. What is a good profit factor in a backtest?
  2. Is a profit factor of 2 good, and why do very high values mislead?
  3. How many trades do I need to trust a profit factor?
  4. Does the profit factor survive costs?
  5. Frequently asked questions
  6. References

What is a good profit factor in a backtest?

A good profit factor in a backtest is about 1.3 to 2.0 after costs on a few hundred trades. That answers what is a good profit factor in one line; the longer answer depends on trade count and where the profit came from. Costs mean commission and slippage. Profit factor equals gross profit divided by gross loss.

Gross profit is the sum of all winning trades, and gross loss is the sum of all losing trades. A strategy that won $15 for every $10 it lost has a profit factor of 1.5. A backtest replays a rule on old prices with costs included, so the ratio you read must already contain commission and slippage. Think of the ratio as a balance scale: every dollar lost adds weight to one pan, and every dollar of profit that costs eat away lightens the other pan. Because it is a ratio of two sums, not an average, it has no unit and does not grow with trade count, which makes it easy to compare across strategies and easy to misread. The profit factor formula and its three common pitfalls are covered in detail in their own article.

Profit factor as a balance scale: the sum of winning trades is weighed against the sum of losing trades. On the scale beside it, 1.0 is break-even, 1.3 to 2.0 is the usual band after costs, and above 3 needs a cause. Two sums on one scale Gross profit ÷ gross loss Winners Losers Above 3: check 1.3–2.0 usual 1.0 break-even 1.3 to 2.0 after costs is usual. So: above 3, find the cause first.
Profit factor weighs the sum of winners against the sum of losers. 1.0 is break-even; 1.3 to 2.0 is the usual band after costs; above 3 asks for an explanation.

Is a profit factor of 2 good, and why do very high values mislead?

A profit factor of 2 after costs on a few hundred trades is a strong result, while a value above about 3 in a backtest usually has a cause other than a good rule. The four usual causes are listed in the order you should check them:

  1. Too few trades. With 20 trades, two large winners can carry the whole ratio.
  2. One or two outsized winners. Remove the three largest winning trades and recompute; a ratio that falls below 1 was never a strategy result, it was a lucky trade.
  3. A search that kept the best of many candidates. The winner of a thousand variants carries a selection bonus. Bailey, Borwein, López de Prado and Zhu (2014) show that this bonus grows with the number of variants tried, and the same authors (2017) give a way to estimate how likely the chosen one is overfit. The mechanism is explained in why the best backtest in a search is usually inflated.
  4. A leak of future prices. A rule that decides on a bar's close and fills at that same close, or that reads an indicator value not yet available, produces ratios no live account can match.
What to check first at each profit factor after costs: 1.1 is a thin edge, check slippage; 1.5 is workable, check trade count; 2.0 is strong, check the top winners; 4.0 is suspect, check for a data leak. Each value, its own check Profit factor after costs 1.1 Thin edge Check: slippage 1.5 Workable Check: trade count 2.0 Strong Check: top winners 4.0 Suspect Check: data leak
The same profit factor means different things depending on trade count and where the profit came from. The higher the value, the more the first check shifts from costs to the data itself.

How many trades do I need to trust a profit factor?

Under about 30 trades a profit factor is a hint, a few hundred trades make it evidence, and the test for any sample is to remove the largest winners and see whether the ratio stays above 1. The reason is the formula: gross profit is a sum, so one large winner can be a third of it. On a small sample that one trade decides the ratio; on a large sample it is one of hundreds.

Hypothetical example

Strategy A has 30 trades and a profit factor of 2.4. Remove its three largest winners and the ratio drops to 1.1, a hair above break-even. Strategy B has 300 trades and a profit factor of 1.7. Remove its three largest winners and the ratio is 1.5. Strategy B has the lower headline number and the far more trustworthy one.

Hypothetical example: strategy A with 30 trades falls from a profit factor of 2.4 to 1.1 after removing its three largest winners, while strategy B with 300 trades falls only from 1.7 to 1.5; a dashed line marks break-even at 1.0. Drop the top 3 winners Profit factor, hypothetical All trades Top 3 removed 30 trades 1.1 2.4 300 trades 1.5 1.7 Break-even A few big winners carried 30 trades. So: drop top winners, recompute.
Removing the three largest winners nearly flattens the 30-trade strategy and barely moves the 300-trade one.

A real search result shows how to read a sample in the middle. The run below comes from AlphaPrime (Valynox) on NQ daily bars from 2019-01-02 to 2025-06-30, long and short, one contract, with $20 commission and $10 slippage charged per trade. The search tried 1,024 candidates and this is the only one it kept, selected on return against drawdown. The rule it uses is a stand-in built from standard indicators, not a profit factor rule, because profit factor is a measurement and not something you can trade.

Source: AlphaPrime product engine (CPU), run 2026-10-31. NQ daily bars, 2019-01-02 to 2025-06-30, long and short, 1 contract, $20 commission and $10 slippage per trade.

NumberResult
Net profit (closed trades)$202,375
Max drawdown$80,555
Trades105
Win rate54.29%
Profit factor1.636
Average trade$1,927.38
Time in market76.51%
Hypothetical plausible range of a measured profit factor when the true value is 1.5: about 0.8 to 2.6 at 30 trades, 1.1 to 2.0 at 100, 1.3 to 1.7 at 300 and 1.4 to 1.6 at a thousand trades; at 30 trades it is only a hint. More trades, narrower range Hypothetical: true value 1.5 Trades 1.0 1.5 2.0 2.5 30 100 300 1k Hint only Under 30 trades, it is a hint. So: wait for a few hundred trades.
Read the profit factor line together with the trade count, the win rate and the maximum drawdown on the same screen, not on its own. NQ · daily · 2019-01-02 to 2025-06-30 · CPU engine backtest

The profit factor of 1.636 sits inside the usual band, and the win rate of 54.29% says the ratio comes from winners being larger than losers, not from winning often. But 105 trades is between a hint and evidence, and this candidate was picked after the fact out of 1,024, which flatters it. Nothing here says the rule earned that money or that a reader should expect it; the right next move is the top-winner check and a run on data the search never saw. AlphaPrime prints the profit factor, the trade count and the drawdown on one page of its Performance Report and lists the trades beneath them, so removing the largest winners by hand takes a few minutes.

Does the profit factor survive costs?

Compute the profit factor only after commission and slippage, then rerun the backtest with doubled slippage, because costs hit both pans of the scale at once. Every round-trip cost taken from a winning trade lowers gross profit, and every cost added to a losing trade raises gross loss. The ratio therefore falls faster than the net profit alone suggests, and a strategy that trades often falls fastest.

Hypothetical example

Before costs, a strategy shows gross profit of $60,000 and gross loss of $30,000, a profit factor of 2.0. It made 400 trades at $30 per round trip, so costs total $12,000. If costs split evenly between winners and losers, gross profit becomes $54,000 and gross loss $36,000, a profit factor of 1.5. Double the slippage and the ratio moves again toward 1.3. A strategy with 40 trades over the same period would lose a tenth of that amount per step.

Hypothetical example with 400 trades at 30 dollars each: before costs, gross profit is twice gross loss, a profit factor of 2.0. After costs, gross profit shrinks by a tenth and gross loss grows by a fifth, a profit factor of 1.5. With doubled slippage, the ratio drops toward 1.3. Costs hit both sums 400 trades at $30, hypothetical Profit Loss Ratio Before costs $60k $30k 2.0 After costs $54k $36k 1.5 2× slippage ≈1.3 Costs cut profit and add loss. So: rerun with double slippage.
Costs lower gross profit and raise gross loss in the same move, so the ratio falls further than the net result suggests, and the more trades, the bigger the step.

Three steps make the check complete:

  1. Enter commission and slippage before the first run. A ratio read before costs and corrected afterwards hides which trades the costs removed.
  2. Run it again with slippage doubled. If the ratio drops below about 1.2, the strategy depends on cheap fills.
  3. Read it next to maximum drawdown and the recovery factor. Recovery factor is net profit divided by maximum drawdown, and it tells you what the profit factor cannot: how deep the hole was on the way to the result. Two strategies with a profit factor of 1.6 can have very different drawdowns, which is why the recovery factor and what counts as good belongs on the same page. The free drawdown calculator gives the maximum drawdown from an equity series.

Open your most recent backtest report and write down three numbers: the profit factor after costs, the trade count, and the profit factor again after you remove the three largest winners. If the third number is still above 1 on a few hundred trades, rerun the test with doubled slippage; if it is not, the strategy has not yet shown you anything.

Frequently asked questions

Is a profit factor of 2 good?

After commission and slippage, on a few hundred trades, a profit factor of 2 is a strong result. On a small sample or before costs it means little, because one large winner or a cheap-fill assumption can produce it. Check that the ratio stays above 1 after removing the three largest winners and after doubling slippage.

What does profit factor mean in trading?

Profit factor is gross profit divided by gross loss: the sum of all winning trades over the sum of all losing trades. A value of 1.0 is break-even, above 1.0 the winners outweighed the losers, and below 1.0 the strategy lost money. It is a ratio with no unit, so it does not grow with trade count and must always be read with the number of trades.

How many trades do I need to trust a profit factor?

Treat fewer than about 30 trades as a hint and a few hundred as evidence. The ratio is built from sums, so on a small sample a single large trade can decide it. For any sample, remove the largest winners and recompute; a profit factor that holds above 1 without them is far more trustworthy than a higher one that collapses.

Can a strategy have a high profit factor and a low win rate?

Yes. Profit factor depends on the size of wins against the size of losses, not on how often the strategy wins. A trend-following rule that wins 35 percent of the time with winners three times the size of losers has a profit factor above 1.6. The reverse also holds: a high win rate with a few very large losers can sit below 1.

References

  • Bailey, D. H., Borwein, J., López de Prado, M., & Zhu, Q. J. (2014). Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance. Notices of the American Mathematical Society, 61(5), 458–471.
  • Bailey, D. H., Borwein, J., López de Prado, M., & Zhu, Q. J. (2017). The Probability of Backtest Overfitting. Journal of Computational Finance, 20(4), 39–69.