The break-even win rate is the winning share among wins and losses that makes expectancy zero. Before costs it equals average loss ÷ (average win + average loss), which is the same as 1 ÷ (1 + payoff ratio). That gives 50% at a payoff of 1, 40% at 1.5 and 33.3% at 2. With no before-cost zero-result trades and the same average cost c on wins and losses, it becomes (average loss + c) ÷ (average win + average loss), using before-cost averages and win share.
The threshold joins how often trades win with how large wins are relative to losses, two metrics the trading metrics library covers separately. A measured win rate above it means positive expectancy in that sample, not a forecast of the next trade.

Break-even win rate at a glance
- Definition: the win rate at which expectancy per trade is exactly zero.
- Formula, before costs: AL ÷ (AW + AL) = 1 ÷ (1 + payoff ratio), where AW is the average win and AL the average loss.
- Formula, with costs: (AL + c) ÷ (AW + AL), using before-cost averages and win share, no before-cost zero-result trades, and the same average cost c on wins and losses.
- In R-multiples: with a 1R loss, an average win of T R and a cost of c R per trade, (1 + c) ÷ (T + 1).
- Compare it with: wins ÷ (wins + losses), classified on the same cost basis as the averages.
- Where the inputs appear: average profit and average loss in TradingView's strategy report; Average profit trade and Average loss trade in the MetaTrader 5 Strategy Tester report; Reward-to-risk in PineConnector Analytics.
How do you calculate the break-even win rate?
Break-even win rate = AL ÷ (AW + AL) = 1 ÷ (1 + payoff ratio), before costs
AW is gross profit ÷ winning trades and AL is gross loss ÷ losing trades, written as a positive amount. The payoff ratio is AW ÷ AL, measured from closed trades, as the payoff ratio guide explains. W and L are the win and loss rates as decimals of the same trade count.
The formula comes from setting expectancy to zero. PineConnector's Analytics guide writes expectancy as (win rate × average win) − (loss rate × average loss), and states the before-costs result for a simplified case with the same win size and the same loss size each time.[1] MetaTrader 5 reports the same average result per trade as Expected Payoff.[2]
- Start from E = (W × AW) − (L × AL).
- Count only wins and losses, so L = 1 − W.
- Set E = 0: W × AW = (1 − W) × AL.
- Collect the W terms: W × (AW + AL) = AL, so W = AL ÷ (AW + AL).
- Divide the top and bottom by AL: W = 1 ÷ (AW ÷ AL + 1) = 1 ÷ (1 + payoff ratio).
Breakeven trades. This page counts a trade that closes at exactly zero as neither a win nor a loss. TradingView's Percent profitable keeps such even trades in the total but not among the winners.[3] With breakevens in the list, W and L no longer add up to 1. Using net averages, compare the threshold with net wins ÷ (net wins + net losses), as the win rate guide shows.
A trade that is flat before costs can become a net loss, so do not discard it before deducting costs. The cost-added examples below assume no before-cost zero-result trades. With only zero results or no closed trades, the win/loss comparison is undefined. Estimating both averages also requires at least one win and one loss.
Planned versus realised. A planned risk-reward is (target − entry) ÷ (entry − stop) for a long. It matches the payoff ratio in the simplified case where every trade uses that ratio, risks the same amount and exits exactly at its stop or target, before costs. How to calculate risk-reward ratio explains why the two drift apart.
What win rate do you need for each risk-reward ratio?
The table applies both formulas to payoffs from 0.25 to 5. The cost column assumes a 1R average loss, so the payoff equals the average win in R, and an illustrative cost of 0.1R on every trade.
Scroll horizontally to read every column.
| Payoff ratio (average win ÷ average loss) | Break-even win rate, before costs | With a 0.1R cost per trade |
|---|---|---|
| 0.25 | 80.0% | 88.0% |
| 0.5 | 66.7% | 73.3% |
| 1.0 | 50.0% | 55.0% |
| 1.5 | 40.0% | 44.0% |
| 2.0 | 33.3% | 36.7% |
| 3.0 | 25.0% | 27.5% |
| 4.0 | 20.0% | 22.0% |
| 5.0 | 16.7% | 18.3% |
A risk-reward ratio of 1:2, with the target twice the stop distance, therefore needs 33.3% before costs if every trade exits at its stop or target. The thresholds flatten as payoff grows: from a payoff of 1 to 2 the threshold falls 16.7 percentage points, from 2 to 3 it falls 8.3 and from 3 to 4 it falls 5.0.
Each row is a threshold, not a forecast. The table says nothing about how often a particular rule reaches its target, and moving a target usually changes how often trades win.
How do trading costs change the break-even win rate?
Costs come off every trade, winners and losers alike. Let c be the average cost per trade: spread, commission, swap and slippage not already inside AW and AL. After costs, a win nets AW − c and a loss costs AL + c.
- Break-even after costs: W × (AW − c) = (1 − W) × (AL + c).
- Move the W terms together: W × (AW − c) + W × (AL + c) = AL + c.
- The cost terms cancel on the left: W × (AW + AL) = AL + c.
- Divide: W = (AL + c) ÷ (AW + AL).
Break-even win rate with costs = (AL + c) ÷ (AW + AL), with AW and AL measured before costs
The denominator does not change, so a cost adds exactly c ÷ (AW + AL) to the before-costs threshold. In R terms the result is (1 + c) ÷ (T + 1), and the cost adds c ÷ (T + 1). The same 0.1R cost therefore adds 6.7 percentage points at a payoff of 0.5, but only 1.7 points at a payoff of 5.
Net averages give the same answer when costs preserve the win/loss groups. In that case, applied to net averages AW − c and AL + c, the plain formula 1 ÷ (1 + payoff) also reduces to (AL + c) ÷ (AW + AL). Use one method or the other. Adding c to averages that already include costs counts the cost twice. The single-c formula assumes wins and losses carry the same average cost. When costs differ or change which trades win, rebuild the net win/loss groups and apply 1 ÷ (1 + payoff) to their net averages, comparing it with the net win share. A cost at or above AW makes positive expectancy unattainable in the fixed-average model.
A fixed cost weighs more on a tight stop. Measured in R, a cost is its size divided by the stop distance. A 2-pip round-trip cost is 0.2R on a 10-pip stop but 0.04R on a 50-pip stop. The transaction costs guide breaks the round trip into its parts.

