Measurement

A/B testing and its limits when your sample is small

An A/B test is the best tool we have for causal questions in marketing, and it only works when sample size, timing and analysis are decided before it starts.

8 min readBy the CD Marketing editorsUpdated 2026-12-04
Team members with laptops beside a whiteboard

Sample size is a budget

The number of visitors you need depends on your baseline rate and on the smallest improvement you care about. A smaller lift needs a much larger sample. Before a test, compute the sample you need, and divide by your traffic to see how long it will take. Use the A/B sample size calculator. If the answer is six months, the test is not practical as designed.

Peeking

Looking at results daily and stopping the moment one variant looks ahead inflates false positives, because random fluctuations early in a test are large. Decide the sample size or end date in advance, and look at the result then. If you need to monitor continuously, use a method designed for sequential testing rather than repeating a fixed-sample test.

Multiple comparisons

Test five variants, or ten metrics, and the chance that at least one looks significant by luck rises quickly. Name one primary metric, and treat everything else as exploratory. Correct for the number of comparisons if you must act on several.

Sample ratio mismatch

If you planned a 50/50 split and the groups differ noticeably in size, something in assignment or tracking is broken, and the result cannot be trusted. Check group sizes before looking at outcomes.

Novelty and timing

Users sometimes react to a change simply because it is new. Run for at least full weekly cycles, and be cautious about a result that is large on day one and fades.

When traffic is too low

  • Test a bigger change, since larger effects need fewer visitors.
  • Move to a metric earlier in the funnel, with more events.
  • Use qualitative evidence, such as recordings and interviews, to choose changes.
  • If you ship without a test, record a baseline and compare after, saying clearly that other things may have changed.

Try it

How we write and check these pieces is described on the Method page.