#795 · Marketing Tool

A/B Test Sample Size Calculator

Plan a reliable A/B test by estimating the sample size and duration needed to detect a meaningful lift. Useful for landing pages, ads, signup flows, and email tests.

Calculator

Decision inputs
%
%
%
/day
variants
Ad space

How to use this calculator

  • Enter each value from the same campaign period or sales period.
  • Click calculate to get the main metric, gap analysis, health score, and recommendation.
  • Use the related calculators to connect this result with budget, funnel, or revenue planning.

What the result means

A test needs enough traffic to separate real improvement from random variation. Small lifts require much larger samples.

Approximate Sample Per Variant = 16 × p × (1 − p) ÷ detectable effect²

This is a planning estimate, not a full statistical test engine. Use analytics software for final significance decisions.

Example calculation

At a 5% baseline conversion rate with a 10% expected lift, the required sample can be large because the detectable effect is small.

Tips for better results

  • Do not stop tests early after a good day.
  • Test meaningful changes, not tiny cosmetic edits.
  • Run full business cycles when traffic varies by weekday.

FAQ

How many visitors do I need for an A/B test?

This calculator uses your campaign inputs to estimate the metric and highlight the decision point behind it.

What sample size is statistically significant?

This calculator uses your campaign inputs to estimate the metric and highlight the decision point behind it.

How long should an A/B test run?

This calculator uses your campaign inputs to estimate the metric and highlight the decision point behind it.

What confidence level should I use?

This calculator uses your campaign inputs to estimate the metric and highlight the decision point behind it.

What is minimum detectable effect?

This calculator uses your campaign inputs to estimate the metric and highlight the decision point behind it.

Decision module

MetricHow to use it
Sample SizeTraffic needed per variant.
Test DurationDays required at current traffic volume.
Readiness ScoreWhether the test is practical.

Browse more calculators

Category hubs