BeLocalBook a call
MenuClose

Explainer

What is A/B testing, and how much traffic does it need?

A/B testing shows two versions of a page to real visitors at the same time and keeps the one that wins more leads or sales.

On this page
  1. How an A/B test works
  2. Key terms
  3. Key numbers
  4. What to test first on a business website
  5. How much traffic an A/B test needs
  6. A/B testing examples worth knowing
  7. Mistakes that fake a winner
  8. Will A/B testing hurt your Google rankings?
  9. A/B testing tools after Google Optimize
  10. What is A/B testing questions
  11. Sources

In one sentence

A/B testing is a controlled experiment that sends visitors at random to two versions of a page, email or ad, then measures which one converts better.

Key takeaways

  • An A/B test splits visitors at random between the current page (A) and one change (B), then compares their conversion rates.
  • It needs traffic: finding a lift from 4% to 5% takes roughly 6,000 visitors per version, so small sites test big changes on their busiest pages.
  • Decide the sample size before you start and don't stop early. Checking daily and stopping at the first good result can make a dud look like a winner.

How an A/B test works

You pick one page and one goal, say the quote form on your roofing page. Your testing tool sends half the visitors to the page as it is (the control) and half to a copy with one change (the variant). Because the split is random and runs at the same time, both groups see the same weather, the same ads and the same news. The only real difference between them is your change.

When enough people have been through both versions, you compare the conversion rates. If the variant's lead is bigger than chance would explain, you roll it out to everyone and it becomes the new control. Then you test the next idea against it.

Split testing is the same thing under another name. A multivariate test changes several elements at once and measures each combination, which needs many times the traffic. For most Canadian business sites, a plain A/B test is the right tool.

  1. Find the leak

    Start from your analytics and heatmaps: the page with traffic but few leads, the form people abandon.

  2. Write a hypothesis

    "Showing the price range above the form will raise quote requests, because visitors leave to look for prices."

  3. Size the test

    Work out how many visitors each version needs before you launch, from your current conversion rate.

  4. Run it to the end

    Let it reach that sample, in whole weeks, without stopping early because it looks good.

  5. Ship or learn

    Roll out the winner. A flat result is still an answer: the change didn't matter, so try a bigger one.

Key terms

Control
Version A, the page as it is today. Every test is measured against it.
Variant
Version B, the page with one change you think will do better.
Conversion rate
The share of visitors who do the thing you want: call, book, buy or send a form.
Statistical significance
How unlikely the difference would be if the change did nothing. Most tests use a 95% threshold.
Minimum detectable effect
The smallest lift the test is built to notice. Smaller effects need far more visitors.
Statistical power
The chance the test catches a real effect of that size. 80% is the usual target.

Key numbers

What to test first on a business website

Test where the money is. A page with 50 visitors a month will never give you an answer, so start with the pages your ads land on, your top service pages and your contact or booking page. Then test changes big enough to matter. A new button colour rarely moves anything a small site can measure; a different offer or a shorter form can.

A/B test ideas, from biggest likely effect to smallest
What you changeExample variantGood for
The offer"Free on-site estimate" instead of "Contact us"Trades, renovations, home services
The formThree fields instead of eight, with the address asked laterAny lead form
Price clarityA "most projects cost $X to $Y" line near the call to actionServices people shop around for
ProofGoogle review rating and two named reviews beside the formClinics, law firms, contractors
The headlineThe outcome ("Dry basement by Friday") instead of the company nameLanding pages for ads
The call to action"Book a call" against "Get my quote"High-traffic pages only

Test one idea, not one element

"One change at a time" means one idea. A variant that rewrites the headline, swaps the photo and moves the form can all serve one hypothesis ("lead with the outcome"). You'll learn less about which part did it, but on a small site a bold variant is the only kind that reaches a result.

How much traffic an A/B test needs

This is where most tests fail before they start. The smaller the lift you want to detect, the more visitors you need, and the number grows with the square of how small it is. A quick rule of thumb from statistician Evan Miller gives the visitors needed in each version for 95% significance and 80% power:

n = 16 × p × (1 - p) ÷ d²

Where

n
visitors needed in each version
p
your current conversion rate, as a decimal (4% is 0.04)
d
the smallest absolute change you want to detect (4% to 5% is 0.01)

A contractor's quote page

The page converts 4% of visitors and you want to know if a shorter form gets it to 5%. That's 16 × 0.04 × 0.96 ÷ 0.0001, or about 6,100 visitors per version, 12,300 in all.

At 1,500 visitors a week, that's about eight weeks. If you'd only care about a jump to 6%, d becomes 0.02 and the need falls to about 1,540 per version: two weeks. That is why small sites should test bold changes.

Try the free tool

A/B test calculator

Plug in your traffic and conversion rate to see how long a test will take, and whether a result is significant.

Open the tool

Run full weeks

Visitors behave differently on a Monday morning than on a Saturday night. End a test on the same weekday it started, after at least one full week, even when the sample is reached sooner.

