Calculator

Win rate calculator for closed trades

Count closed trades by result and get the share that won. Add the average win and the average loss to see the payoff ratio and the average result per trade. The arithmetic is exact.

Calculator

Digits and a decimal point only, no thousands separators. Dates are written YYYY-MM-DD. Fields marked optional can stay empty.

Win rate, all trades (%)
–
Win rate, excluding break-even trades (%)
–
Loss rate, all trades (%)
–
Trades counted
–
Payoff ratio (average win / average loss)
–
Average result per trade
–

Arithmetic only. Not tax, financial or investment advice. Nothing you enter leaves your browser.

In short. Win rate is the share of closed trades that finished with a gain. It equals winning trades divided by all trades, times 100. The example of 42 wins, 38 losses and 5 break-even trades gives 49.41 percent, or 52.50 percent when the break-even trades are left out. Win rate counts results and does not show their size.

The formula

win rate = winning trades ÷ (wins + losses + break-even trades) × 100

  • The second line of the result leaves break-even trades out: wins ÷ (wins + losses) × 100.
  • Payoff ratio = average win ÷ average loss. Average result per trade = (wins × average win − losses × average loss) ÷ all trades, with break-even trades counted as zero. Both appear only when both averages are entered.
  • The average loss is entered as a positive number.

Worked example

One invented record, with the figures the calculator gives for it. The "Load the example" button fills in the same values. Each figure was produced at build time by the function the calculator runs.

Inputs
FieldValue
Winning trades42
Losing trades38
Break-even trades5
Average win120.00
Average loss (as a positive number)95.00
Results
FigureResult
Win rate, all trades (%)49.41
Win rate, excluding break-even trades (%)52.50
Loss rate, all trades (%)44.71
Trades counted85
Payoff ratio (average win / average loss)1.26
Average result per trade16.82

Rounding and exactness

  • Rounding rule: half up. Money is shown to 2 decimals, per-share amounts to 4, and percentages and ratios to 2. Each figure is rounded once, from the exact result.
  • No floating point. Each number you type is read as exact decimal text and held as a scaled whole number (BigInt). Sums, products and divisions are whole-number arithmetic.
  • Input limits. Digits and one decimal point, at most 40 characters per number, and digits only for counts. Anything else is flagged and never guessed.
  • Tested against a reference. The function is run against 16 test vectors for this calculator (plain cases, rounding ties, very large numbers, invalid input), computed independently with Python's decimal module.

What it does not do

  • The calculator takes the counts you enter. What counts as a win, a loss or a break-even trade is your decision, and so is how a partial fill, a scale-in or a multi-leg position is counted.
  • The figures describe closed trades. They are not a forecast.
  • Win rate counts results and not their size. Two records with the same win rate can have different totals.

Common questions

Does win rate show whether trading is profitable?
No. It counts results and not their size. The payoff ratio and the average result per trade, which need the two averages, bring the size of wins and losses in.
How are break-even trades treated?
They count in the total for the first win rate and are left out of the second. In the average result per trade they count as zero.
Why is the average loss a positive number?
The formula subtracts it. Entering 95 means an average loss of 95.
Where do the counts come from?
From your own records. A broker statement lists each trade, and a trading journal can total wins and losses.

Where the numbers come from

Wins and losses start as trades on a statement. Statementizer reads supported broker statement PDFs into rows you can review, and the journal template totals completed trades.

See how Statementizer works

Sources

The calculation is arithmetic, so there is no regulator or vendor to cite for it. These are the references for how it is implemented and checked.

Verified on 2026-11-12 by the Statementizer Team.