CRTLABCRTLABBacktesting System
FeaturesPricingBlogFAQ
Log inStart freeDatabento · CoinAPI ·TradingView

Free trader tool

Backtest Sample Size Calculator

Enter the win rate, reward-to-risk and number of trades your backtest produced. It shows the range your real edge could be in, how often a strategy with no edge at all would score as well as you did, and how many trades it would take before the answer stops being ambiguous.

Your backtest
Expectancy per trade
+0.35R
Break-even win rate
33.3%
Swing per trade (1 SD)
1.49R

Every win is treated as +2R and every loss as −1R. Enter the numbers your log actually produced, not the ones you were aiming for.

30 trades at 95% confidence
This sample can't tell an edge from luck.
Your true expectancy is somewhere between −0.18R and +0.88R per trade. That range straddles zero, so a losing strategy is still consistent with this result.
True win rate could be
29% – 62%
A no-edge strategy scores this well
9.9% of the time
Trades needed for a verdict
70

Note the overlap: your win-rate range reaches below the 33.3% break-even rate for 1:2. Until it clears that line, the sample is consistent with a strategy that loses money.

40 more trades and you'd have an answer.

That's the point where the confidence interval clears zero, assuming the win rate and reward:risk hold up over the extra trades.

How the answer tightens as the sample grows

Same win rate, same reward:risk — only the number of trades changes. Uncertainty falls with the square root of the sample, so the fourth hundred trades buys you far less than the first hundred did.

TradesMargin of errorWorst caseVerdict
30yours±0.53R−0.18RStill ambiguous
50±0.41R−0.06RStill ambiguous
100±0.29R+0.06REdge confirmed
200±0.21R+0.14REdge confirmed
500±0.13R+0.22REdge confirmed
1,000±0.09R+0.26REdge confirmed

Getting to those numbers is the whole job. Replay real market history candle by candle and log the trades as they would have appeared live — a few hundred occurrences is an afternoon's work, not a year of waiting.

Your backtest result is an estimate, not a measurement

A backtest returns two numbers everyone treats as facts: a win rate and an average R. Neither one is a fact. They're samples — a finite draw from a process that could have gone differently — and the smaller the sample, the further the draw can land from the truth.

This isn't a technicality. Run 20 trades on a strategy whose real win rate is 45% and you will land somewhere between about 25% and 65% a good chunk of the time. Both of those are the same strategy. One of them makes you delete the rules and start over; the other has you sizing up. The strategy never changed — only the sample did.

So the useful question is never “what did my backtest say?” It's how much does my backtest constrain the answer?That's what this tool measures.

The three numbers that matter

Expectancy.What the average trade returns in R. At 45% and 1:2 it's +0.35R. This is the number your strategy lives or dies by, and it's the thing the sample is trying to estimate.

Variation. How much an individual trade swings around that average. A 1:2 strategy has a standard deviation near 1.5R per trade — roughly four times its own edge. That ratio is why trading needs such large samples compared with most things people measure: the signal is small and the noise is loud.

Sample size. The only one of the three you control. Uncertainty shrinks with the square root of it, which is the detail that catches people out — to halve your margin of error you need four times the trades, not twice.

What “a no-edge strategy scores this well X% of the time” is telling you

This is the line worth reading twice. It answers a specific question: if your strategy had zero edge — the same win rate as a coin weighted to your break-even point — how often would a run of this many trades come out looking this good purely by chance?

When that figure is 30%, your result is what a strategy with no edge produces about a third of the time. It is not evidence. When it drops under 5%, luck becomes a strained explanation, and the conventional line for calling a result significant is exactly there.

One honest caveat the tool can't see: if you tested six variations of your rules and are reading the best one, that 5% isn't 5% any more. Testing enough variants guarantees one of them looks significant. If you did that, the fix is to fix the rules and test them again on data you haven't touched.

Why the break-even overlap matters more than the win rate

Traders anchor hard on win rate, but win rate on its own means nothing without the reward-to-risk beside it. A 40% win rate is excellent at 1:3 and terminal at 1:1. The line that separates them is the break-even win rate, which is just 1 ÷ (1 + R).

The calculator shows the range your true win rate could occupy, and it flags when that range still reaches below break-even. That overlap is the thing to act on. It means your sample has not yet ruled out the possibility that your strategy loses money — regardless of how good the headline number looked.

How many trades you actually need

There's no universal answer, and any article giving you one — 30, 100, “at least a year” — is guessing on your behalf. The required sample scales with the square of your noise-to-signal ratio, so it depends entirely on how big your edge is:

A strong edge is cheap to prove. Something like 50% at 1:2 — +0.5R a trade — clears the bar in well under 50 trades. A moderate edge of +0.2R needs a few hundred. A genuine but thin edge of +0.05R needs thousands, which is a polite way of saying you will never prove it, and you should widen the edge rather than grind out the sample. The tool draws that line for you rather than making you feel it after two years.