Where costs enter a record decides which formula applies:
- TradingView: the broker emulator applies no commission unless the strategy or its Properties settings specify one.[4] The slippage property adds ticks to market and stop fills and can be used to account for the spread.[5]
- MetaTrader 5 Strategy Tester: commission can be set per lot or per deal, in money, percentage or points.[6]
- A live MT5 account: a security is generally bought at the Ask and sold at the Bid.[7] The spread is therefore inside the recorded fill prices; see the bid-ask spread guide.
Worked example: a 40% break-even win rate becomes 44%
Illustrative example, not a recommendation or a strategy result. A trade list has winners averaging 150 USD and losers averaging 100 USD, both before costs. Costs average 10 USD per trade. The list has no breakeven trades.
- Payoff ratio: 150 ÷ 100 = 1.5.
- Before costs: 100 ÷ (150 + 100) = 100 ÷ 250 = 40%.
- With costs: (100 + 10) ÷ (150 + 100) = 110 ÷ 250 = 44%.
- Check with net averages: a win nets 140 USD and a loss costs 110 USD, so 110 ÷ (140 + 110) = 44%.
- Check the balance at 44%: (0.44 × 140) − (0.56 × 110) = 61.6 − 61.6 = 0 USD per trade.
- The same case in R: with 1R = 100 USD, (1 + 0.1) ÷ (1.5 + 1) = 1.1 ÷ 2.5 = 44%.

