Trade Sample Size Calculator
Most traders draw conclusions from 20 or 30 trades. This shows how wide the error bars still are at that point, and how many more trades close them.
- Trades still to collect
- 320
- Margin of error on your current sample
- 12.6%
The formula
n = (1.96² × p(1 − p)) ÷ Margin of error²
How to use it
- 1.Enter your observed win rate.
- 2.Enter the precision you want — ±5 percentage points is a reasonable bar.
- 3.Enter your current trade count to see where you stand.
A worked example
The numbers the calculator above loads with, worked through — so the arithmetic is visible even before you change anything.
| Observed win rate (%) | 45 |
| Acceptable margin of error (±%) | 5 |
| Trades you have so far | 60 |
| Trades needed for that confidence | 380 |
| Trades still to collect | 320 |
| Margin of error on your current sample | 12.6% |
What it actually costs to trust a win rate
Most traders size and judge a strategy off a win rate drawn from a sample far too small to support the confidence placed in it. The reason is the margin of error's relationship to trade count isn't linear — it's a square, which means a modest improvement in precision costs a dramatically larger sample. These views show that curve directly, work the formula, and show how fast the margin actually shrinks as trades accumulate.
Precision is bought with a square, not a line
4×
the trades needed to halve the margin of error, at any starting precision
Enter a 45% win rate with a ±10% target margin: the calculator returns 95 trades needed. Halve the margin to ±5% and it returns 380 — exactly four times as many, because the margin is squared in the formula's denominator.
The calculation, left to right
What the margin actually looks like at a real trade count
A 45% win rate, watched as the sample grows
An illustrative walk-through with round numbers, not a specific trader's log — the point is how much the uncertainty around one measured win rate shrinks as more trades accumulate.
- 1
After 20 trades
±21.8%
The win rate reads 45%, and the margin of error is ±21.8 points — the true rate could be anywhere from 23% to 67%. This is not a number to size a strategy from.
- 2
After 60 trades — a number that feels substantial
±12.6%
The margin tightens to ±12.6 points. Better, but the true rate could still plausibly be anywhere from 32% to 58%, a range wide enough to separate a losing strategy from a strong one.
- 3
After 100 trades
±9.8%
±9.8 points — under 10 for the first time, but still wide enough that a measured 45% could genuinely be anywhere from 35% to 55%.
- 4
After 380 trades — the calculator's own target
±5.0%
The margin finally reaches ±5.0 points, the precision most traders assume they already have at a fraction of this trade count. The true win rate is now pinned down to somewhere between 40% and 50%.
The measured win rate never changed across any of these steps — only the confidence around it did. A trader who stopped checking at 60 trades was sizing decisions off a number with more than double the uncertainty of the one at 380.
Deciding whether a strategy's win rate is trustworthy yet
A trader has 60 trades showing a 45% win rate and wants to know whether that's a measurement or a guess.
Win rate 45 · Margin 5 · Trades 60
The current margin at 60 trades is ±12.6 points — nowhere near the ±5% that would make 45% a trustworthy figure. 320 more trades are needed to get there.
Setting a realistic data-collection target before trusting a new strategy
A trader is about to start forward-testing a new approach and wants a concrete number of trades to collect before drawing conclusions.
Expected win rate from the backtest · a target margin of ±5% or ±10% depending on how firm a conclusion is needed
Setting the trade target before starting, rather than after seeing a result that's either encouraging or discouraging, avoids the common trap of stopping early because a short sample happened to look good.
Explaining why last month's results don't settle anything
A strategy had a strong month of 25 trades, and the trader wants to scale up immediately on the strength of it.
The win rate from that month's 25 trades · Trades 25
At 25 trades the margin of error is still enormous — comfortably wide enough that the strategy's true win rate could sit well below breakeven despite a good-looking month.
Comparing a scalping log against a swing log on equal footing
A scalping strategy reaches 380 trades in two months; a swing strategy takes two years to reach the same count.
The same margin-of-error target applied to both strategies' own trade counts
The statistical bar for trusting a win rate is identical regardless of how long it takes to clear — a swing strategy isn't exempt from needing the same sample just because it trades less often.
Check the calculator against these
Every result below is produced by the same engine the calculator at the top of this page runs on, from the inputs beside it. Type them in and you'll get the same numbers.
| Case | Inputs | Result |
|---|---|---|
The calculator's own defaults A ±5 percentage point target at a 45% observed win rate. 60 trades so far is a sixth of the way there. | Observed win rate: 45 · Acceptable margin of error: 5 · Trades you have so far: 60 | 380 |
A looser, faster-to-reach target Doubling the acceptable margin from ±5% to ±10% cuts the requirement to a quarter — 95 trades instead of 380. | Observed win rate: 45 · Acceptable margin of error: 10 · Trades you have so far: 60 | 95 |
A win rate right at the hardest point to pin down A 50% win rate maximises the p(1−p) term, needing marginally more trades than 45% for the same ±5% margin. | Observed win rate: 50 · Acceptable margin of error: 5 · Trades you have so far: 100 | 384 |
A sample large enough to already meet the target 400 trades already exceeds the 380 needed — shortfall floors at 0 rather than going negative. | Observed win rate: 45 · Acceptable margin of error: 5 · Trades you have so far: 400 | 0 |
A demanding, tight precision target Halving the margin again, from ±5% to ±2.5%, quadruples the requirement a second time. | Observed win rate: 45 · Acceptable margin of error: 2.5 · Trades you have so far: 60 | 1,521 |
It assumes every trade is an independent, identical coin flip
The underlying formula treats each trade's win or loss as independent of the ones around it. Market regime shifts, strategy drift and clustered wins or losses during trending periods all violate that assumption in ways the formula can't detect.
It measures win rate, not the thing that actually matters
Expectancy depends on win rate and the size of wins and losses together. A win rate pinned down to ±5% still leaves the payoff side of the equation completely unmeasured, and that side usually needs a larger sample, not a smaller one.
A large enough sample doesn't fix a stale edge
Markets change. A win rate measured precisely from trades taken two years ago describes that period, not necessarily the one being traded now — sample size buys confidence in a historical number, not a guarantee the future resembles it.
FAQs
For a ±5 percentage point estimate of win rate, around 380 trades. For a rough ±10 point read, about 95. Below 50 trades, your measured win rate tells you almost nothing about the real one.
Partly. They're better than nothing, but they exclude slippage, emotional deviation and real execution. Treat a backtest sample as an upper bound on performance, not a measurement of it.
Because the margin is squared in the formula's denominator. Halving it from ±10% to ±5% doesn't double the requirement — it quadruples it, from 95 trades to 380. Halving again to ±2.5% quadruples it again, to 1,521. Precision gets expensive fast.
Yes, through the p(1−p) term, which peaks at a 50% win rate and shrinks toward either extreme. At 50% and a ±5% margin, 384 trades are needed; at 45%, slightly fewer — 380. A win rate far from 50%, like 90% or 10%, needs noticeably fewer trades for the same margin.
The calculator divides by the margin squared, so a 0% margin sends the required sample to infinity — correctly, since no finite sample can pin down a proportion with zero uncertainty. A margin of error has to be a small positive number, not zero, for the formula to return a usable figure.
Essentially yes. At a 45% win rate, 400 trades already exceeds the 380 needed for a ±5% margin, and the shortfall figure reads 0. The current margin on 400 trades comes out just under 4.9%, slightly tighter than the 5% target.
No — it only models the statistical uncertainty in a win rate proportion. Expectancy also depends on the variance of win and loss sizes, which this formula doesn't touch, and which typically needs an even larger sample to pin down reliably than win rate alone does.
1.96 is the z-score that captures the middle 95% of a normal distribution — it's a standard statistical constant, not something tuned for trading. Using a 90% confidence level instead would use 1.645, producing a smaller required sample for the same margin; a 99% level would use roughly 2.576 and demand a larger one.
Both — the 'current margin' output works on whatever trade count you've already got, showing how much uncertainty surrounds your existing win rate right now. The 'needed' and 'shortfall' outputs are the forward-looking half, showing how many more trades close the gap to your target precision.
It depends entirely on trade frequency. A strategy taking 20 trades a month reaches 380 in about 19 months; one taking 5 trades a day reaches it in about three months. The honest answer is that statistical confidence and calendar time are often in tension, and the trade sample size calculator only tells you the trade count, not how long collecting it will take.
No — it narrows the margin of error around whatever win rate the sample happened to show, but it can't fix a strategy that genuinely has no edge, or correct for a market regime that's shifted since the sample was collected. A tight margin around a wrong number is still a wrong number, just a confidently wrong one.
They look at the same underlying uncertainty from different angles. This calculator asks how many trades are needed before the win rate estimate itself is trustworthy; the losing streak probability calculator takes a win rate as given and asks how long a bad run can plausibly get even when the edge is real — both exist because small samples mislead in different ways.
Related calculators
Related glossary terms
Now check it against real firm rules
Funding Library tracks 67 prop firms — the drawdown types, limits and payout terms these calculators assume, verified field by field.
Browse the marketplace