A/B Testing Guide: How to Run Tests That Give Reliable Answers
Anu Raina6 min read
- A/B Testing
- CRO
- Experimentation
- Analytics

Table of contents
AB testing (also written A/B testing or split testing) compares two versions of a page, email, ad or feature to see which performs better on a specific goal. Half your visitors see version A, half see version B, and the data tells you which wins, if you run the test properly.
Done well, testing turns opinions into evidence and compounds small wins into big improvements. Done badly, it produces confident decisions based on random noise.
When A/B testing makes sense
A/B testing needs enough traffic and conversions to detect real differences. As a rough guide, you want at least a few hundred conversions per variation over the test period for most website tests. If your landing page gets 40 leads a month, a classic A/B test of a small change could take many months to reach a reliable answer.
For lower-traffic sites:
- test bigger changes (a new offer or page structure) that create larger differences
- use research-led improvements (user testing, recordings, surveys) instead
- test on higher-traffic pages or in ads, where volume is greater
Our conversion rate optimization guide covers research-led improvements.
What to test (in order of impact)
- Offer – free consultation vs free audit, discount vs bundle.
- Headline and value proposition – the promise visitors see first.
- Page structure – order of sections, length, placement of proof.
- Form design – number of fields, single vs multi-step.
- Calls to action – wording and placement ("Get my free quote" vs "Submit").
- Social proof – testimonials, logos, review widgets.
- Images and video – product shots vs lifestyle, video vs static.
- Pricing presentation – monthly vs annual, anchoring, plan names.
Button colours and minor font changes rarely matter unless they fix a real visibility problem.
Step 1: Write a clear hypothesis
Because [evidence], we believe [change] will cause [effect] for [audience], measured by [metric].
Example: "Because session recordings show visitors scrolling past the pricing table without clicking, we believe adding 'Most popular' labels and a comparison summary will increase plan selection clicks on desktop."
Step 2: Choose one primary metric
Pick the metric that best reflects success: form submissions, purchases, revenue per visitor or qualified leads. Track secondary metrics (bounce rate, average order value) to catch side effects, but decide the winner on the primary metric.
Step 3: Calculate sample size and duration
Use a sample size calculator with:
- your current conversion rate
- the minimum improvement you care about detecting (minimum detectable effect)
- desired confidence (usually 95%) and statistical power (usually 80%)
Then estimate how many days you need based on traffic. Run tests for at least one to two full weeks to cover weekday and weekend behaviour, even if numbers look clear sooner.
Step 4: Run the test properly
- Split traffic randomly and evenly.
- Don't change the test or traffic sources midway.
- Avoid running overlapping tests on the same audience and page.
- Check both versions work correctly on all devices before launch.
- Make sure conversion tracking works for both versions.
Step 5: Analyse results honestly
- Don't stop early because one version is ahead after two days. Early leads often disappear ("peeking" inflates false positives).
- Check statistical significance and confidence intervals, not just which number is higher.
- Look at segments (mobile vs desktop, new vs returning) for insight, but be cautious about declaring winners in small segments.
- Consider business significance: is the improvement large enough to matter?
Step 6: Document and implement
Record the hypothesis, setup, duration, results and learnings in a shared log. Implement winners, and remember that "no difference" is also a useful result. It tells you that element isn't a lever, so you can focus elsewhere.
A/B testing tools
| Tool type | Examples | Notes |
|---|---|---|
| Website testing platforms | VWO, Optimizely, AB Tasty, Convert | Visual editors, targeting, stats engines |
| Feature-flag platforms | LaunchDarkly, Statsig, GrowthBook | Good for apps and product teams |
| Ad platform experiments | Google Ads experiments, Meta A/B tests | Test campaigns, bidding and creative |
| Email and WhatsApp tools | Most email platforms | Subject lines, content, send times |
| CMS or custom builds | Server-side split logic | Faster pages, no visual flicker |
Google Optimize was discontinued in 2023, so many businesses moved to the tools above.
An example test plan
| Item | Example |
|---|---|
| Page | Service landing page for Google Ads traffic |
| Hypothesis | Replacing "Contact us" with "Get a free 20-minute consultation" will increase form submissions, because visitors are unclear what happens after submitting |
| Primary metric | Form submissions per visitor |
| Secondary metrics | Qualified lead rate, call clicks |
| Traffic split | 50/50, Google Ads traffic only |
| Minimum detectable effect | 20% relative improvement |
| Estimated duration | 3 weeks, based on current traffic and conversion rate |
| Decision rule | Implement B if it wins at 95% confidence and lead quality holds |
Writing this down before launch prevents moving goalposts once results start coming in.
Common A/B testing mistakes
- Stopping tests as soon as one version looks better.
- Testing too many changes at once without a clear hypothesis.
- Running tests with too little traffic to detect realistic differences.
- Ignoring seasonality, sales and campaign changes during the test.
- Declaring winners based on tiny segments.
- Optimising for clicks when the real goal is revenue or lead quality.
- Visual "flicker" from client-side tools that bias results.
Testing beyond the website
- Google Ads: use campaign experiments to test bidding strategies, landing pages or ad variations.
- Meta Ads: use the A/B test feature for creative, audiences or placements.
- Email and WhatsApp: test subject lines, message length and call-to-action wording.
Related reading: Landing Page Best Practices: How to Build Pages That Convert Ad Traffic and GA4 Setup Guide: Configure Google Analytics 4 the Right Way.
FAQs
How long should an A/B test run?
Until it reaches the planned sample size, and for at least one to two full weeks to capture weekly patterns.
What is statistical significance?
It's a measure of how unlikely your observed difference would be if there were truly no difference. 95% significance is a common threshold, but it doesn't guarantee the result.
Can small businesses do A/B testing?
Yes, by testing bold changes on higher-traffic pages or in ads, and relying on research-led improvements where traffic is low.
What's the difference between A/B and multivariate testing?
A/B tests compare whole versions. Multivariate tests combine multiple element changes at once and need much more traffic.
The bottom line
AB testing works when you test meaningful changes, start with a clear hypothesis, plan sample size and duration, resist stopping early and document what you learn. Combined with good research, it turns your website into a steadily improving growth engine.
Want a structured testing programme? Our conversion rate optimisation team designs and runs experiments, and our landing page service builds the variations. Let's start testing.
Related articles

Strategy & Data · Oct 26, 2026
Heatmaps and Session Recordings: See How Visitors Really Use Your Site
Analytics tells you what happens; heatmaps and session recordings show why. Here is how to use them to spot confusing pages, ignored CTAs and broken forms, and turn what you see into conversion improvements.

Strategy & Data · Jun 4, 2026
Conversion Rate Optimization: A Practical Guide to More Leads and Sales
Doubling your conversion rate halves your cost per customer without spending more on ads. Here is a practical CRO process: find the leaks, understand why, fix the biggest ones and test.

Strategy & Analytics · Nov 10, 2026
Tracking That You Can Trust: GA4, UTM Tags and Conversion Events
If your numbers do not match across tools, nothing else matters. Set up a clean measurement foundation first.

