What Is Profit Factor? Gross Profit Over Gross Loss, Explained
Profit factor is total gross profit from winning trades divided by total gross loss from losing trades. It shows how many rupees a strategy won per rupee it lost.
Profit factor is one of the simplest trade statistics in any strategy report: it is the total profit made on all the winning trades divided by the total loss taken on all the losing trades. If a strategy earned 300 rupees across its winners and lost 200 rupees across its losers, its profit factor is 1.5, meaning it won one and a half rupees for every rupee it gave back.
The appeal is obvious. One number, easy to compute, and it answers a question that feels fundamental: did the wins outweigh the losses, and by how much. The trouble is that it answers only that question, and people routinely ask it to answer several others it cannot.
What it measures
The definition in words is short. Add up the money made on every trade that ended in profit. That total is the gross profit. Add up the money lost on every trade that ended in a loss, and take that total as a positive number. That is the gross loss. Profit factor is gross profit divided by gross loss.
A few consequences follow directly from that arithmetic.
- A profit factor of exactly 1.0 means the strategy broke even in gross terms. The winners and losers cancelled out.
- Above 1.0 means the winners summed to more than the losers.
- Below 1.0 means the strategy lost money over the sample.
- If there were no losing trades at all, the denominator is zero and the ratio is undefined. Reports usually show this as a blank or an infinity symbol, and it is almost always a sign of too few trades rather than a flawless strategy.
Notice what is deliberately absent. The formula contains no time, no capital base, and no benchmark. It does not know whether the trades took place over a month or a decade, how much money was tied up producing them, or what a simple buy and hold approach would have done over the same window. It is a ratio of rupees won to rupees lost, nothing more.
How to read it
The useful way to read profit factor is to break it back into the two things that produce it. Profit factor is really the combination of how often a strategy wins and how large the wins are relative to the losses.
Those two levers trade off against each other. A strategy that wins on only three trades in ten can still produce a healthy profit factor if its winners are several times the size of its losers. A strategy that wins on eight trades in ten can produce a profit factor below 1.0 if the two losers are catastrophic. This is why profit factor should always be read next to the win rate and the average size of a win compared with the average size of a loss. Read on its own, it hides which of the two is doing the work, and that distinction matters enormously for how the strategy will feel to run.
Four questions make the number trustworthy or expose it as noise.
How many trades produced it? A profit factor computed from fifteen trades is close to meaningless. Trade results are noisy, and a small sample of them is mostly luck. The same figure computed from several hundred trades across different market conditions carries far more information. Always find the total trade count before you take the ratio seriously.
What happens if you delete the single best trade? This is the most revealing test in trade statistics. Remove the largest winner and recompute. If the profit factor collapses from comfortably above 1.0 to below it, the strategy did not have an edge, it had one lucky position. A robust result survives the removal of its best trade with only a modest dent. The same test applies to the worst trade in the other direction.
Are costs included? Brokerage, securities transaction tax, stamp duty, exchange fees, GST and slippage all subtract from winners and add to losers. That means costs pull the numerator down and push the denominator up at the same time, so they hit profit factor from both sides. A gross profit factor and a net one can be very different numbers for the same strategy, particularly a high-turnover one. If the report does not say which it is, assume nothing. The distinction between gross and net profit and loss is the whole game here.
Over what period, and in what conditions? A profit factor measured entirely inside a rising market tells you how the strategy behaved in a rising market. Splitting the sample into sub-periods, and looking at the figure separately in calm and turbulent stretches, is far more informative than one number for the whole history.
| Situation | What the profit factor is really telling you |
|---|---|
| Above 1.0, hundreds of trades, costs deducted, survives removal of the best trade | A reasonably robust description of past trade economics |
| Above 1.0, few dozen trades | Mostly sampling noise |
| Above 1.0 gross, unknown net | Untested, because costs attack both sides of the ratio |
| Above 1.0 but collapses without the top trade | A single position, not a pattern |
What it does not tell you
Profit factor is silent on almost everything an investor actually experiences.
It says nothing about the path. Two strategies with the identical profit factor can have completely different journeys. One might grind out small gains steadily. The other might sit underwater for two years before a violent recovery. Profit factor cannot distinguish them, because it ignores the order the trades arrived in. For the shape of the ride you need maximum drawdown and a look at the worst stretches.
It says nothing about capital or time. A profit factor of 1.4 earned over ten years is not comparable with the same figure earned over ten months, and neither tells you what return the capital actually produced. Return measures such as CAGR answer that question; profit factor does not even attempt to.
It ignores position size unless size is baked into the trade results. If the rupee results reflect different position sizes, then profit factor is measuring sizing decisions as much as selection. If the results are equal-sized, it is measuring selection alone. These are different claims and the report should make clear which one you are looking at.
It is easy to inflate by holding losers. A strategy that cuts winners quickly and refuses to close losing positions will show a flattering profit factor right up until the open losses are finally realised. Any measure computed only on closed trades can be gamed this way, deliberately or accidentally.
It says nothing about the future. This is the largest limitation and it applies to every backtest statistic. Profit factor describes what a set of rules would have done over a specific past sample under specific assumptions. Rules that fit a sample well can fail outside it, which is the entire subject of overfitting. A high past profit factor is a description, not a promise.
It is blind to whether the trades were even possible. If the strategy assumed fills at prices that a real order could not have achieved, the underlying trade results are fiction and every statistic built on them inherits that. Liquidity and impact matter before any ratio does.
Used properly, profit factor is a quick sanity check and a conversation starter. It tells you the crude economics of a set of trades in one number, which is genuinely useful when you are scanning a report. It is not, and was never designed to be, a verdict on a strategy.
Related reading
- Portfolio and Backtest Metrics, Explained: the hub guide to every metric in a strategy report and what each one hides.
- Win Rate in Investing: why a high hit rate can still lose money, and how win rate and payoff interact.
- Gross Profit and Loss, Explained: what sits between a gross trade result and the money that reaches your account.
- Average Trade Profit, Explained: per-trade economics and why averages mislead when the distribution has fat tails.
- How to Read a Backtest Report: the order to read the metrics in, and the red flags worth pausing on.
This article is educational. Altys Labs is not a registered research analyst or investment adviser, and nothing here is investment advice or a recommendation to buy, sell, or hold any security.
Frequently asked questions
What is profit factor in a backtest?
It is the sum of the profits from every winning trade divided by the sum of the losses from every losing trade, taken as a positive number. A profit factor of 1.0 means the wins and the losses cancelled out exactly. Above 1.0 means the winners were larger in total than the losers, and below 1.0 means the opposite.
What is a good profit factor?
There is no universal threshold, and any specific number quoted as a target should be treated with caution. What matters more is how the figure was produced: how many trades it is based on, whether costs were deducted, and whether a single outsized trade is carrying it. A modest profit factor from hundreds of trades usually says more than a high one from twelve.
Is profit factor calculated before or after costs?
It depends entirely on how the report was built, which is why you should check. Many tools compute it on gross trade results, before brokerage, taxes, and slippage. Costs fall almost entirely on the loss side of the ratio in practice, so a gross profit factor will usually look better than the same strategy measured net.