• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
QuestionPro

QuestionPro

questionpro logo
  • Products
    survey software iconSurvey softwareEasy to use and accessible for everyone. Design, send and analyze online surveys.research edition iconResearch SuiteA suite of enterprise-grade research tools for market research professionals.CX iconCustomer ExperienceExperiences change the world. Deliver the best with our CX management software.WF iconEmployee ExperienceCreate the best employee experience and act on real-time data from end to end.
  • Solutions
    IndustriesGamingAutomotiveSports and eventsEducationGovernment
    Travel & HospitalityFinancial ServicesHealthcareCannabisTechnology
    Use CaseAskWhyCommunitiesAudienceContactless surveysMobile
    LivePollsMember ExperienceGDPRPositive People Science360 Feedback Surveys
  • Resources
    BlogeBooksSurvey TemplatesCase StudiesTrainingHelp center
  • Features
  • Pricing
Language
  • English
  • Español (Spanish)
  • Português (Portuguese (Brazil))
  • Nederlands (Dutch)
  • العربية (Arabic)
  • Français (French)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • Türkçe (Turkish)
  • Svenska (Swedish)
  • Hebrew IL (Hebrew)
  • ไทย (Thai)
  • Deutsch (German)
  • Portuguese de Portugal (Portuguese (Portugal))
  • Español / España (Spanish / Spain)
Call Us
+1 800 531 0228 +1 (647) 956-1242 +55 9448 6154 +49 030 9173 9255 +44 01344 921310 +81-3-6869-1954 +61 (02) 6190 6592 +971 529 852 540
Log In Log In
SIGN UP FREE

Home Market Research

A/B Testing: What It Is, How It Works, and How to Run One

A/B testing

A/B testing is a controlled experiment that shows two versions of a page, email, or app to separate groups of real users and measures which one performs better against a set goal. It replaces opinion with evidence, so teams stop debating headlines and start reading results.

Done well, A/B testing turns small changes into steady gains. Done badly, it produces confident answers that are simply wrong.

In this blog, we will cover how A/B testing works, the main test types, a step-by-step process, sample size rules, real examples, and the mistakes that quietly ruin results.

Content Index hide
1. What is A/B testing?
2. How does A/B testing work?
3. What are the types of A/B testing?
4. How is A/B testing different from similar methods?
5. What are the benefits of A/B testing?
6. Step-by-step guide to running an A/B test
7. How do you decide what to test first?
8. When should you skip A/B testing?
9. How big should your sample be, and how long should a test run?
10. How do you read A/B test results?
11. What do real A/B testing examples look like?
12. What are the most common A/B testing mistakes?
13. How do you run survey A/B tests in QuestionPro?
14. Why every A/B test is worth running, even a losing one
15. Frequently Asked Questions (FAQs)

What is A/B testing?

A/B testing, also called split testing or bucket testing, is a randomized experiment that compares a control (version A) against a variant (version B) to see which one moves a predefined metric more. The metric might be clicks, sign-ups, purchases, or survey responses.

Every valid test has four parts:

  • Control (version A): The current experience that real users already see.
  • Variant (version B): The changed version you want to test against the control.
  • Random assignment: Chance, not the team, decides which group sees which version.
  • Success metric: One measurable goal, set before launch, that decides the winner.

Random assignment is what makes the comparison fair. Traffic source, device, and time of day are spread evenly across both groups, so any gap in results traces back to the change itself.

How does A/B testing work?

An A/B test works by splitting live traffic, tracking one metric, and checking whether the gap between versions is bigger than chance would explain. Four moves make up the loop:

  1. Split: The testing tool assigns each visitor to version A or B at random, often 50/50.
  2. Show: Each visitor sees only one version for the whole test, so experiences never mix.
  3. Track: The tool records the success metric for every visitor in both groups.
  4. Compare: Analysts check whether the gap is statistically significant, meaning a difference this large would be unlikely if both versions performed the same.

What are the types of A/B testing?

Businesses run four main kinds of tests, and each fits a different change size and traffic level. Simple tests still dominate.

Classic A/B testing

Classic A/B testing compares two versions of one page where only one or two elements change, such as a headline or a button. Everything else stays identical, so the result points to that change.

  • Best for: Focused questions about a single element.
  • Trade-off: It answers one question at a time.

Split URL testing

Split URL testing, also called redirect testing, sends traffic to two separate URLs that each host a different page design. It suits full redesigns that are too different to build as a variant of the same page.

  • Best for: Redesigns and new landing pages.
  • Trade-off: You build, maintain, and quality-check two full pages.

A/B/n testing

An A/B/n test compares one control against two or more variants at once, such as four different headlines. It tests more ideas in a single run.

  • Best for: Several competing ideas that share one hypothesis.
  • Trade-off: Traffic divides across more groups, so each group fills more slowly.

Multivariate testing

Multivariate testing changes several elements at once and measures every combination. Three headlines and two images create six versions, for example. It shows how elements interact, not just which one wins alone.

  • Best for: High-traffic pages that need polish after the layout is settled.
  • Trade-off: It needs far more traffic, because combinations multiply with each added element.

How is A/B testing different from similar methods?

Several methods get confused with A/B testing because they also compare options. The table shows what each one compares and when to pick it.

Method What it compares Best use
A/B test Two versions with one change A fast answer on a single change
A/B/n test One control and several variants Testing multiple ideas for one hypothesis
Split URL test Two separate pages at different URLs Full page redesigns
Multivariate test Every combination of several elements Fine-tuning a high-traffic page
A/A test Two identical versions Checking that tracking and randomization work
Bandit test Variants that shift traffic toward the leader in real time Short campaigns where lost conversions are costly
Usability test Observed behavior of a few users Finding out why people struggle
Survey experiment Respondent groups that each see one version Measuring attitudes, preferences, and wording effects

People often use A/B testing and split testing as synonyms. Some teams reserve split testing for the separate-URL version. Treat both terms as the same method unless a vendor defines them differently.

What are the benefits of A/B testing?

A/B testing lets teams ship changes based on measured user behavior instead of internal opinion. Five benefits stand out:

  1. Evidence over opinion: A test settles debates with data, so the loudest voice stops winning by default.
  2. Lower risk: A change reaches a slice of traffic first, which limits the damage if it backfires.
  3. Higher conversion rates: Tested wording, layout, and form changes lift the share of visitors who complete a goal.
  4. Better return on existing traffic: Visitors cost money to acquire, so converting more of them beats buying more.
  5. Compounding learning: Each result, win or lose, sharpens the next hypothesis.

A single test rarely transforms a business. A steady testing habit does.

Step-by-step guide to running an A/B test

A reliable A/B test follows seven steps, and skipping any one of them weakens the result.

  1. Research the problem.
    Use analytics, heat maps (visual maps of where visitors click), session recordings, and surveys to find pages with high traffic and weak conversion.
  2. Write a hypothesis.
    State what you will change, what you expect, and why. For example: “Adding ‘No credit card required’ beside the sign-up button will raise trial starts because visitors fear surprise charges.”
  3. Choose one primary metric.
    Pick the single goal that decides the winner. Add guardrail metrics, which are secondary measures such as cancellation rate that must not get worse.
  4. Build the variant.
    Create it in your A/B testing software or in code, and change only what the hypothesis names.
  5. Calculate sample size and duration.
    Fix both before launch, using the rules in the sample size section below.
  6. QA and launch.
    Check both versions across browsers and devices. Confirm tracking fires for each group.
  7. Analyze, decide, and document.
    Read results against the plan you set. Then log the hypothesis, dates, numbers, decision, and lesson.

Client-side vs server-side testing

Testing tools apply changes in one of two places, and the choice decides who can build the test.

  • Client-side: JavaScript in the visitor’s browser changes the page. Marketers launch faster with visual editors, but visitors may see a brief flash of the original page.
  • Server-side: The server sends the correct version before the page loads. It needs engineering time, but it can test pricing, algorithms, and product logic that a browser cannot change reliably.

A worked example

Picture a SaaS company whose pricing page has a high bounce rate. The team hypothesizes that defaulting the billing toggle to annual will raise trial starts, because it shows the lower monthly price first. Trial starts are the primary metric. First-month cancellation rate is the guardrail.

They split traffic evenly for three weeks and reach the planned sample size. The annual-default version produces 9 percent more trial starts, and the result clears the significance threshold. This is a hypothetical example, so treat the 9 percent as an illustration, not a benchmark.

How do you decide what to test first?

Test ideas outnumber testing capacity, so prioritization decides whether a program learns fast or burns traffic. Start with evidence, not hunches. Surveys, heat maps, and session recordings show where visitors stall, and many website optimization tools bundle those methods.

High-impact tests to prioritize:

  • Value proposition and headline
  • Call-to-action wording and placement
  • Checkout flow and form length
  • Page layout and content hierarchy
  • Pricing and offer presentation

Lower-impact tests to deprioritize:

  • Button color on its own
  • Minor font changes
  • Spacing tweaks with no hypothesis behind them

Color rarely changes a decision. An unaddressed objection does. A sign-up page that adds “No credit card required” next to the button tackles a real worry, while a blue-to-green swap rarely does.

Score ideas with a simple framework

ICE scoring rates each idea from 1 to 5 on impact, confidence, and ease, then averages the three. Higher scores run first. The scores below are illustrative.

Test idea Impact Confidence Ease ICE score
Add “No credit card required” near the sign-up button 4 4 5 4.3
Rebuild the pricing page layout 5 3 2 3.3
Change the button color 1 2 5 2.7

CXL’s PXL model, a scoring sheet, goes further. It swaps gut-feel scores for yes-or-no evidence questions, which reduces subjectivity.

When should you skip A/B testing?

A/B testing is the wrong tool when traffic is too low, the change is too risky, or no one can name a hypothesis. Skipping a test is a valid decision.

  • Low traffic: A page with a few hundred visitors a month can take many weeks to fill a test. Test bigger changes, use higher-volume metrics such as clicks instead of purchases, or switch to interviews and surveys.
  • No clear hypothesis: Random tweaks produce random results.
  • Unmeasurable outcome: If you cannot track the goal, no test can score it.
  • Compliance or safety risk: Some changes need legal or safety review, not a traffic vote.

Teams in these situations can still learn from users. Qualitative research often finds the problem faster than a test could.

How big should your sample be, and how long should a test run?

Sample size is the number of visitors each version needs before a test can detect a real difference reliably, and you should fix it before launch. Four inputs set the number:

  • Baseline conversion rate: Today’s rate for the page you are testing.
  • Minimum detectable effect (MDE): The smallest lift worth detecting, such as a 20 percent relative lift, which turns 10 percent into 12 percent.
  • Statistical power: The chance of catching a real effect. Eighty percent is the usual standard.
  • Significance level: The false-positive threshold, commonly 5 percent, which matches 95 percent confidence.

Here is a real calculation. A 10 percent baseline and a 20 percent uplift call for about 2,863 visitors per group. Smaller lifts need far more, and calculators differ in their assumptions, so totals vary. Try your own numbers, or read how sample size determination works.

How long should an A/B test run?

Run the test until it reaches the planned sample size, and cover at least two full business cycles. Cycles matter because behavior shifts with:

  • Day of the week
  • Traffic source mix
  • Email and content publishing schedules
  • Returning visitors who buy days later
  • Paydays and other outside events

Skip magic numbers such as “100 conversions.” They ignore your baseline, effect size, and traffic pattern.

Do not stop early because the dashboard shows a winner. Results often swing in the first days and then drift toward no difference, a pattern called regression to the mean. In one e-commerce example, the early leader ended with no difference after four weeks. The novelty effect adds another trap, where a change looks strong only because it is new.

How do you read A/B test results?

Reading results means checking data quality first, then the primary metric, the size of the effect, and the guardrails. A winner on a broken test is still a loser. For the underlying math, see this guide to statistical analysis.

The five checks, in order

  1. Data quality.
    Confirm the traffic split matches the plan. A mismatch, called sample ratio mismatch (SRM), signals a bug and invalidates the test.
  2. Primary metric.
    Check whether the metric you chose moved in the planned direction.
  3. Effect size and uncertainty.
    Read the confidence interval, which is the range of plausible true effects. Do not rely on the p-value alone. The p-value is the chance of seeing this result, or a more extreme one, if there were no real difference.
  4. Guardrail metrics.
    Confirm nothing important got worse.
  5. Planned segments.
    Check device or new versus returning visitors only if you set those segments before launch. Hunting through segments afterward finds false winners.

Statistical significance versus practical significance

A result can be statistically significant and still not worth shipping. A 0.1 percent lift may clear the threshold on huge traffic yet never repay the engineering cost. Decide the smallest lift worth shipping before the test starts. Then compare the confidence interval to that number.

Bayesian or frequentist statistics?

Testing platforms use one of two statistical approaches, and each reports results differently.

  • Frequentist: Tests the no-difference hypothesis and reports p-values. It works best with a fixed sample size and no peeking.
  • Bayesian: Reports the probability that a variant beats the control. Many stakeholders find it easier to read.

Follow your platform’s method. Do not mix one method’s results with the other’s stopping rules.

What do real A/B testing examples look like?

Examples make the method concrete, and they show how small changes can carry large stakes. Three cases show the range, from a famous win to everyday tests.

Bing: A headline change worth $100 million

In 2012, a Microsoft engineer tested a small change to how Bing displayed ad headlines. Managers had ranked the idea as low priority, and it sat on the shelf for more than six months, according to Harvard Business Review.

  • Result: Revenue rose 12 percent, which would exceed $100 million a year in the United States alone.
  • Lesson: Teams cannot rank ideas by gut feel, because cheap changes sometimes pay off enormously.

