Skip to content

Glossary

What Is Profit Factor in Trading?

Profit factor is the total net profit of winning trades divided by the absolute total loss of losing trades. A value above 1 means winners earned more than losers lost; below 1 means the opposite. TradingLead calculates it on closed positions after fees and leaves it empty when there are no losing trades, rather than showing infinity.

What it means

Profit factor compares how much your winning trades made with how much your losing trades lost:

profit factor = sum of net profits from winning trades / |sum of net losses from losing trades|

Example: winners made ₹45,000 in total and losers lost ₹30,000, so the profit factor is 1.5.

  • Above 1: gross wins exceeded gross losses.
  • Exactly 1: they offset.
  • Below 1: the strategy lost money overall on closed trades.

Why traders use it

Profit factor combines win rate and payoff size into one number, so it is a quick sanity check on a backtest. It says nothing about when the losses happened, though. A strategy with a good profit factor can still have a painful drawdown if losses cluster together.

How TradingLead calculates it

In TradingLead backtesting analytics:

  • It uses fully closed positions, grouped from their exit legs. Partial profits on a still-open position don't count as a win.
  • Each position's result is net P&L after allocated fees. Slippage is already in the fill prices, so it isn't charged twice.
  • If there are losing positions but no winners, profit factor is 0.
  • If there are no closed positions or no losing positions, profit factor is unavailable (shown empty with a reason), not infinity.

The quick engine summary works on exit legs, so it can differ slightly from the closed-position figure in Analytics.

Reading it well

  • Check the trade count. A profit factor of 3 from eight trades is weak evidence.
  • Compare in-sample and out-of-sample profit factor, for example with a holdout or walk-forward test in the Strategy Optimizer.
  • Rerun with higher costs or slippage. A thin edge often disappears.
  • A historical profit factor is not a prediction of future results.

Limitations

  • Ignores the order of trades and drawdown.
  • Unstable with few trades.

Frequently asked questions

What is a good profit factor?
Above 1 means the strategy made more on winners than it lost on losers in that test. How much above 1 is meaningful depends on the number of trades, costs and how the result holds up on unseen data. A very high figure from a few trades is often luck or overfitting.
Why does TradingLead show no profit factor for my backtest?
Profit factor is unavailable when there are no closed positions or no losing closed positions, because dividing by zero loss has no meaningful value.
Is profit factor calculated before or after costs?
After. TradingLead uses each closed position's net P&L after allocated entry and exit fees, and slippage is already embedded in fill prices.

Last updated: