A/B Test Sample Size Calculator
Enter your current conversion rate, the smallest lift worth finding and your daily traffic. See how many visitors each version needs and how long the test will take.
Runs in your browser. Nothing you type is uploaded.
Result
At 2,000 visitors a day split across 2 versions.
- Visitors per version
- 31,234
- Total visitors
- 62,468 2 versions
- Target rate
- 5.50% From 5%
- Conversions per version
- 1,562 Expected in the control
| Lift | Rate | Per version | Total | Days |
|---|---|---|---|---|
| +5% | 5% → 5.25% | 122,124 | 244,248 | 123 |
| +10% | 5% → 5.50% | 31,234 | 62,468 | 32 |
| +15% | 5% → 5.75% | 14,193 | 28,386 | 15 |
| +20% | 5% → 6% | 8,158 | 16,316 | 9 |
| +30% | 5% → 6.50% | 3,780 | 7,560 | 4 |
How it works
- Sample size
- (z for confidence × √(2 × average rate × (1 − average rate)) + z for power × √(p1(1 − p1) + p2(1 − p2)))² ÷ (p2 − p1)², per version.
- Days to run
- Visitors per version × number of versions ÷ visitors per day, rounded up.
- More than two versions
- The allowed false-win rate is divided by the number of comparisons with the control (Bonferroni), which raises the sample size.
Questions
Why does a small lift need so many visitors?
The sample size grows with 1 ÷ (difference)². Halving the lift you want to detect roughly quadruples the visitors you need.
What lift should I pick?
The smallest change that would be worth acting on. Most small sites cannot detect lifts under 10% to 20% in a sensible time, so test bigger changes.
Can I stop early if it looks like a clear win?
Stopping early on a good-looking day inflates false winners. Run until you reach the sample size, and for at least one full week.
Get CapyLaunch Weekly
New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.
Your launch, this week. Free.
A reviewed listing, a permanent page with a link to your site, and feedback from makers who actually care.