Checkout button text

An online retailer tests “Complete Order” against “Get My Order.” This is a hypothetical example.

  • Primary metric: Completed purchases.
  • Guardrail metric: Return rate, to catch wording that oversells.
  • Lesson: Even tiny copy changes need a metric, a sample size, and a fixed end date.

Email subject lines and US compliance

Email is the easiest place to start testing, because the send is already split by design. In the United States, both subject lines must accurately reflect the message content under the CAN-SPAM Act. The FTC says each violating email can draw penalties of up to $53,088.

  • Test ideas: Length, personalization, and question versus statement.
  • Primary metric: Click-through rate.

What are the most common A/B testing mistakes?

Most failed tests fail on process, not creativity. Setup quality matters. Analysis found a 58 percent win rate for well-designed experiments against 35 percent for poorly configured ones. Those figures come from real customers, so treat them as directional. Eight mistakes show up again and again:

  1. Stopping early: Peeking and calling a winner inflates false positives.
  2. Changing several things at once: You cannot tell which change caused the result.
  3. Skipping the sample size calculation: Underpowered tests miss real effects.
  4. Ignoring tracking bugs: Run an A/A test first, because two identical versions should show no difference.
  5. Testing trivial changes: Tiny tweaks rarely produce detectable lifts.
  6. Fishing in segments: Slicing results after the fact manufactures winners from noise.
  7. Letting tests collide: Overlapping tests on the same page or metric can contaminate each other.
  8. Not archiving results: Teams repeat old tests when nobody logs hypotheses, dates, metrics, and decisions.

How do you run survey A/B tests in QuestionPro?

Survey A/B testing randomly assigns respondents to different versions of a concept, message, or question, then compares their answers. A/B testing in QuestionPro surveys uses the Block Randomizer, which is available with the Research Edition license. Businesses using QuestionPro Market Research Software can set these experiments up inside the survey builder.

What can you test with a survey experiment?

Survey experiments measure what people prefer and why, not what they click. Common tests include:

  • Ad or message concepts before launch
  • Product names, packaging, or price messages
  • Question wording and answer order

Each respondent sees one version only. Researchers call this monadic testing, meaning each person evaluates a single concept so comparisons stay unbiased.

How to set up a block randomizer

  1. Open your survey and click Tools.
  2. Choose Block Randomizer, then click Add Randomizer.
  3. Drag the survey blocks you want to compare into the randomizer section.
  4. Select how many blocks each respondent sees. To show one version per person, select one block.
  5. Save and launch. Later, export your data with the Include Randomization Data toggle on, so you can see which block each respondent saw.

Survey tests do not replace behavioral tests on a live site. A web experiment shows what visitors do. A survey experiment shows what they prefer and why. Many teams run both.

Why every A/B test is worth running, even a losing one

A/B testing works because it makes ignorance cheap to fix. Even at Google and Bing, only 10 to 20 percent of experiments produce a positive result. Businesses that expect a win every time quit too soon.

Treat each test as a question you are paying to answer. A losing test stops you from shipping a bad idea. A flat result shows the change does not matter, so you can spend effort elsewhere. Either way, you learn something no meeting could have told you.

Start small. Pick one hypothesis, one metric, and a sample size calculated up front. Then write down what happened. The habit, not any single test, is what compounds.

Create memorable experiences based on real-time data, insights and advanced analysis. Request Demo

Frequently Asked Questions (FAQs)

Which metrics should you track in an A/B test?

Pick one primary metric tied to the goal, such as conversion rate, click-through rate, or revenue per visitor. Add guardrail metrics like bounce rate, cancellation rate, or page load time to catch hidden damage. Never declare a winner on a secondary metric alone.

Can you run more than one A/B test at the same time?

Yes, when the tests are unlikely to interact. Tests on different pages or audiences usually coexist safely. Tests that change the same page, feature, or metric can contaminate each other, so review the overlap before launch and run them longer if the risk is high.

What is an A/A test and when should you run one?

An A/A test shows two identical versions to randomized groups. It should find no difference, so it validates your tracking and traffic split. Run one when you adopt a new testing tool or suspect measurement problems, before you spend real traffic on hypotheses.

Is A/B testing email subject lines legal in the US?

Yes. The CAN-SPAM Act does not ban testing, but every subject line variant must accurately reflect the message content. The FTC can penalize deceptive subject lines per email, so test tone, length, and personalization, never misleading claims.

Can you A/B test mobile apps and products, not just web pages?

Yes. Product teams test onboarding flows, features, and notification timing. Feature flags, which switch features on for chosen users, let teams vary the experience for random groups without shipping a separate app version per variant.

