Why sample size matters
An A/B test needs enough visitors before you can trust a result. A small test can miss a useful change. It can also promote a weak change by chance. Sample size planning reduces that risk. It sets a target before traffic starts. That target keeps the decision honest.
What this calculator estimates
This calculator estimates the visitors required in each test group. It uses the baseline conversion rate, the expected minimum detectable effect, the confidence level, and the desired power. It also supports one sided and two sided tests. You can choose equal or unequal allocation. You can add a dropout allowance. The tool then estimates total visitors and test duration from daily traffic.
How to choose inputs
Start with a realistic baseline conversion rate. Use recent data from the same funnel. Then choose the smallest uplift worth acting on. Do not use a dramatic uplift just to make the test shorter. Choose the confidence level that matches your risk tolerance. Many teams use ninety five percent confidence. Power is often eighty percent or ninety percent. Higher power needs more visitors.
How to read results
The required sample per group is the main output. The total sample shows the full test audience. The estimated duration helps you judge whether the test is practical. If the duration is too long, reconsider the change. A larger expected effect lowers the needed sample. More traffic also shortens the calendar time. Avoid stopping early because early results often swing widely.
Practical testing guidance
Run the test through a full business cycle when possible. Keep targeting rules stable. Avoid changing tracking during the test. Check that both groups receive comparable traffic quality. Record assumptions before launch. Export the results for your experiment brief. A planned sample size helps teams decide with less bias. It also makes results easier to explain later.
Common planning mistakes
Many tests fail because the target effect is chosen after launch. Some teams also ignore traffic loss from consent banners, bot filters, or broken sessions. Include a cushion for these losses. Do not mix new campaigns into one group only. Keep the audience balanced. Review the result only after the planned sample is reached with steady patience.