Traders: Calculate Your $7 Edge with the Trading Expectancy Formula
Calculate trading expectancy with concrete examples ($7/trade, 0.09R). Include costs, avoid overfitting, and validate your edge with realistic backtests.
!Geometric illustration of positive trading expectancy
Trading expectancy equals (Win rate × Average win) minus (Loss rate × Average loss) minus costs, and the result tells you the average amount you can expect to make or lose per trade. A positive number means your system has a real edge over time. A negative number means it does not, no matter how good it feels to trade. Costs like commissions and slippage belong inside the math, or the number is fiction.
TL;DR:
- Calculate win and loss rates from closed trades, use positive values for average losses, and include commissions, spreads, slippage, and overnight funding in costs.
- Choose one instrument or basket and timeframe, define outlier rules before reviewing results, and reject samples with no winners or no losses as unreliable.
- A 40% win rate with $150 average wins, $80 average losses, and $5 costs produced $7 expectancy per trade, or roughly 0.09R.
- At a 1R average win, break even requires a 50% win rate; at 2R, it requires 33%, and at 3R, 25%.
- Validate backtests on untouched data and rolling walk forward windows, log every parameter tested, and model realistic fills to limit overfitting and inflated expectancy.
Table of Contents
- How to calculate each input for the expectancy formula
- Worked examples: dollar terms, R-multiples, and a low win rate that wins anyway
- What expectancy actually tells you about your trading future
- Expectancy in R and a quick risk-of-ruin check
- Why your backtest might be lying about its expectancy
- My take on using expectancy as a filter, not a guarantee
- Turn your expectancy calculation into a realistic backtest
- FAQ
- Sources
How to calculate each input for the expectancy formula
Getting a trustworthy expectancy number starts with clean inputs. Each one comes from your trade log, not your memory of how a strategy "felt" while you were trading it.
- Win rate: divide the number of winning trades by total closed trades, then express it as a decimal (24 wins out of 60 trades is 0.40, or 40%).
- Loss rate: 1 minus the win rate, since every closed trade is either a win or a loss.
- Average win: add up the profit from every winning trade and divide by the number of winners.
- Average loss: add up the losses from every losing trade and divide by the number of losers, then treat it as a positive number for the formula.
A few edge cases trip people up. If you have zero losing trades in your sample, you cannot calculate a meaningful average loss, and the sample is too small or too lucky to trust. The same applies in reverse with zero winners.
Costs deserve their own line item, not an afterthought:
- Commissions and exchange or regulatory fees charged per trade.
- The spread you pay crossing the bid-ask on entry and exit.
- Slippage, estimated by comparing your intended fill price to your actual fill price across recent trades.
- Any financing or overnight funding costs for positions held past the close.
On sample selection: pick one instrument or a consistent basket, one timeframe, and enough trades to matter. Decide upfront whether you will exclude outliers, and if you do, write down the rule before you see the result, not after. A simple spreadsheet with columns for entry, exit, profit or loss, and cost per trade will produce every input above with basic SUM and AVERAGEIF formulas.
Worked examples: dollar terms, R-multiples, and a low win rate that wins anyway
Numbers make this concrete. Here is a strategy with 60 closed trades.
- Win rate: 0.40 (24 wins, 36 losses).
- Average win: $150. Average loss: $80. Average cost per trade: $5.
- Expectancy = (0.40 × $150) − (0.60 × $80) − $5 = $60 − $48 − $5 = $7 per trade.
That $7 is your average edge per trade, before you ever consider how many trades you place.
Now convert that into R-multiples, where 1R equals the dollar amount you risk on a typical trade, say $80 (roughly your average loss). The dollar example above becomes: average win = 1.875R, average loss = 1R, costs = 0.0625R. Expectancy in R works out to roughly 0.09R per trade, which is the same edge expressed in risk units instead of dollars. This matters because R-based expectancy travels across account sizes and position sizes without needing to be recalculated.
A counterintuitive case: a strategy that wins only about a quarter of the time with an average win substantially larger than its average loss can produce a high positive expectancy per trade, significantly outperforming strategies with higher win rates but less favorable payoff ratios. According to PropLedger's breakdown of the expectancy formula, a low win rate strategy can be superior to a high win rate one once payoff ratio is factored in, which is exactly what this example shows.
For your own spreadsheet, the checklist is short: pull win count, loss count, average win, average loss, and total costs per trade into four cells, then write one formula that references all four.
!Worked examples: dollar terms, R-multiples, and a low win rate that wins anyway — overview diagram
What expectancy actually tells you about your trading future
A single trade's expectancy is a statistical average, not a promise. Multiply it by the number of trades you plan to take and you get expected total profit (E × N), but that number only becomes reliable as N grows large. A $7 expectancy over 10 trades can easily land negative because of variance. Over 500 trades, the same edge tends to show up much closer to the math.
!Expected profit and variance across trade samples
That variance comes from the spread of individual outcomes around the mean, and small samples simply have not had enough chances to average out. This is why judging a strategy on 15 trades is close to meaningless, and why the Backtestify guidance on how many trades a win rate needs before it means anything is worth reading before you trust any single backtest run.
Position sizing connects directly to expectancy. Sizing each trade as a fraction of account equity tied to your R value keeps a string of losses from compounding into something unrecoverable, which is the core idea behind risk-of-ruin thinking: a positive expectancy system can still lose money if position sizes are too large relative to the account.
Expectancy also is not the whole picture. Profit factor (gross wins divided by gross losses) and Sharpe ratio (return relative to volatility) measure related but different things.
- Profit factor tells you the ratio of money made to money lost, useful for spotting a system that wins big but rarely.
- Sharpe ratio adjusts for how bumpy the equity curve is, which expectancy alone ignores.
- Using expectancy alongside both gives a fuller read than any single metric.
Pro Tip: Track expectancy on a rolling basis (last 50 or 100 trades) rather than as one lifetime number, since market conditions and your own execution both drift over time.
Expectancy in R and a quick risk-of-ruin check
Expressing expectancy in R units strips out account size and lets you compare strategies directly. The formula is E® = (Win rate × Average R multiple) − Loss rate, where average R multiple is your average win expressed in units of risk.
From this you can derive your break-even win rate: 1 ÷ (1 + Average R multiple).
| Average R multiple (win) | Break-even win rate |
|---|---|
| 1R | 50% |
| 2R | 33% |
| 3R | 25% |
- A simplified risk-of-ruin formula for a series of identical fixed-R bets exists, but it assumes independent trades and a fixed risk percentage, which real markets rarely give you cleanly.
- Treat any risk-of-ruin number as directional, not exact, since correlated losing streaks happen more often than pure independence would predict.
- As a rough rule of thumb, risking more than 1 to 2% of account equity per trade starts to push risk-of-ruin uncomfortably high even with a positive expectancy system.
A strategy risking 1% per trade with a positive expectancy in R can still face meaningful drawdowns, which is why sizing discipline matters as much as the edge itself.
Why your backtest might be lying about its expectancy
Overfitting is the single biggest reason a backtested expectancy number falls apart in live trading. Test enough parameter combinations on the same historical data and some combination will look great by chance alone, a problem sometimes called the "best of N trials" issue. The fix is discipline: log every configuration you test, limit how many variations you try, and favor settings that work across a plateau of nearby parameters rather than a single sharp peak.
Costs are the second-biggest gap between backtest and reality. Regulators have taken this seriously: SEC enforcement action against Raymond J. Lucia Companies centered on backtested performance presentations that omitted material cost assumptions, producing results that materially misstated what a real account would have experienced. The lesson applies to anyone backtesting a personal strategy, not just registered firms: if your backtest does not model commissions, spreads, slippage, and funding costs, your expectancy number is inflated.
A short checklist before trusting any expectancy figure:
- Hold out a chunk of data you never touched during development and score your final rules only on that segment.
- Run a walk-forward test that re-optimizes periodically on rolling windows instead of one static in-sample period.
- Model fills realistically, including the slippage and spread you would actually pay.
- Log every parameter set you tried, not just the winner.
Before trusting the sample size itself, it helps to run a basic check on the distribution of your wins and losses. The NIST handbook on exploratory data analysis outlines standard diagnostics for spotting outliers and unstable averages, which is exactly the kind of check that should happen before you report an average win or loss as fact.
Pro Tip: A backtest that only looks good on one narrow date range is not a strategy, it is a story about one specific market period.
My take on using expectancy as a filter, not a guarantee
I treat expectancy as a filter, not a verdict. A positive number clears a strategy for position sizing and further testing, never for skipping sample-size checks or cost modeling. I weigh it against variance: a thin edge over a handful of trades tells me almost nothing, while the same edge sustained across hundreds of trades and multiple market regimes earns real confidence. Expectancy without risk controls is just a number waiting to be undone by one oversized position.
— WAJDI
Turn your expectancy calculation into a realistic backtest
Doing this math by hand on a spreadsheet works, but it is slow, and it is easy to skip the cost modeling that makes the difference between a real edge and an illusion. We built Backtestify to run the full calculation for you against real historical data, with commissions, spreads, and slippage modeled into every trade before win rate, profit factor, and max drawdown ever reach your screen.

