Sample Size Calculator for A/B Tests
for Product and Growth Experiments
Statistical analysis for determining the required sample size from Monthly Active Users (MAU), the coefficient of variation, the target uplift (MDE) and the significance level.
Filter Results
| 1,500 | 1 | +5% | 6,280 | 12,560 | 252 | 8.4 |
| 1,500 | 1 | +7% | 3,204 | 6,408 | 129 | 4.3 |
| 1,500 | 1 | +10% | 1,570 | 3,140 | 63 | 2.1 |
| 1,500 | 1 | +15% | 698 | 1,396 | 28 | 0.93 |
| 1,500 | 1 | +20% | 393 | 786 | 16 | 0.53 |
| 1,500 | 1.5 | +5% | 14,128 | 28,256 | 566 | 18.87 |
| 1,500 | 1.5 | +7% | 7,209 | 14,418 | 289 | 9.63 |
| 1,500 | 1.5 | +10% | 3,532 | 7,064 | 142 | 4.73 |
| 1,500 | 1.5 | +15% | 1,570 | 3,140 | 63 | 2.1 |
| 1,500 | 1.5 | +20% | 883 | 1,766 | 36 | 1.2 |
| 1,500 | 2 | +5% | 25,117 | 50,234 | 1005 | 33.5 |
| 1,500 | 2 | +7% | 12,815 | 25,630 | 513 | 17.1 |
| 1,500 | 2 | +10% | 6,280 | 12,560 | 252 | 8.4 |
| 1,500 | 2 | +15% | 2,791 | 5,582 | 112 | 3.73 |
| 1,500 | 2 | +20% | 1,570 | 3,140 | 63 | 2.1 |
| 1,500 | 2.5 | +5% | 39,245 | 78,490 | 1570 | 52.33 |
| 1,500 | 2.5 | +7% | 20,023 | 40,046 | 801 | 26.7 |
| 1,500 | 2.5 | +10% | 9,812 | 19,624 | 393 | 13.1 |
| 1,500 | 2.5 | +15% | 4,361 | 8,722 | 175 | 5.83 |
| 1,500 | 2.5 | +20% | 2,453 | 4,906 | 99 | 3.3 |
| 2,000 | 1 | +5% | 6,280 | 12,560 | 189 | 6.3 |
| 2,000 | 1 | +7% | 3,204 | 6,408 | 97 | 3.23 |
| 2,000 | 1 | +10% | 1,570 | 3,140 | 48 | 1.6 |
| 2,000 | 1 | +15% | 698 | 1,396 | 21 | 0.7 |
| 2,000 | 1 | +20% | 393 | 786 | 12 | 0.4 |
| 2,000 | 1.5 | +5% | 14,128 | 28,256 | 424 | 14.13 |
| 2,000 | 1.5 | +7% | 7,209 | 14,418 | 217 | 7.23 |
| 2,000 | 1.5 | +10% | 3,532 | 7,064 | 106 | 3.53 |
| 2,000 | 1.5 | +15% | 1,570 | 3,140 | 48 | 1.6 |
| 2,000 | 1.5 | +20% | 883 | 1,766 | 27 | 0.9 |
| 2,000 | 2 | +5% | 25,117 | 50,234 | 754 | 25.13 |
| 2,000 | 2 | +7% | 12,815 | 25,630 | 385 | 12.83 |
| 2,000 | 2 | +10% | 6,280 | 12,560 | 189 | 6.3 |
| 2,000 | 2 | +15% | 2,791 | 5,582 | 84 | 2.8 |
| 2,000 | 2 | +20% | 1,570 | 3,140 | 48 | 1.6 |
| 2,000 | 2.5 | +5% | 39,245 | 78,490 | 1178 | 39.27 |
| 2,000 | 2.5 | +7% | 20,023 | 40,046 | 601 | 20.03 |
| 2,000 | 2.5 | +10% | 9,812 | 19,624 | 295 | 9.83 |
| 2,000 | 2.5 | +15% | 4,361 | 8,722 | 131 | 4.37 |
| 2,000 | 2.5 | +20% | 2,453 | 4,906 | 74 | 2.47 |
| 3,000 | 1 | +5% | 6,280 | 12,560 | 126 | 4.2 |
| 3,000 | 1 | +7% | 3,204 | 6,408 | 65 | 2.17 |
| 3,000 | 1 | +10% | 1,570 | 3,140 | 32 | 1.07 |
| 3,000 | 1 | +15% | 698 | 1,396 | 14 | 0.47 |
| 3,000 | 1 | +20% | 393 | 786 | 8 | 0.27 |
| 3,000 | 1.5 | +5% | 14,128 | 28,256 | 283 | 9.43 |
| 3,000 | 1.5 | +7% | 7,209 | 14,418 | 145 | 4.83 |
| 3,000 | 1.5 | +10% | 3,532 | 7,064 | 71 | 2.37 |
| 3,000 | 1.5 | +15% | 1,570 | 3,140 | 32 | 1.07 |
| 3,000 | 1.5 | +20% | 883 | 1,766 | 18 | 0.6 |
| 3,000 | 2 | +5% | 25,117 | 50,234 | 503 | 16.77 |
| 3,000 | 2 | +7% | 12,815 | 25,630 | 257 | 8.57 |
| 3,000 | 2 | +10% | 6,280 | 12,560 | 126 | 4.2 |
| 3,000 | 2 | +15% | 2,791 | 5,582 | 56 | 1.87 |
| 3,000 | 2 | +20% | 1,570 | 3,140 | 32 | 1.07 |
| 3,000 | 2.5 | +5% | 39,245 | 78,490 | 785 | 26.17 |
| 3,000 | 2.5 | +7% | 20,023 | 40,046 | 401 | 13.37 |
| 3,000 | 2.5 | +10% | 9,812 | 19,624 | 197 | 6.57 |
| 3,000 | 2.5 | +15% | 4,361 | 8,722 | 88 | 2.93 |
| 3,000 | 2.5 | +20% | 2,453 | 4,906 | 50 | 1.67 |
| 4,000 | 1 | +5% | 6,280 | 12,560 | 95 | 3.17 |
| 4,000 | 1 | +7% | 3,204 | 6,408 | 49 | 1.63 |
| 4,000 | 1 | +10% | 1,570 | 3,140 | 24 | 0.8 |
| 4,000 | 1 | +15% | 698 | 1,396 | 11 | 0.37 |
| 4,000 | 1 | +20% | 393 | 786 | 6 | 0.2 |
| 4,000 | 1.5 | +5% | 14,128 | 28,256 | 212 | 7.07 |
| 4,000 | 1.5 | +7% | 7,209 | 14,418 | 109 | 3.63 |
| 4,000 | 1.5 | +10% | 3,532 | 7,064 | 53 | 1.77 |
| 4,000 | 1.5 | +15% | 1,570 | 3,140 | 24 | 0.8 |
| 4,000 | 1.5 | +20% | 883 | 1,766 | 14 | 0.47 |
| 4,000 | 2 | +5% | 25,117 | 50,234 | 377 | 12.57 |
| 4,000 | 2 | +7% | 12,815 | 25,630 | 193 | 6.43 |
| 4,000 | 2 | +10% | 6,280 | 12,560 | 95 | 3.17 |
| 4,000 | 2 | +15% | 2,791 | 5,582 | 42 | 1.4 |
| 4,000 | 2 | +20% | 1,570 | 3,140 | 24 | 0.8 |
| 4,000 | 2.5 | +5% | 39,245 | 78,490 | 589 | 19.63 |
| 4,000 | 2.5 | +7% | 20,023 | 40,046 | 301 | 10.03 |
| 4,000 | 2.5 | +10% | 9,812 | 19,624 | 148 | 4.93 |
| 4,000 | 2.5 | +15% | 4,361 | 8,722 | 66 | 2.2 |
| 4,000 | 2.5 | +20% | 2,453 | 4,906 | 37 | 1.23 |
| 5,000 | 1 | +5% | 6,280 | 12,560 | 76 | 2.53 |
| 5,000 | 1 | +7% | 3,204 | 6,408 | 39 | 1.3 |
| 5,000 | 1 | +10% | 1,570 | 3,140 | 19 | 0.63 |
| 5,000 | 1 | +15% | 698 | 1,396 | 9 | 0.3 |
| 5,000 | 1 | +20% | 393 | 786 | 5 | 0.17 |
| 5,000 | 1.5 | +5% | 14,128 | 28,256 | 170 | 5.67 |
| 5,000 | 1.5 | +7% | 7,209 | 14,418 | 87 | 2.9 |
| 5,000 | 1.5 | +10% | 3,532 | 7,064 | 43 | 1.43 |
| 5,000 | 1.5 | +15% | 1,570 | 3,140 | 19 | 0.63 |
| 5,000 | 1.5 | +20% | 883 | 1,766 | 11 | 0.37 |
| 5,000 | 2 | +5% | 25,117 | 50,234 | 302 | 10.07 |
| 5,000 | 2 | +7% | 12,815 | 25,630 | 154 | 5.13 |
| 5,000 | 2 | +10% | 6,280 | 12,560 | 76 | 2.53 |
| 5,000 | 2 | +15% | 2,791 | 5,582 | 34 | 1.13 |
| 5,000 | 2 | +20% | 1,570 | 3,140 | 19 | 0.63 |
| 5,000 | 2.5 | +5% | 39,245 | 78,490 | 471 | 15.7 |
| 5,000 | 2.5 | +7% | 20,023 | 40,046 | 241 | 8.03 |
| 5,000 | 2.5 | +10% | 9,812 | 19,624 | 118 | 3.93 |
| 5,000 | 2.5 | +15% | 4,361 | 8,722 | 53 | 1.77 |
| 5,000 | 2.5 | +20% | 2,453 | 4,906 | 30 | 1 |
| 6,000 | 1 | +5% | 6,280 | 12,560 | 63 | 2.1 |
| 6,000 | 1 | +7% | 3,204 | 6,408 | 33 | 1.1 |
| 6,000 | 1 | +10% | 1,570 | 3,140 | 16 | 0.53 |
| 6,000 | 1 | +15% | 698 | 1,396 | 7 | 0.23 |
| 6,000 | 1 | +20% | 393 | 786 | 4 | 0.13 |
| 6,000 | 1.5 | +5% | 14,128 | 28,256 | 142 | 4.73 |
| 6,000 | 1.5 | +7% | 7,209 | 14,418 | 73 | 2.43 |
| 6,000 | 1.5 | +10% | 3,532 | 7,064 | 36 | 1.2 |
| 6,000 | 1.5 | +15% | 1,570 | 3,140 | 16 | 0.53 |
| 6,000 | 1.5 | +20% | 883 | 1,766 | 9 | 0.3 |
| 6,000 | 2 | +5% | 25,117 | 50,234 | 252 | 8.4 |
| 6,000 | 2 | +7% | 12,815 | 25,630 | 129 | 4.3 |
| 6,000 | 2 | +10% | 6,280 | 12,560 | 63 | 2.1 |
| 6,000 | 2 | +15% | 2,791 | 5,582 | 28 | 0.93 |
| 6,000 | 2 | +20% | 1,570 | 3,140 | 16 | 0.53 |
| 6,000 | 2.5 | +5% | 39,245 | 78,490 | 393 | 13.1 |
| 6,000 | 2.5 | +7% | 20,023 | 40,046 | 201 | 6.7 |
| 6,000 | 2.5 | +10% | 9,812 | 19,624 | 99 | 3.3 |
| 6,000 | 2.5 | +15% | 4,361 | 8,722 | 44 | 1.47 |
| 6,000 | 2.5 | +20% | 2,453 | 4,906 | 25 | 0.83 |
| 8,000 | 1 | +5% | 6,280 | 12,560 | 48 | 1.6 |
| 8,000 | 1 | +7% | 3,204 | 6,408 | 25 | 0.83 |
| 8,000 | 1 | +10% | 1,570 | 3,140 | 12 | 0.4 |
| 8,000 | 1 | +15% | 698 | 1,396 | 6 | 0.2 |
| 8,000 | 1 | +20% | 393 | 786 | 3 | 0.1 |
| 8,000 | 1.5 | +5% | 14,128 | 28,256 | 106 | 3.53 |
| 8,000 | 1.5 | +7% | 7,209 | 14,418 | 55 | 1.83 |
| 8,000 | 1.5 | +10% | 3,532 | 7,064 | 27 | 0.9 |
| 8,000 | 1.5 | +15% | 1,570 | 3,140 | 12 | 0.4 |
| 8,000 | 1.5 | +20% | 883 | 1,766 | 7 | 0.23 |
| 8,000 | 2 | +5% | 25,117 | 50,234 | 189 | 6.3 |
| 8,000 | 2 | +7% | 12,815 | 25,630 | 97 | 3.23 |
| 8,000 | 2 | +10% | 6,280 | 12,560 | 48 | 1.6 |
| 8,000 | 2 | +15% | 2,791 | 5,582 | 21 | 0.7 |
| 8,000 | 2 | +20% | 1,570 | 3,140 | 12 | 0.4 |
| 8,000 | 2.5 | +5% | 39,245 | 78,490 | 295 | 9.83 |
| 8,000 | 2.5 | +7% | 20,023 | 40,046 | 151 | 5.03 |
| 8,000 | 2.5 | +10% | 9,812 | 19,624 | 74 | 2.47 |
| 8,000 | 2.5 | +15% | 4,361 | 8,722 | 33 | 1.1 |
| 8,000 | 2.5 | +20% | 2,453 | 4,906 | 19 | 0.63 |
| 10,000 | 1 | +5% | 6,280 | 12,560 | 38 | 1.27 |
| 10,000 | 1 | +7% | 3,204 | 6,408 | 20 | 0.67 |
| 10,000 | 1 | +10% | 1,570 | 3,140 | 10 | 0.33 |
| 10,000 | 1 | +15% | 698 | 1,396 | 5 | 0.17 |
| 10,000 | 1 | +20% | 393 | 786 | 3 | 0.1 |
| 10,000 | 1.5 | +5% | 14,128 | 28,256 | 85 | 2.83 |
| 10,000 | 1.5 | +7% | 7,209 | 14,418 | 44 | 1.47 |
| 10,000 | 1.5 | +10% | 3,532 | 7,064 | 22 | 0.73 |
| 10,000 | 1.5 | +15% | 1,570 | 3,140 | 10 | 0.33 |
| 10,000 | 1.5 | +20% | 883 | 1,766 | 6 | 0.2 |
| 10,000 | 2 | +5% | 25,117 | 50,234 | 151 | 5.03 |
| 10,000 | 2 | +7% | 12,815 | 25,630 | 77 | 2.57 |
| 10,000 | 2 | +10% | 6,280 | 12,560 | 38 | 1.27 |
| 10,000 | 2 | +15% | 2,791 | 5,582 | 17 | 0.57 |
| 10,000 | 2 | +20% | 1,570 | 3,140 | 10 | 0.33 |
| 10,000 | 2.5 | +5% | 39,245 | 78,490 | 236 | 7.87 |
| 10,000 | 2.5 | +7% | 20,023 | 40,046 | 121 | 4.03 |
| 10,000 | 2.5 | +10% | 9,812 | 19,624 | 59 | 1.97 |
| 10,000 | 2.5 | +15% | 4,361 | 8,722 | 27 | 0.9 |
| 10,000 | 2.5 | +20% | 2,453 | 4,906 | 15 | 0.5 |
Days to recruit assumes 100% enrollment of your MAU and a 50/50 split. It is recruitment time only and excludes the observation window (the example below adds ~7 observation days).
A/B Test Example
Goal
Verify that AI recommendations increase average engagement per user compared to standard content presentation.
Test Design: Step by Step
1. Hypothesis
AI recommendations will increase average engagement per user by 20% compared to the standard content list.
2. Metrics
- Primary: engagement score per user over the 7 days after the first interaction.
- Secondary: click-through rate, average session length, number of items viewed.
3. Randomization and Groups
- 50/50 split at user level (not session).
- Control: standard content presentation.
- Test: AI-powered recommendations.
- User is locked to their group for the duration of the experiment.
4. Sample Size and Duration
By the two-sample formula for means (95%/80%):
For instance: MAU=8000, CV=1, Uplift=+20% → n/group = 393, n total = 786.
Recruitment duration (at 50/50 split):
Observation window for Primary metric: 7 days.
Total calendar time: ~10 days (3 recruitment + 7 observation).
5. Thresholds and Success Criteria
- Significance level α=0.05, power 80% (β=0.20).
- Success criterion locked before launch: p-value < 0.05 on the Primary metric with a positive uplift. The +20% is the MDE the test is sized for, not a bar the observed uplift must clear.
6. Monitoring During Test
- Daily: check how users flow into groups (a 50/50 split with no sample ratio mismatch, SRM), basic metrics and anomalies.
- Without sequential design, do not make decisions based on interim p-values.
7. Analysis Upon Completion
- Check the distribution; if it has heavy tails, use bootstrap confidence intervals.
- Welch's two-sample t-test for average engagement per user over 7 days.
- Report: uplift estimate, 95% CI, p-value, impact on secondary metrics.
- Decision: roll out if p < 0.05 and the uplift is positive and large enough to pay for the change.
Important Notes
- CUPED/covariates: use pre-period engagement/activity to reduce variance (lowers CV and required sample).
- A/A-test: verify correct randomization and tracking.
- Fixed protocol: do not change split, rules, observation windows, or promotional activities during test.