What This Calculator Does
An A/B test size calculator estimates how many visitors you need before starting an experiment. It compares a control rate with a target variant rate. It also uses alpha, power, traffic split, and lift. These inputs help you avoid weak tests. A small sample can miss a real gain. A very large sample can waste traffic and time.
Why Sample Size Matters
Sample size controls the strength of your decision. Power shows the chance of detecting the planned lift. Alpha sets the risk of calling a result real when it is not. A lower alpha needs more visitors. A higher power also needs more visitors. Smaller lifts are harder to prove. This is why a tiny conversion change needs a large experiment.
Planning Before Launch
Use realistic baseline data. Pull it from recent analytics. Do not use a lucky day only. Choose the smallest change worth acting on. This is the minimum detectable effect. Enter a relative lift when you think in percent growth. Enter an absolute lift when you think in percentage points. Use equal traffic when both pages are stable. Use an uneven split when the variant is risky.
Reading the Result
The calculator returns sample size for control and variant groups. It also shows total visitors and expected conversions. If daily traffic is entered, it estimates test duration. This estimate is only a planning guide. Real tests can run longer because traffic changes. Tracking breaks can also affect results. Use the adjusted sample when dropout or design effect applies.
Good Testing Practice
Keep one main metric. Define it before launch. Do not stop only because early results look good. Wait until the planned sample is reached. Check that both groups receive similar traffic quality. Avoid running major site changes during the test. Record dates, targeting rules, device mix, and exclusions. These notes make the result easier to trust. A careful plan makes decisions cleaner and more useful.
Common Mistakes
Do not change the goal after viewing results. That creates bias. Do not compare many metrics without a plan. More checks can raise false alarms. Match the sample plan to business value. A result should be both statistically clear and practically useful for growth.