Free calculator

A/B Test Sample Size Calculator

Enter your baseline conversion rate, the minimum lift you care about, and your statistical confidence. See exactly how many visitors per variant you need before you can credibly call a winner.

Your control variant's current conversion percentage.

%

Smallest lift you would actually act on. 10 means 10 percent relative lift.

%

False positive tolerance. 0.05 is industry standard.

Probability of catching a real effect. 0.80 is standard.

Two-tailed catches changes in both directions. Default.

More variants means more total traffic needed.

Used to estimate test duration.

Per variant
31,234
visitors needed in each arm
Total visitors
62,468
across all 2 variants
Days to run
63
at 1,000 visitors per day

Large sample. Only realistic on high-traffic pages. Consider raising MDE or testing further up the funnel where baseline conversion is higher.

High-traffic only

Related tools

Want this built for you? Week One Labs ships custom SaaS and mobile MVPs in fixed-price 14-day sprints.

Fixed price. You own the code from day one. Book a free scope call.

Working out budget first? Read the SaaS MVP development guide.

Free weekly newsletter

I know which AI tools are worth your time.

I build with AI every single day. I will send you what actually works, what is overhyped, and what you should be paying attention to next. No fluff, just signal.

Delivered every weekUnsubscribe anytime

Get the AI signal. Drop your email below.

No spam. Just useful AI intel for builders.

Frequently asked questions

What is A/B test sample size and why does it matter?+

Sample size is the number of visitors per variant you need to detect a real change in your conversion rate with statistical confidence. Run a test on too few users and you will either miss a real effect (false negative) or call a random fluctuation a win (false positive). Sample size is set up front using your baseline conversion rate, the minimum lift you care about, and your tolerance for those two error types. Calculating it before you start prevents most of the bad decisions teams make from underpowered tests.

How do I pick the right Minimum Detectable Effect?+

MDE is the smallest relative lift that would actually change your decision. A common starting point is 10 to 20 percent relative for a homepage or pricing page test where a real winner moves a top-line metric. For deeper funnel steps (checkout, onboarding) lifts can be larger, so MDE of 15 to 30 percent is reasonable. The temptation is to set MDE very low to feel sensitive, but smaller MDEs require dramatically larger samples. Pick the MDE that matches the business decision, not the curiosity.

Why does my sample size need to be so large?+

Two reasons. First, conversion rates are noisy, so distinguishing a true 5 percent lift from random variation in a 3 percent baseline conversion takes tens of thousands of users per variant. Second, the math compounds: lower baseline rates, smaller MDEs, higher confidence, and higher power all push the number up nonlinearly. If your sample size looks impossibly large, the realistic move is to raise your MDE, run the test only on a high-traffic page, or test a higher-baseline metric upstream.

Should I use one-tailed or two-tailed tests?+

Default to two-tailed. A two-tailed test detects changes in either direction, which is honest because most product changes can also hurt. One-tailed tests halve the sample size but only catch lifts in the predicted direction, and if your change quietly drops conversion you will not notice. Use one-tailed only when a regression is impossible by construction (rare) or when you have explicit downstream guardrail metrics catching regressions.

What significance and power should I use?+

Industry standard is 95 percent significance (alpha = 0.05) and 80 percent power (beta = 0.20). These are not laws of physics, but they balance false positives and false negatives reasonably for product experiments. Push significance to 99 percent only for high-stakes pricing changes or anything that touches revenue directly. Push power to 90 percent if missing a real effect is more costly than a false alarm. Anything below 80 percent power means you are likely running tests that cannot conclude.

What happens if I peek at results before reaching the sample size?+

You inflate your false positive rate. The standard test math assumes one look at the data after the planned sample size is reached. Every time you peek and consider stopping early, you re-roll the dice on a false win. Teams that peek and call winners early end up shipping a parade of fake wins that quietly underperform. If you genuinely need to monitor a test in flight, use sequential testing or always-valid p-values, which are designed for repeated peeking.

How long should my test run in days?+

At minimum one full business week, ideally two, regardless of how fast you hit the calculated sample size. Conversion patterns shift across weekdays and weekend, and a test that finished in 36 hours during a Tuesday traffic spike has not seen Friday or Sunday. The right test duration is the maximum of: time to reach sample size, two complete business cycles, and any full marketing cycle (a sale, a launch, a holiday) that could distort behavior.

My MVP only has 200 visitors per week. Can I still A/B test?+

Probably not on conversion rate. With that traffic, only enormous effects (say, a doubling) are detectable in a reasonable time, and most real product changes deliver 5 to 30 percent lifts at best. Instead of formal A/B testing, run sequential experiments with clear before/after windows, use qualitative interviews to validate changes, and instrument event funnels to catch obvious regressions. Once you cross 5,000 to 10,000 weekly conversions on the page you want to test, statistical testing starts to earn its keep.