A/B testing examples worth knowing

Bing's ad headlines: a 12% revenue lift from a shelved idea

In 2012 a Microsoft employee suggested a small change to how Bing displayed ad headlines. It sat in the backlog for more than six months as a low priority. When an engineer finally tested it, revenue rose 12%, worth more than US$100 million a year in the United States alone, according to Ron Kohavi and Stefan Thomke in Harvard Business Review.

The lesson: the ideas a team ranks highest are not reliably the winners. Testing is how you find out.

Obama 2008: a photo and a button that lifted sign-ups 40.6%

The campaign tested four button labels and six images or videos on its splash page, across 310,382 visitors. A family photo with a "Learn More" button raised the sign-up rate from 8.26% to 11.6%, a 40.6% relative lift. Every video did worse than every image, which surprised the team.

The lesson: "Learn More" asked for less commitment than "Sign Up", and it won. Lower the ask and more people take the first step.

Less than a third move the metrics they were designed to improve, and in an optimized domain like Bing, that number is lower.

Harry Shum, Microsoft, on ideas tested at Bing (2013)

That quote is the honest base rate. Most ideas, even good ones from experienced teams, do nothing measurable. A testing program pays off because the few winners stack up, and because you stop shipping the losers. For more page patterns to test, see these landing page examples.

Mistakes that fake a winner

  1. Peeking and stopping early. Significance maths assumes you look once, at the planned sample. In Evan Miller's simulation, stopping as soon as a do-nothing change looked significant gave a false positive 26.1% of the time, not 5%.
  2. Too little traffic. A "winner" after 80 visitors is noise. Size the test first, or test something bigger.
  3. Changing the test midway. Editing the variant, the split or the goal after launch mixes two experiments into one result.
  4. Counting the wrong goal. Clicks on a button are not leads. Measure the form sent or the call made, and check the leads were real.
  5. Ignoring segments you can't fix. A variant that wins on desktop and loses on mobile may be one result hiding two. Look before you roll out.
  6. Leaving the test running for months. Ship the winner and remove the test code. Old test scripts slow the page down.

BeLocal sizes every test before launch and runs it to 95% confidence, so a winner is a real winner.

Book a call

Will A/B testing hurt your Google rankings?

No, if you follow Google's own guidance on website testing. Google says testing is fine and lists four rules. Most testing tools follow them by default, but check if you build a test by hand.

  • No cloaking. Don't show Googlebot one version and people another.
  • Canonical tags. If the variant lives on its own URL, point it to the original with rel="canonical".
  • 302, not 301. Redirect tests use a temporary redirect, so the original URL stays indexed.
  • Only as long as needed. End the test, ship the winner and remove the alternate URLs and scripts. Google may treat a test left running for a long time as an attempt to deceive.

A/B testing tools after Google Optimize

Google Optimize, the free tool many small sites used, shut down on September 30, 2023, and Google did not replace it with a free tester. Today you have three routes.

Built-in tests. Google Ads experiments, most email platforms and some site builders and booking tools can split test their own pages and messages. Start here if your traffic comes mostly from one channel.

A dedicated tool. GrowthBook has a free cloud plan (up to three users) and a free open-source version you host yourself, with unlimited experiments. Paid tools such as VWO and Optimizely add visual editors and support.

Research first. Heatmaps and session recordings (Microsoft Clarity is free) show where people stall, which is where your hypotheses come from. Pair them with goal tracking in Google Analytics so you measure leads, not clicks.

Consent still applies

Testing and recording tools set cookies or identifiers. Make sure your cookie banner covers them, especially for visitors in Quebec under Law 25.

Related guide, explainerConversion rate optimization: More leads from the traffic you already have

What is A/B testing questions

What is A/B testing in simple terms?

Showing two versions of a page to different visitors at the same time, then keeping the one that gets more people to act. Version A is what you have; version B has one change.

How long should an A/B test run?

Until it reaches the sample size you worked out before launch, and for whole weeks: at least one, usually two to six for a business site. Don't stop the day it first looks significant.

Is A/B testing worth it for a small website?

Only on pages with steady traffic, and only for bold changes. Under a few thousand visitors a month to a page, fix the obvious problems first (speed, a clear offer, a short form) and use heatmaps to guide you. Then test once traffic grows, for example from paid ads.

What's the difference between A/B testing and conversion rate optimization?

A/B testing is one method. Conversion rate optimization is the whole process of finding why visitors don't act and fixing it, with research, fixes and tests.

What is an A/A test?

Two identical versions tested against each other. It checks that your tool splits traffic evenly and tracks properly: if an A/A test "finds a winner" often, something is broken.

Sources

Contact

Let’s build yours

  • Free mockup of your site
  • No commitment
  • Quick response
Hours
Mon-Fri, 9am-6pm ET

Get your free mockup

A homepage mock plus a written plan for the whole site.

Services needed