A/B testing

A/B testing is a way to compare two versions of a page, ad or email by showing each to different visitors and seeing which one gets more of the result you want.

Checked 27/11/2026 against 3 sources. Next review 27/05/2027.

A/B testing is a research method that tests two or more design variations with a live audience [1]. You keep the original, called the control or A, and change one thing to make the variant, B [1]. Traffic is split at random, so each visitor sees one version only [1][2]. You then compare a result you chose beforehand, such as conversion rate. It is also called split testing or bucket testing [2].

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

Nielsen Norman Group says to fix three numbers first: your baseline result (for example a 3% click rate), the smallest change you want to detect, and the confidence level, usually 95%. A sample-size calculator then tells you how many visitors you need [1].

NN/g's worked example, and what it means for a small site

Baseline click rate 3%. Smallest change to detect 20%, which is 0.6 points. Confidence 95%. The calculator gave 13,000 users, and with 1,000 users a day the test ran 14 days [1]. By simple arithmetic, a site with 100 visitors a day would need about 130 days for the same test. Low-traffic sites do better testing a bigger change, or using a heatmap and other research methods instead.

What should I change in an A/B test?

NN/g says the variant should ideally differ from the original in one design element only, such as a button, an image or a description [1]. Elements teams commonly test are call-to-action buttons, headlines, page layouts, website copy, checkout pages and forms [1]. The split can be equal or adjusted for business goals and risk [1]. Track a main metric, plus guardrail metrics that show the change helps the business [1].

  1. Start with a hypothesis Tie a predicted change to a clear goal, ideally based on user research [1].
  2. Define the change Alter one element, for example the label on a call to action button [1].
  3. Choose outcome metrics One primary metric, plus guardrails such as purchase rate [1].
  4. Set the timeframe Work out the sample size, then run at least 1 to 2 weeks [1].

Can I A/B test my Google Ads?

Yes, through a custom experiment. Google says you can create one from your original campaigns and compare how it performs against them over time. It shares the original campaign's traffic and budget [3]. Google says the experiment lets you test changes to your campaigns, which fits SEM work. For a page, test the landing page itself and measure with conversion tracking.

What if my A/B test shows no clear winner?

NN/g says that if the test was inconclusive, or the original did better, you should keep the original design and consider testing another variation [1]. Optimizely adds that a test with positive, negative or neutral results still teaches you something about your users [2]. Optimizely's own framework starts by looking at analytics, such as GA4, for pages with high drop-off [2].

Questions people ask

Is A/B testing the same as split testing?

Yes. Optimizely says A/B testing is also known as split testing or bucket testing [2]. All three names mean showing two versions to different visitors and comparing results.

How long should I run an A/B test?

NN/g recommends at least 1 to 2 weeks, even with enough traffic, to allow for changes in user behaviour. The length also depends on the sample size your calculation gives [1].

Can I change more than one thing at once?

NN/g says the variant should ideally differ in one design element only [1]. Change a button and a headline together and you cannot tell which one caused the result.

See also

  • Conversion rate Conversion rate is the percentage of people who take the action you want, such as buying or sending an enquiry, out of everyone who interacted with your ad.
  • Heatmap A website heatmap is a colour-coded picture of a page that shows where visitors click, how far they scroll and which parts they ignore.
  • Conversion tracking Conversion tracking records when a visitor does something you care about, such as sending a form or tapping WhatsApp, and ties it back to the ad that brought them.
  • Landing page A landing page is the page a person arrives on after clicking your ad, and it should match what the ad promised.
  • Call to action A call to action, or CTA, is the button, link or line of text that tells a visitor what to do next, such as Book a slot.
  • Marketing funnel A marketing funnel is a model of the steps a person takes from first hearing about a business to buying, with some people dropping out at each step.

References

  1. A/B Testing 101, Nielsen Norman Group. Read 27/11/2026.A/B testing is a quantitative research method that tests two or more design variations with a live audience
  2. A/B testing glossary, Optimizely. Read 27/11/2026.also known as split testing or bucket testing
  3. Set up a custom experiment, Google Ads Help. Read 27/11/2026.You can create a custom experiment from your original campaigns and compare how your experiment performs against your original campaigns over time.