This is also the honest argument for backtesting over waiting. Five trades a week is 250 a year. The same 250 occurrences taken from historical price is a few focused sessions — which is the difference between knowing whether your edge is real this month and finding out in 2028.

What this model assumes — and where it breaks

Every trade is treated as independent, with a fixed win rate and a fixed reward-to-risk. Real results aren't independent: strategies work in some regimes and not others, so wins and losses cluster. When that happens the true uncertainty is widerthan what's shown here, not narrower.

It also assumes wins all pay the same multiple. Partial exits, breakeven stops and runners all change the shape of the return distribution. And it takes your inputs at face value — if the win rate you typed came from a backtest with hindsight in it, no amount of statistics repairs that. Garbage in, confidently intervalled garbage out. The seven mistakes that make backtest results worthless is the companion piece to this one for exactly that reason.

Getting a sample worth putting in the box

The number this tool wants is a measured win rate over a decent run of occurrences, taken on price you couldn't see ahead of. That means replaying history candle by candle rather than scrolling back and marking the setups that worked — the second one produces a beautiful number that means nothing.

How many backtests do you need before trusting a strategy covers the sampling side in more depth — variety of conditions, not just count — and how to backtest the CRT strategy shows the specific fields to log so the numbers you feed in here are ones you can defend.

Frequently asked questions

How many trades do I need to backtest before trusting a strategy?

There is no single number, which is the entire point of the calculator — it depends on how big your edge is relative to how much your results swing around. A strong edge like 50% at 1:2 can clear the bar in under 50 trades. A thin edge of a tenth of an R per trade can need well over a thousand. Enter your own numbers and the tool gives you the figure for your strategy instead of a rule of thumb.

Why isn't 20 trades enough?

Because 20 trades is mostly noise. With a 45% win rate at 1:2, a 20-trade sample is comfortably consistent with a true expectancy anywhere from clearly losing to twice as good as what you measured. You can't tell which one you have, so any conclusion you draw is a guess with a number attached to it.

What is expectancy in R?

Expectancy is what the average trade returns, measured in multiples of what you risk. If you win 45% of the time at 1:2, the average trade is 0.45 × 2 − 0.55 × 1 = +0.35R. It's the single most useful number in a backtest because it's independent of account size and position size — it describes the strategy rather than the bet.

What does the confidence interval actually mean here?

It's the range of true expectancies that your sample is consistent with. If the range runs from −0.05R to +0.75R, your strategy could genuinely be a small loser or a strong winner, and your backtest can't distinguish between them. When the whole range sits above zero, a no-edge strategy becomes an implausible explanation for what you measured.

What is the break-even win rate?

The win rate at which your expectancy is exactly zero, given your reward:risk. It's 1 ÷ (1 + R) — so 33.3% at 1:2, 50% at 1:1, 25% at 1:3. If your win rate range still overlaps that line, your sample hasn't ruled out a strategy that loses money.

Does this work for a strategy with variable reward:risk?

Partly. The model assumes every win pays the same multiple and every loss costs 1R. If your exits vary — partials, breakeven stops, runners — use your average R per win and treat the answer as a rough guide. Variable exits usually mean more variance than modelled here, so the real sample size you need is larger, not smaller.

Is the backtest sample size calculator free?

Yes — completely free, no signup, no limits.

More free tools

Position Size Calculator →
Size every trade to your exact risk.
Risk / Reward Calculator →
Get your R:R and the win rate it needs.
Pip & Profit Calculator →
Pip value and P&L for any trade.
Compounding Calculator →
What a fixed % gain compounds to.
Prop Firm Challenge Calculator →
Your real odds of passing, simulated.
Session & Kill Zone Times →
Market hours in your timezone, live.

Embed this calculator on your site

Free for any trading blog, forum or resource page. Paste this snippet where you want the calculator to appear.

<iframe src="https://crtlab.pro/embed/backtest-sample-size-calculator" width="100%" height="1120" style="border:0;max-width:720px" title="Backtest Sample Size Calculator by CRTLAB" loading="lazy"></iframe>

Go get the sample.

Replay real market history candle by candle and take your setups as they'd have appeared live. A few hundred occurrences is an afternoon, not a year. Free, no card.

Start backtesting free →
CRTLABCRTLAB

Backtest real markets. Master your edge.

@crtlabpro

Product

  • Features
  • Pricing
  • Blog
  • Reference
  • Backtesting software
  • Candle-by-candle replay

Free tools

  • Position size calculator
  • Risk/reward calculator
  • Pip calculator
  • Compounding calculator
  • Prop firm challenge calculator
  • Backtest sample size calculator
  • Session & kill zone times

Backtest

  • NAS100
  • US30 (Dow)
  • Gold (XAUUSD)
  • Bitcoin (BTCUSD)
  • Forex

Strategy

  • CRT backtester
  • ICT backtesting
  • SMC backtesting

Company

  • Start free
  • Log in
  • Terms
  • Privacy
  • Refunds
  • Risk disclaimer

© 2026 CRTLAB. All rights reserved.

Not financial advice. Backtesting does not guarantee future results.