Calculator · Performance
Profit factor calculator
Profit factor compares everything a set of trades won with everything it lost. Paste your results to get it together with the totals behind it.
Short answer
Profit factor = gross profit ÷ gross loss. The default list wins $985 and loses $595, so the profit factor is 1.66. Above 1 the sample made money, below 1 it lost, and with no losing trades the ratio is undefined.
Profit factor calculator
Paste one net trade result per line in dollars (or points, or R — any one unit). Use a minus sign for losses. Runs in your browser.
Formula
- Gross profit = sum of all positive trade results.
- Gross loss = absolute value of the sum of all negative results.
- Profit factor = gross profit ÷ gross loss (undefined if gross loss is 0).
Use one unit throughout. If position size changed between trades, compute it on R-multiples so a single large trade doesn't dominate.
Worked examples
| Trades | Gross profit | Gross loss | Profit factor |
|---|---|---|---|
| Default list (10 trades) | $985 | $595 | 1.66 |
| +2R, −1R, −1R, −1R, +2R | 4R | 3R | 1.33 |
| +$50, +$80, +$40 | $170 | $0 | Undefined |
Frequently asked questions
Is a profit factor of 3 good?
It means the sample won three dollars for each dollar lost, but on 15 trades that can easily be luck. Judge it alongside sample size and out-of-sample results.
Should results be net of fees?
Yes. Gross-of-fee results overstate the profit factor, especially for strategies with small average trades.
How is it different from expectancy?
Expectancy is the average result per trade; profit factor is a ratio of totals. Two strategies can share a profit factor and have very different expectancy per trade.