Glossary

Sample size

The sample size is the number of visitors a test needs before its result can be trusted for the effect you care about.

It depends on four things: the baseline conversion rate, the minimum detectable effect, the significance level and the power. Lower baselines and smaller effects need more visitors.

Example

A page with a low conversion rate and a small effect to detect can need tens of thousands of visitors per version. If the page gets a few hundred visitors a week, the test will not finish in time, and the result of a shorter test would mostly be noise.

What to do

Calculate the sample size before the test, run it for full weeks so that weekday patterns even out, and do not stop early because the numbers look good.

A/B test sample size and duration

How many visitors does a test need, and how long will it run? Enter your rate and the smallest improvement that matters, and see whether a test is realistic for your traffic.

Read more

Last reviewed 23 November 2026. All terms

Terms explain. Visitors answer.

Ask one short question at the step where visitors leave, and read the answers in one place.