A win rate of 42% sits between the two thresholds. Before costs, (0.42 × 150) − (0.58 × 100) = 63 − 58 = 5 USD per trade. After costs, (0.42 × 140) − (0.58 × 110) = 58.8 − 63.8 = −5 USD, the before-costs figure minus the 10 USD cost. The calculator below starts from these inputs; use one unit for all three, account currency or R.
Calculator
Break-even win rate calculator
Break-even win rate = (AL + c) / (AW + AL)
AW and AL are the average win and the average loss before costs. c is the total round-trip cost per closed trade, assumed equal on wins and losses. With c = 0 the formula becomes AL / (AW + AL) = 1 / (1 + payoff). Use one unit for all three inputs: account currency, or R with AL = 1. Do not add costs already included in the averages.
Worked example with the default inputs.
- Break-even win rate with costs
- 44.00%
- Break-even win rate before costs
- 40.00%
- Added by costs (percentage points)
- 4.00
- Payoff ratio (AW / AL)
- 1.50
Working (100 + 10) / (150 + 100) = 44.00%
Illustrative calculator. Not a recommendation.
Where do TradingView, MT5 and PineConnector show the inputs?
As of 25 September 2026, each platform reports the averages and the win rate under its own names.
- TradingView: the strategy report shows Percent profitable and the average profit and average loss per trade. TradingView calls their ratio, Average profit / average loss, the strategy's payoff efficiency.[8] An even trade is one whose profit after slippage and commissions is exactly zero.[9] The modelled costs therefore decide which trades count as wins. See the strategy report metrics guide.
- MetaTrader 5: the Strategy Tester report defines Average profit trade as the total of profits divided by the number of winning trades, and Average loss trade likewise. It also shows Profit Trades (% of total) and Expected Payoff, and Total Trades counts deals that fixed a profit or loss.[2] See the MT5 report guide.
- PineConnector: the guide to Analytics in the PineConnector Portal lists Win rate and Reward-to-risk among its performance metrics for connected MT5 accounts. The Analytics guide tabulates the breakeven win rate for reward-to-risk from 0.5:1 to 10:1, before costs. It requires MT5 EA v3.41 or later, and the published guide says it is not available for MT4.[1] How Analytics counts breakevens, partial closes and costs is not documented; test on demo and compare it with the account's MT5 history.
In Pine Script v6, strategy.avg_winning_trade and strategy.avg_losing_trade return the average money gained per winning trade and lost per losing trade.[10] TradingView's own example divides the first by the second to show average win ÷ average loss.[4] Illustrative sketch; not compiled or tested. Added to a strategy's own logic, these lines are intended to display the realised threshold next to wins ÷ (wins + losses):
//@version=6
strategy("Break-even win rate readout", overlay = true)
// Your own entry and exit logic goes here.
float aw = strategy.avg_winning_trade
float al = strategy.avg_losing_trade
int decided = strategy.wintrades + strategy.losstrades
float winShare = decided > 0 ? strategy.wintrades / decided : na
float breakEven = aw + al > 0 ? al / (aw + al) : na
if barstate.islastconfirmedhistory or barstate.isrealtime
var table t = table.new(position.top_right, 2, 2)
table.cell(t, 0, 0, "Wins / (wins + losses)")
table.cell(t, 1, 0, str.format("{0, number, #.#%}", winShare))
table.cell(t, 0, 1, "Break-even win rate")
table.cell(t, 1, 1, str.format("{0, number, #.#%}", breakEven))
The readout already includes whatever commission and slippage the strategy's properties model, and no commission when none is set. Add c only for costs those properties leave out, such as swap; adding modelled costs again counts them twice.
How do the stops and targets in an alert set the planned break-even win rate?
In an automated workflow, the idea becomes a measurable rule, the rule becomes a TradingView alert and the alert leads to an MT5 order request. The stop and target written into the alert fix the planned payoff before any trade exists.
Illustrative message, not a recommendation. Use a connected demo setup first. Choose your own broker symbol, size and exits, replace LicenseID with the intended connection ID, and confirm every account attached to it. This is not an instruction to place a live trade. Paste destination: the TradingView alert's Message field.[11]
LicenseID,buy,EURUSD,vol_lots=0.50,sl_pips=20,tp_pips=30
PineConnector's syntax guide measures sl_pips and tp_pips in PineConnector pips from the entry. At an illustrative EURUSD entry of 1.10000 with a 0.00010 pip, the requested stop is 1.09800 and the target 1.10300, levels the broker must still accept.[11] The guide's EURUSD example uses 10 USD per pip per 1.00 lot.[11] At 0.50 lots that is a planned loss of 100 USD and a planned win of 150 USD. Contract size is broker-specific; the lot size guide shows where to check it.
The planned break-even win rate is 20 ÷ (30 + 20) = 40% before costs. A 2-pip average cost, 10 USD at 0.50 lots, makes it (20 + 2) ÷ (30 + 20) = 44%: the worked example above. The realised figure then drifts from the plan:
- Exits before the target, such as a signal exit or a trailing stop, shrink the average win.
- Slippage on stop exits enlarges the average loss; see the slippage guide.
- Breakeven stops create near-zero results that costs then classify. PineConnector's guide notes that a breakeven price does not ensure zero net loss after costs or execution differences.[11]
- Partial closes add more than one result per position, because MT5 counts deals that fixed a profit or loss.[2]
PineConnector's spread= parameter filters out an entry when the spread at arrival, (Ask − Bid) ÷ pip size, is above the limit in PineConnector pips. Passing the filter is not a confirmed order.[11] The filter checks one cost, the spread when the alert arrives. It does not limit commission, swap, slippage or the spread at exit.
The alert triggering, webhook delivery, PineConnector processing, the EA's order request, and broker acceptance and the fill are separate events. A trade that fails at any of them changes the account's trade list, so recompute the threshold from the account's closed trades, not from the message. Automating a rule executes it; it does not change the threshold or create an edge.
Is a win rate above break-even enough evidence?
A measured win rate is an estimate. For independent decided trades with a stable win probability, the estimated standard error of a win rate W over N decided trades is √(W × (1 − W) ÷ N).[12] A 95% margin is about 1.96 standard errors, the standard normal value that leaves 2.5% in each tail.[13] Illustrative numbers: a measured 48% win rate against the 44% threshold from the worked example.
| Decided trades (wins + losses) | 95% margin, about | Range around 48% |
|---|---|---|
| 100 | ±9.8 points | 38.2% to 57.8% |
| 400 | ±4.9 points | 43.1% to 52.9% |
| 1,000 | ±3.1 points | 44.9% to 51.1% |
Only the 1,000-trade range lies wholly above 44%, and even that range is a statement about the rate behind this sample, not a forecast of future trades. NIST's handbook favours the Wilson interval, recommended by Agresti and Coull, over this approximation, partly because the Wilson lower limit cannot be negative.[12] The payoff ratio is an estimate too, so the threshold itself is uncertain. Dependence between trades or changing conditions can invalidate these binomial intervals. The backtest sample size guide goes further.
What are the common mistakes with the break-even win rate?
- Counting costs twice: adding c to averages that already include costs overstates the threshold.
- Using the planned ratio: the alert's stop and target give a plan; the realised payoff from closed trades sets the threshold for the record.
- Treating costs as fixed: spreads vary and commission can be charged per lot or per deal.[6] Swap is charged when a position rolls over to the next day, with a multiplier for each weekday.[14] See the swap guide.
- Trusting averages alone: TradingView warns that a 90% win rate can still lose money if the few losses are very large.[3] A short sample may not contain the large loss yet.
- Moving exits to change the count: a closer target changes both the win rate and the payoff. Expectancy after costs, not the win rate alone, shows whether the change did anything.
- Reading break-even as a goal: a win rate exactly at the threshold means zero expectancy, before any sampling error.
Frequently asked questions
What is the breakeven win rate formula?
The breakeven win rate formula is average loss ÷ (average win + average loss), which equals 1 ÷ (1 + payoff ratio) before costs. The cost-added formula is (average loss + c) ÷ (average win + average loss), assuming no before-cost zero-result trades and the same average cost c on wins and losses. Compare with wins ÷ (wins + losses) on the same cost basis as the averages.
What win rate do you need with a 1:2 risk-reward ratio?
With a 1:2 risk-reward ratio, where the target is twice the stop distance, the break-even win rate is 1 ÷ (1 + 2) = 33.3% before costs, if every trade exits at its stop or target. An illustrative cost of 0.1R per trade moves it to 1.1 ÷ 3 = 36.7%. Early exits and slippage change the realised figure.
Is there a minimum win rate for trading?
There is no universal minimum win rate. Positive expectancy needs a win rate above the break-even win rate for the payoff ratio after costs. Before costs, a 40% win rate is above break-even at a payoff of 2, where the threshold is 33.3%, and below it at a payoff of 1, where the threshold is 50%. Neither figure predicts future results.
How do trading costs affect the break-even win rate?
With no before-cost zero-result trades and the same average cost c on wins and losses, costs raise the threshold by c ÷ (average win + average loss), using before-cost averages and win share. In R terms, a 0.1R cost adds 5.0 percentage points at a payoff of 1 and 1.7 points at a payoff of 5. If the averages already include costs, apply 1 ÷ (1 + payoff) to them instead of adding c.
Do breakeven trades count toward the break-even win rate?
Trades with exactly zero net result drop out of the net break-even comparison: use net wins ÷ (net wins + net losses). A trade flat before costs can become a net loss and must be retained when rebuilding net averages. TradingView's Percent profitable keeps even trades in the total but not among the wins, so it can read lower than that share. MetaTrader 5's report help does not say how a zero-result deal is classified.
Reviewed 25 September 2026. Facts were checked against the linked sources on that date. Nothing in this article was tested on a trading account and no code was compiled.
Related reading
- Trading metrics: the complete library
- Payoff ratio: average win divided by average loss
- How to calculate risk-reward ratio, planned and realised
- Transaction costs in algorithmic trading
- Win rate in trading: formula, break-even point and limits
Sources
- PineConnector – Trading analytics, accessed 25 September 2026.
- MetaQuotes – Testing Report (MetaTrader 5 Help), accessed 25 September 2026.
- TradingView – Percent profitable, accessed 25 September 2026.
- TradingView – Strategies (Pine Script v6 User Manual), accessed 25 September 2026.
- TradingView – Strategy properties, accessed 25 September 2026.
- MetaQuotes – Strategy Testing (MetaTrader 5 Help), accessed 25 September 2026.
- MetaQuotes – Basic Principles (MetaTrader 5 Help: Trading Operations), accessed 25 September 2026.
- TradingView – Average profit / average loss, accessed 25 September 2026.
- TradingView – Even trades, accessed 25 September 2026.
- TradingView – Pine Script v6 Reference Manual: strategy.* trade statistics, accessed 25 September 2026.
- PineConnector – PineConnector Syntax: stops, targets, breakeven and spread, accessed 25 September 2026.
- NIST/SEMATECH – e-Handbook of Statistical Methods: confidence intervals for proportions, accessed 25 September 2026.
- NIST/SEMATECH – e-Handbook of Statistical Methods: cumulative distribution function of the standard normal distribution, accessed 25 September 2026.
- MetaQuotes – Market Watch (MetaTrader 5 Help): symbol specification and swap rates, accessed 25 September 2026.
PineConnector executes the instructions you send it. It does not select trades, manage money, or hold funds. Trading carries risk, and past performance of any strategy does not indicate future results.