SHARE THIS ARTICLE:

About the author
Anas Al Masud
Digital Marketing Lead at QuestionPro. SEO-driven content strategist specializing in content that ranks, engages, and converts, while boosting online visibility through hands-on digital marketing expertise.
View all posts by Anas Al Masud

Primary Sidebar

Research what's on your mind. Find out what's on theirs!

A suite of tools to leverage research and transform insights.

Discover our insight platform

RELATED ARTICLES

HubSpot - QuestionPro Integration

Is Data Analytics Worth It for Customer Experience?

Feb 11,2026

HubSpot - QuestionPro Integration

7 Best Employee Lifecycle Management Software for 2026

Apr 15,2024

HubSpot - QuestionPro Integration

Software de gestión del conocimiento: Los 16 mejores

Mar 28,2024

BROWSE BY CATEGORY

Footer

MORE LIKE THIS

Frontline Employee Survey Channels Compared: SMS vs WhatsApp vs QR Code vs Microsoft Teams

Oct 16, 2026

Are Anonymous Surveys Really Anonymous? What Real Employee Survey Anonymity Requires

Oct 16, 2026

Pulse Survey Best Practices: How Often Should You Survey Employees?

Oct 16, 2026

360 Degree Feedback for Leadership Development: Why It Works Best Apart from Performance Reviews

Oct 16, 2026

Other categories

questionpro-logo-nw
Help center Live Chat SIGN UP FREE
  • Sample questions
  • Sample reports
  • Survey logic
  • Branding
  • Integrations
  • Professional services
  • Security
  • Survey Software
  • Customer Experience
  • Workforce
  • Communities
  • Audience
  • Polls Explore the QuestionPro Poll Software - The World's leading Online Poll Maker & Creator. Create online polls, distribute them using email and multiple other options and start analyzing poll results.
  • Research Edition
  • LivePolls
  • InsightsHub
  • Blog
  • Articles
  • eBooks
  • Survey Templates
  • Case Studies
  • Training
  • Webinars
  • All Plans
  • Nonprofit
  • Academic
  • Qualtrics Alternative Explore the list of features that QuestionPro has compared to Qualtrics and learn how you can get more, for less.
  • SurveyMonkey Alternative
  • VisionCritical Alternative
  • Medallia Alternative
  • Likert Scale Complete Likert Scale Questions, Examples and Surveys for 5, 7 and 9 point scales. Learn everything about Likert Scale with corresponding example for each question and survey demonstrations.
  • Conjoint Analysis
  • Net Promoter Score (NPS) Learn everything about Net Promoter Score (NPS) and the Net Promoter Question. Get a clear view on the universal Net Promoter Score Formula, how to undertake Net Promoter Score Calculation followed by a simple Net Promoter Score Example.
  • Offline Surveys
  • Customer Satisfaction Surveys
  • Employee Survey Software Employee survey software & tool to create, send and analyze employee surveys. Get real-time analysis for employee satisfaction, engagement, work culture and map your employee experience from onboarding to exit!
  • Market Research Survey Software Real-time, automated and advanced market research survey software & tool to create surveys, collect data and analyze results for actionable market insights.
  • GDPR & EU Compliance
  • Employee Experience
  • Customer Journey
  • Synthetic Data
  • About us
  • Executive Team
  • In the news
  • Testimonials
  • Advisory Board
  • Careers
  • Brand
  • Media Kit
  • Contact Us

QuestionPro in your language

  • English
  • Español (Spanish)
  • Português (Portuguese (Brazil))
  • Nederlands (Dutch)
  • العربية (Arabic)
  • Français (French)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • Türkçe (Turkish)
  • Svenska (Swedish)
  • Hebrew IL (Hebrew)
  • ไทย (Thai)
  • Deutsch (German)
  • Portuguese de Portugal (Portuguese (Portugal))
  • Español / España (Spanish / Spain)

Awards & certificates

  • survey-leader-asia-leader-2023
  • survey-leader-asiapacific-leader-2023
  • survey-leader-enterprise-leader-2023
  • survey-leader-europe-leader-2023
  • survey-leader-latinamerica-leader-2023
  • survey-leader-leader-2023
  • survey-leader-middleeast-leader-2023
  • survey-leader-mid-market-leader-2023
  • survey-leader-small-business-leader-2023
  • survey-leader-unitedkingdom-leader-2023
  • survey-momentumleader-leader-2023
  • bbb-acredited
The Experience Journal

Find innovative ideas about Experience Management from the experts

  • © 2022 QuestionPro Survey Software | +1 (800) 531 0228
  • Sitemap
  • Privacy Statement
  • Terms of Use