🧪 Plan an A/B test that can be trusted
Data & AIProduct wants to know if the new checkout converts better. Too few visitors and the result is noise. Work out how many visitors and days the test needs.
⭐ Level 1: Trainee0 XP · next level at 300
Visitors needed per version30,400
Days to run✗ 31
Too long: test a bolder change, use more traffic, or accept that small lifts cannot be measured here.
📘 How it works
Small differences hide in random noise, so detecting them needs many visitors: halve the lift and you need four times the sample. Fix the sample size before starting; stopping as soon as it "looks good" gives false wins.
n per version ≈ 16 × p(1 − p) ÷ (p × lift)² · days = 2n ÷ (visitors × share)A simplified textbook model for learning. Real designs follow the full codes and standards.