Performance metrics

Expectancy and Profit Factor: Measuring a Trading Edge

Trading expectancy and profit factor explained: expectancy in money and R, breakeven win rate, why high win rates mislead, and how many trades you need.

Expectancy and profit factor answer the same question from two angles: does this set of trades make money on average, and by how much relative to what it loses. They are the first numbers to check on any backtest or trade history, and the easiest to misread when the sample is small or costs are missing.

Expectancy in money

Expectancy is the average result per trade:

Expectancy = (Win rate × Average win) − (Loss rate × Average loss)

Take a record of 100 trades with 40 winners averaging $250 and 60 losers averaging $100:

  • Gross profit: 40 × $250 = $10,000
  • Gross loss: 60 × $100 = $6,000
  • Net profit: $4,000
  • Expectancy: 0.40 × $250 − 0.60 × $100 = $100 − $60 = $40 per trade

The same answer comes from dividing net profit by the number of trades: $4,000 ÷ 100 = $40. The expectancy calculator computes it from win rate and average win and loss.

Expectancy in R

Money expectancy depends on position size, so it changes every time you change your risk. Expressing results in R, where 1R is the amount risked on the trade, removes that dependence and makes strategies comparable.

If each trade above risked $100, the average win is 2.5R and the average loss is 1R:

Expectancy = 0.40 × 2.5R − 0.60 × 1R = 1.0R − 0.6R = 0.4R per trade

An expectancy of 0.4R means that, on average, each trade returns 40% of the amount risked. That figure stays the same whether you risk $50 or $500 per trade, which makes it the better input for comparing systems and for risk-of-ruin and drawdown simulations.

Profit factor

Profit factor is gross profit divided by gross loss:

Profit factor = Gross profit ÷ Gross loss

In the example, $10,000 ÷ $6,000 = 1.67. A profit factor above 1 means the strategy made money before any costs not already in the figures; below 1 means it lost.

Profit factor and expectancy are linked but not interchangeable. Profit factor is a ratio, so it says nothing about how much the strategy makes per trade or how many trades it took. A profit factor of 3.0 from 12 trades is weak evidence. A profit factor of 1.25 from 2,000 trades may be the more reliable edge, if it survives costs.

Breakeven win rate and payoff ratio

The payoff ratio is average win divided by average loss. Setting expectancy to zero and solving for the win rate gives the breakeven point:

Breakeven win rate = 1 ÷ (1 + Payoff ratio)

Payoff ratio Breakeven win rate
0.5 66.7%
1.0 50.0%
1.5 40.0%
2.0 33.3%
2.5 28.6%
3.0 25.0%

In the example, a payoff ratio of 2.5 needs only a 28.6% win rate to break even. The actual win rate of 40% sits well above that, which is where the positive expectancy comes from. The gap between actual and breakeven win rate is a quick way to see how much room an edge has before costs and variance erase it.

The win-rate trap

A high win rate feels like an edge. On its own it is not one. Consider a strategy that wins 80% of the time with an average win of $50 and an average loss of $250:

  • Payoff ratio: $50 ÷ $250 = 0.2
  • Breakeven win rate: 1 ÷ 1.2 = 83.3%
  • Expectancy: 0.80 × $50 − 0.20 × $250 = $40 − $50 = −$10 per trade
  • Profit factor: $40 ÷ $50 = 0.80

Four out of five trades win, and the strategy still loses money. Strategies that take small profits while holding losers, or that average into losing positions, often produce this profile. Their equity curves can look smooth for months before a few large losses undo the gains. Always read win rate next to payoff ratio, never alone.

How many trades you need

Every metric above is an estimate from a sample, and small samples produce wide error bands.

For win rate, the standard error is √(p × (1 − p) ÷ n). At a true 50% win rate:

Trades Standard error Approximate 95% range
30 9.1 points 32% to 68%
50 7.1 points 36% to 64%
200 3.5 points 43% to 57%

Expectancy has the same problem, scaled by how spread out the trade results are. Suppose a strategy shows 0.4R expectancy with a standard deviation of 1.5R per trade. After 50 trades, the standard error is 1.5 ÷ √50 = 0.21R, so the 95% range runs from about −0.02R to 0.82R and includes zero. After 200 trades, the standard error falls to 0.11R and the range tightens to roughly 0.19R to 0.61R.

These ranges assume trades are independent and drawn from a stable distribution. Real results are less tidy, so treat the ranges as optimistic. If the strategy was chosen from many tested variations, the problem is larger again, as the guide to backtest overfitting explains.

Costs change everything at small R

Expectancy must be measured after spread, commission, swap and slippage. The impact depends on how large a typical stop is. If 1R is a 20-pip stop, one pip of round-trip cost is 0.05R per trade, which trims 0.4R to 0.35R. If 1R is a 5-pip stop, the same pip costs 0.2R, half of the edge in this example. Short-term strategies with tight stops are the most exposed.

The trade log analyzer computes profit factor, win rate and drawdown from a CSV of closed trades and flags small samples and cost sensitivity. Once expectancy is established with a sensible margin of error, the risk of ruin guide shows how to turn it into a position size you can survive. A positive historical expectancy does not guarantee future results.

Key points

  • Expectancy = win rate × average win − loss rate × average loss; express it in R to compare strategies.
  • Profit factor = gross profit ÷ gross loss, and it means little without the trade count.
  • Breakeven win rate = 1 ÷ (1 + payoff ratio); compare it with the actual win rate.
  • A high win rate with a low payoff ratio can still have negative expectancy.
  • Small samples and missing costs can make an edge appear where none exists.