Testing and analysis
Profit Factor Explained: Calculation and Useful Checks
Published Updated ForeXpert team日本語で読む

Profit factor compares the total money made on winning trades with the total money lost on losing trades. A value above 1 means the profits exceeded the losses under the calculation's assumptions. It does not establish that a strategy is safe, dependable or likely to perform similarly in the future.
This guide explains the formula, works through fictional examples and gives you a practical review sequence. Rather than treating 1.5 or 2 as a universal passing grade, ask which trades produced the number and whether the comparison includes the costs and risks you care about.
How to calculate profit factor
Add the results of profitable trades, then divide by the absolute value of the sum of losing trades. The MetaTrader 5 trading-report documentation describes the measure as a ratio of total profit to total loss.
Profit factor = total profit ÷ absolute total loss
For a fictional example, suppose closed trades produced $1,500 in profits and $1,000 in losses. The calculation is 1,500 ÷ 1,000 = 1.50. Use $1,000 as the denominator even if your spreadsheet stores the losses as −$1,000. These figures illustrate arithmetic; they are not trading results.
Deposits and withdrawals do not belong in either total. Decide whether your report covers closed trades only or also contains open-position valuations. All examples here use closed trades, with no open positions included.
To calculate profit factor from a list of results, together with win rate and maximum drawdown, use our backtest results calculator.
| Value | What it establishes within the calculation | What remains unanswered |
|---|---|---|
| Below 1 | Losses exceeded profits | Whether another period behaves similarly |
| Exactly 1 | Profits and losses were equal | Whether uncounted costs change the result |
| Above 1 | Profits exceeded losses | Future profitability and the path of losses |
Check how your tool treats commissions, financing and other charges. Report sections can use different definitions. A ratio above 1 is a statement about the inputs, so do not call it profitable after all costs until you have checked those inputs.
If there are no losing trades, the denominator is zero. A finite ordinary profit factor is undefined. An empty field or an infinity symbol does not establish that losses are impossible. Check how many trades were observed, how much history was covered and whether losing positions remain open.
Why there is no universal good profit factor
Profit factor does not contain the order of the trades. Two records can have identical profit and loss totals while producing very different drawdowns. Losses clustered near the beginning create a different experience from losses spread between profitable trades.
It also does not reveal how many opportunities were observed. A handful of trades can produce an impressive ratio because one trade made a large profit. Selecting every test above an arbitrary threshold can therefore reward small, fortunate samples rather than a well-understood rule.
Before comparing values, align the period, position-sizing policy, cost assumptions and trade-counting convention. If one test uses larger positions on its winning trades or excludes losing examples, its higher ratio is answering a different question. Record the differences instead of hiding them in a ranking.
There is another common aggregation mistake: averaging monthly ratios. To obtain the full-period profit factor, add all monthly profits and divide by all monthly loss magnitudes combined. Months have different loss totals, so their ratios do not generally deserve equal weight.
Worked example: equal ratios, different dependence
Consider two fictional records using the same position-sizing policy and a consistent treatment of costs. Both have $1,500 in total profits and $1,000 in total losses. Their headline profit factor is identical, but the largest winning trade contributes very differently.
| Item | Example A | Example B |
|---|---|---|
| Total profit | $1,500 | $1,500 |
| Absolute total loss | $1,000 | $1,000 |
| Profit factor | 1.50 | 1.50 |
| Largest single profit | $150 | $900 |
| Ratio excluding that profit | 1.35 | 0.60 |
For A, (1,500 − 150) ÷ 1,000 = 1.35. For B, (1,500 − 900) ÷ 1,000 = 0.60. Removing the largest profit here is a sensitivity check, not a proposal to erase a legitimate trade from the official record.
Some rules intentionally depend on infrequent, large wins. Removing those outcomes without understanding the strategy would misrepresent it. Keep the original result and investigate whether similar opportunities occurred in other periods, and whether the rules could identify them without hindsight.
Do not remove inconvenient losing trades while keeping all winning ones. If an exclusion rule needs investigation, define it before the next evaluation and preserve the initial result. Our guide to backtest overfitting explains why outcome-led exceptions can make a record look stronger without improving the underlying process.
Four checks before you judge the result

1. Align the inputs and costs
Write down the dates, instruments, position-sizing rule and definition of a completed trade. Clarify which costs are already embedded in execution prices and which are charged separately. A record based on actual bid and ask fills needs different handling from a midpoint-only chart exercise.
If you apply costs afterwards, update every trade and classify it again before rebuilding the profit and loss totals. A small positive result can become a loss after costs. Simply subtracting the cost total from the old numerator would miss that change in classification.
2. Read the trade count and time coverage
Keep total trades, wins and losses beside the ratio. Many trades from one brief market episode do not necessarily cover a broad range of conditions. When you split a record by month or another predefined interval, retain each subgroup's count as well.
A disappointing ratio from a small sample is not automatically a reason to add filters. Finish the scope you decided in advance, then review it. Our guide to backtest sample size discusses why trade count and calendar coverage answer different questions.
3. Inspect concentration and the path of losses
Read maximum drawdown, consecutive losses, average win and average loss alongside profit factor. The ratio does not state a maximum loss per trade. Nor does a closed-trade balance summary necessarily capture the deepest unrealized loss during an open position.
The same win rate and payoff can lead to very different drawdowns depending on how much of the balance each trade risks. Our risk of ruin calculator lets you compare those risk levels.
Investigate whether a few trades or one short period support most of the profit. Keep any sensitivity calculations separate from the original report. The purpose is to understand dependence, not to produce a more flattering replacement figure.
4. Check unchanged rules on another period
Write any improvement as a hypothesis and freeze the revised conditions before evaluating them elsewhere. Save weak results as well as strong ones. If the ratio changes, ask whether costs increased, average profits fell, losses grew or the mix of opportunities changed.
ForeXpert supports historical chart practice and statistics including profit factor, trade count, average profit and loss, and maximum drawdown. Use those numbers alongside a separate note of your rule version and decision reasons. A statistics screen can summarize outcomes, while your notes explain how the decisions were made.
Frequently asked questions
Can a low win rate produce a high profit factor?
Yes, if the winning trades are large enough relative to the losing ones. That still leaves questions about losing streaks and dependence on rare profits. The trading-expectancy guide shows how win frequency and outcome size combine to determine the average result.
Can I compare different currency pairs?
You can calculate the ratio for each, but differences in periods, costs, sample sizes and position sizing complicate the comparison. Put the assumptions in the same table and identify anything that is not comparable. A higher number alone is insufficient grounds for choosing an instrument.
Summary
Start with the relationship to 1, then examine costs, sample size, profit concentration and drawdown. Backtest results do not guarantee future performance, and live trading involves the risk of loss.
For your next review, place trade count, cost assumptions and maximum drawdown beside profit factor. That small change turns a single-number verdict into a record you can explain and investigate.