Our platform lets you:
- Enter a strategy in plain English and see its backtested win rate, average win, average loss, and expectancy computed automatically.
- Run walk-forward tests so your expectancy number reflects performance across multiple time windows, not one lucky stretch.
- Compare an original strategy against an improved version side by side on the same historical data.
- Browse a published strategy library showing full results, winners and losers alike, for strategies drawn from popular trading content creators.
If you want the step-by-step mechanics first, our guide to backtesting a trading strategy walks through the process, and our methodology page explains exactly how we model fills and costs. A Pro subscription unlocks unlimited backtesting, improvement, and forecasting; current prices can be found on the pricing page, and a free tier is available to get started at Backtestify.
FAQ
What is the expectancy formula?
Expectancy equals (Win rate × Average win) minus (Loss rate × Average loss) minus per-trade costs, giving you the average profit or loss you can expect on each trade. A result above zero signals a real edge, according to the expectancy framework from PropLedger, while a result at or below zero means the system has no measurable edge once costs are counted.
What is the 3-5-7 rule in trading?
Definitions vary across sources, so treat the exact figures as a starting framework rather than a fixed standard.
Is it possible to make $10,000 a month day trading?
It depends entirely on account size, expectancy per trade, and the number of trades taken, since a positive expectancy system still needs enough capital and trade volume to produce a specific dollar figure. There is no fixed income level tied to day trading itself, and consistent monthly profit targets are a function of your own calculated edge and risk per trade, not a general outcome.
What is the 3-6-9 rule in trading?
Definitions vary across sources, so treat the exact figures as a starting framework rather than a fixed standard.
How many trades do I need before I trust my expectancy number?
A handful of trades cannot separate skill from luck, since short samples carry wide variance around the true average. Our breakdown of how many trades a win rate needs before it becomes meaningful walks through practical sample-size guidance for this exact question.
Sources
- Expectancy: The One Formula That Connects Win Rate, Payoff, and Costs | PropLedger
- Raymond J. Lucia Companies, Inc.; and Lucia, Raymond J., Sr. — SEC litigation document
- NIST Handbook of Statistical Methods — Exploratory data analysis