A/B Testing: The Complete Guide for Startups (Purpose, Methodology, Best Practices)

  1. Blog
  2. Conversion & Pricing

By Saroj Jha · June 14, 2026 · 12 min read

What A/B testing is, how to run a trustworthy experiment step by step, the statistics in plain English, and the mistakes that quietly invalidate most tests.

1/31/31/3
  • Improved the metric
  • No effect
  • Made it worse

roughly equal thirds across ideas tested at Microsoft

Hit rate of tested ideas

1/3

of tested ideas actually improved the metric

World-class data teams guess wrong most of the time.

Of the ideas tested at Microsoft, roughly a third improved the metric, a third made no difference, and a third made things worse — which is why the test, not the opinion, decides.Source: Kohavi, Longbotham, Sommerfield & Henne (2009), Data Mining and Knowledge Discovery 18(1)

The mechanics of A/B testing are simple enough to learn in an afternoon; the discipline that makes results trustworthy is what separates teams that compound real gains from teams that redesign in circles. This guide covers both: the method, the statistics, and the mistakes that quietly invalidate most tests.

Done casually, A/B testing manufactures false winners: an underpowered test stopped the moment it looks good will hand you a “20% lift” that evaporates in production. The discipline is in the setup: one hypothesis, one primary metric, and a sample size fixed before the test starts.

In three numbers

  • 1 in 3 ideas tested at Microsoft improved the metric they targeted; a third did nothing and a third hurt it[1]
  • 10% of experiments succeed at Booking.com, Google Ads and Netflix, in a 2022 compilation by Kohavi, Deng and Vermeer[2]
  • 73% of experimenters in 2,101 commercial tests stopped just as a positive effect reached 90% confidence[3]

What is A/B testing, and why does it matter?

An A/B test (researchers call it an online controlled experiment) shows version A of a page, email, ad, or product feature to one random half of your audience and version B to the other half, then compares performance on a metric you defined before the test started. Because assignment is random, the two groups differ only by chance in everything else: device mix, traffic source, time of day, intent. Any difference bigger than random noise can therefore be attributed to the change itself[4].

That causal link is the entire point: analytics can tell you what happened; only an experiment can tell you why.

The business case rests on an uncomfortable, well-documented fact: most ideas don’t work. At Microsoft, about a third of tested ideas improved the metric they were designed to improve, a third made no difference and a third made it worse[1],[5]. At Google and Bing, only about 10–20% of experiments produce a positive result, and Booking.com, Google Ads and Netflix report about 10%[2]. If world-class data teams guess wrong most of the time, a startup shipping on instinct alone is, by Microsoft’s numbers, hurting performance about as often as helping it, and never finding out which is which.

Figure 1 Only 8% to 33% of tested ideas win, so the rare real winner is worth a disciplined search

Share of experiments that improved the metric they targeted

  • MicrosoftKohavi et al., 2009 33% 5.9% of “wins” false
  • BingKohavi et al., 2014 15% 15% of “wins” false
  • Booking.com, Google Ads, NetflixManzi, 2012; Thomke, 2020; Moran, 2007 10% 22% of “wins” false
  • Airbnb searchKohavi, 2022 8% 26% of “wins” false

The lower the success rate, the more “wins” are flukes. At 10%, about one result in five that clears p < 0.05 is a false positive.

What one real winner was worth

  • +12% Bing revenue from an ad-headline idea that sat untested for six months: over $100 million a year in the US
  • +40.6% Obama campaign sign-up rate from a December 2007 splash-page test; an estimated 2.88 million extra email addresses
  • 1,000+ rigorous tests Booking.com runs at the same time, by Thomke’s estimate
Show the numbers as a table
Program Wins False wins Source
Microsoft 33% 5.9% Kohavi et al., 2009
Bing 15% 15% Kohavi et al., 2014
Booking.com, Google Ads, Netflix 10% 22% Manzi, 2012; Thomke, 2020; Moran, 2007
Airbnb search 8% 26% Kohavi, 2022

Success rates and false positive risk (the share of results significant at p < 0.05 that are false, at 80% power): Kohavi, Deng and Vermeer (2022), Table 2, compiling the sources named[2]. Microsoft’s thirds and the Bing headline test: Kohavi and Thomke (2017)[1]. Obama: Siroker (2010), assuming the lift held all campaign[6]. Booking.com: Thomke (2020)[7].

What can you A/B test?

Anything with traffic and a measurable outcome. In practice, startup tests cluster into four groups, roughly from fastest to detect to slowest:

  • Messaging — Headlines, value propositions, calls to action, email subject lines. The cheapest tests, and often the highest-leverage.
  • Design and layout — Page structure, form length, imagery, where social proof sits.
  • Flows — Signup steps, onboarding, checkout, pricing-page structure.
  • Offers and pricing — Trial length, plan framing, guarantees. The highest impact, so handle with care.

The common thread: test where traffic volume and business impact intersect. A bold headline test on your highest-traffic landing page will reach a verdict weeks before a button-color test on a page nobody visits. For the page-level discipline, see the AAJ landing page conversion guide.

How an A/B test actually works: the six-step loop

Trustworthy experimentation follows the same loop every time. Skipping a step doesn’t make the test faster; it makes the result meaningless.

Figure 2 Six steps, each guarding against a different way a test can mislead you
    • 1 Form a hypothesis
    • Write it so it can fail: “Because we saw [evidence], we believe [change] will cause [effect] for [audience], measured by [metric].”
    • Guards against random tinkering
    • 2 Pick one primary metric
    • One success metric chosen in advance, such as signup rate, plus a few guardrail metrics that must not get worse.
    • Guards against cherry-picking
    • 3 Calculate sample size
    • From baseline rate, minimum detectable effect, confidence and power, before launch.
    • Guards against underpowered tests
    • 4 Split randomly and run
    • Random assignment, both versions live at the same time, through full weekly cycles: one to two weeks at least.
    • Guards against seasonality and before-and-after bias
    • 5 Analyze at the finish line
    • Read the p-value and the confidence interval once the planned sample is in, or use a sequential method built for looking early.
    • Guards against peeking
    • 6 Decide and document
    • Ship, kill or iterate, and log the hypothesis, result and lesson. A losing test is data, not a failure.
    • Guards against relearning the same lesson

AAJ’s testing method, as described in this article. Step 4 is highlighted because it matters most.

Step 4 matters most. An A/B test compares versions at the same time. This month against last month isn’t an A/B test; it’s a before-and-after comparison muddied by seasonality, campaigns and pricing changes. Since Google Optimize shut down on September 30, 2023[8], the split needs a third-party tool; PostHog, for one, bills experiments against feature-flag requests, the first million a month free[9].

The statistics, in plain English

You don’t need a statistics degree to run good tests, but you do need a handful of concepts.

P-value and significance

If the variant and control truly performed the same, how often would a gap this large turn up by chance? p < 0.05 is the convention: a threshold, not a magic line. It is not the chance your winner is a fluke: where only 10% of ideas win, about 22% of results significant at 0.05 (with 80% power) are false[2]. Significance says an effect is probably there; it says nothing about whether it’s big enough to matter.

Can you tell if a lift is significant without the visitor counts?

No. A 1-point lift from 4% to 5% is noise at 500 visitors per arm (p = 0.45) and clear at 10,000 (p < 0.001). Significance depends on how many visitors and conversions each arm had, not on the two rates alone.

If a tool or a colleague reports “variant 5%, control 4%” without counts, ask for them before you read anything into it. Then put both arms’ visitors and conversions into the free A/B Test Significance Calculator.

Confidence intervals

Instead of “4.05% conversion,” a range: “3.7% to 4.4%” on 12,000 visitors. Judge a test by the interval on the difference: if it excludes zero, the difference is significant, even if the two arms’ own intervals overlap a little. Intervals narrow only with the square root of sample size: doubling traffic doesn’t halve uncertainty; quadrupling it does.

Power and MDE

Power, conventionally 80%, is the chance of detecting a real effect of a given size. The minimum detectable effect (MDE) is the smallest lift worth detecting. At 95% confidence and 80% power, a 10% lift on a 3% baseline needs about 53,000 visitors per variant; a 20% lift needs about 14,000, roughly a quarter. Low-traffic startups should test bold changes, not nudges.

Running case: Example Co. Fictional

Example Co. sells scheduling software. Its landing page gets 8,000 visitors a week and 3% start a free trial: 4,000 visitors per variant a week, and about 1,040 trials a month. A new headline that might lift trials 10% would need 53,211 visitors per variant: more than 13 weeks. A rebuilt page aimed at a 20% lift needs 13,914, so Example Co. plans four full weeks and commits to reading the result only then.

Figure 3 Halve the lift you want to detect and you need four times the visitors

Visitors needed per variant on a 3% baseline, by relative lift

  • 5% lift3.0% to 3.15% 207,938 52.0 weeks
  • 10% lift3.0% to 3.3% 53,211 13.3 weeks
  • 15% lift3.0% to 3.45% 24,193 6.0 weeks
  • 20% lift3.0% to 3.6% 13,914 3.5 weeks (Example Co.’s plan)
  • 30% lift3.0% to 3.9% 6,455 1.6 weeks
  • 50% lift3.0% to 4.5% 2,518 0.6 weeks

Example Co.’s 4,000 visitors per variant a week can see a 20% lift in four weeks, but a 10% lift would take 13 and a 5% lift a year.

Show the numbers as a table
Relative lift Rate Visitors per variant Weeks
5% 3.0% → 3.15% 207,938 52.0
10% 3.0% → 3.3% 53,211 13.3
15% 3.0% → 3.45% 24,193 6.0
20% 3.0% → 3.6% 13,914 3.5
30% 3.0% → 3.9% 6,455 1.6
50% 3.0% → 4.5% 2,518 0.6

My calculation with AAJ’s A/B significance engine: two-sided test, 95% confidence, 80% power, 3% baseline. Lifts are relative: a 10% lift takes 3.0% to 3.3%. Weeks assume Example Co.’s 4,000 visitors per variant a week; Example Co. is fictional.

Do this

Before you build a variant, put your baseline rate, weekly traffic and the smallest lift worth shipping into a sample-size calculator. If the answer is longer than about six weeks, make the change bolder or test a busier page.

Free tool

Check the sample size before you build

The free A/B Test Significance Calculator tells you how many visitors a test needs, then whether the result you got is real.

Open the calculator

How many visitors do you need at your baseline?

Figure 3 sizes a test on a 3% baseline in relative lifts. Most founders ask the other way round: “I convert at 4%. How much traffic do I need to see 5%?” That is a 1 percentage point lift, or 25% in relative terms.

The table below answers it for common baselines, with the same method as Figure 3: two-sided, 95% confidence, 80% power. Two patterns show up. Halving the lift you want to detect roughly quadruples the traffic you need. At the same absolute lift, a higher baseline needs more traffic, not less, because a 1-point move on 10% is only a 10% relative change.

Table 1. Visitors per variant to detect an absolute lift (95% confidence, 80% power, two-sided)
Baseline → target Absolute lift Relative lift Visitors per variant Total visitors
2% → 2.5% +0.5 pt 25% 13,809 27,618
2% → 3% +1 pt 50% 3,826 7,652
4% → 5% +1 pt 25% 6,745 13,490
5% → 6% +1 pt 20% 8,158 16,316
5% → 7% +2 pt 40% 2,213 4,426
10% → 11% +1 pt 10% 14,751 29,502
10% → 12% +2 pt 20% 3,841 7,682

My calculation with AAJ’s A/B significance engine, plan mode, run October 28, 2026: pooled two-proportion z-test. Same method as Figure 3, so the two agree. The highlighted row is the question founders ask most.

Then turn visitors into weeks: divide the total by the weekly traffic to the page under test. At 1,000 visitors a week, the 4% to 5% test needs about 13.5 weeks (13,490 ÷ 1,000). That is well past the six-week line this guide uses, so make the change bolder or test a busier page.

Example Co., another page Fictional

Example Co.’s demo-request page converts at 4% on about 2,000 visitors a week. Detecting a move to 5% takes 13,490 visitors, about seven weeks. A new headline that might move it to 4.5% would need 51,102 visitors, about 26 weeks: nearly four times as long.

So Example Co. tests a shorter form instead, which could plausibly move it 2 points. Detecting 4% to 6% takes 3,726 visitors, under two weeks, so the one-to-two-week floor sets the length.

Do this

Before you build the variant, write down the baseline, the smallest lift worth shipping (in points), and the weeks your traffic allows. If the weeks are over six, change the test, not the confidence level.

One-tailed vs. two-tailed

Two-tailed asks “different, better or worse?” and is the safer default. One-tailed asks “is it better?” and reaches significance faster, but is blind to losses. Use it only when a loss would trigger the same decision as a tie.

Frequentist vs. Bayesian

P-values are frequentist. Bayesian methods answer a more intuitive question: “what is the probability each version is actually the best?” It doesn’t make a small sample more informative, though. The two are complements, not rivals: confidence should rise when they agree.

Running case: Example Co. Fictional

Four weeks later, Example Co. has 16,000 visitors per variant: 480 trials on the old page (3.0%) and 566 on the new one (3.54%), an 18% lift with p = 0.007. The 95% interval on that lift runs from about 5% to 31%. The new page is better, but plan on something near the low end, not 18%.

Testing more than one variant (A/B/n)

Comparing several variants against one control multiplies your chance of a fluke. At 95% confidence, each comparison carries a 5% false-positive risk; run three comparisons and the chance that at least one “wins” by luck rises to about 14% (1 − 0.95³). The standard fix is the Bonferroni correction: divide your significance threshold by the number of comparisons, so three variants against one control must each clear p < 0.0167. It’s conservative, but conservative is the right bias when a false winner means rebuilding a page around noise.

Figure 4 Every extra comparison is another lottery ticket: with 20 metrics, the odds are 64% that one “wins” by chance

One false “winner” expected among 20 metrics No real effect

  • Comparisons Chance of a false winner Bonferroni threshold
  • 1 5% p < 0.05
  • 3 14% p < 0.0167
  • 5 23% p < 0.01
  • 10 40% p < 0.005
  • 20 64% p < 0.0025

My calculation: chance of at least one false positive = 1 − 0.95k for k independent comparisons at p < 0.05; the Bonferroni threshold is 0.05 ÷ k.

The mistakes that quietly invalidate tests

Six failure modes that turn experiments into theater. The first is the big one.

Peeking and stopping early

Checking results daily and stopping the moment the dashboard turns green wrecks the statistics. The 5% false-positive rate only holds if you analyze once, at the planned sample size. Checking after every visitor more than doubles the real rate by 10,000 visitors, and it keeps climbing the longer you watch[10]. In 2,101 commercial experiments, about 73% of experimenters stopped just as a positive effect reached 90% confidence[3]. The fix costs nothing: set the sample size first, run to the finish line, analyze once. If you must watch, use a sequential method built for it, such as always-valid p-values.

Figure 5 Check a test with no real difference daily for four weeks, and about one in four will show a false winner

Chance of declaring a winner when there is none, by how many times you look and stop at the first p < 0.05

  • 5% look Analyze once
  • 8% looks
  • 14% looks
  • 19% looks
  • 27% looks Daily for four weeks
  • 37% 100 looks
Show the numbers as a table
Looks at the data False-positive rate
1 (analyze once) 5.0%
8.3%
14.2%
19.4%
28 (daily for four weeks) 27.4%
100 37.4%

My simulation: 200,000 A/A tests with no real difference, a two-sided z-test at each equally spaced look, stopping at the first significant look. The figures match the classic results for repeated significance tests; Johari et al. (2017) show the same inflation for continuous monitoring[10].

Underpowered tests

A test that never had enough traffic to detect a realistic effect was never going to conclude anything. “We tested it and saw no difference” usually means “we couldn’t have seen one.” Run the sample-size math before you build the variant.

Too many metrics

Track twenty unrelated metrics and the odds are about two in three that at least one comes up “significant” by chance alone. One primary metric, declared in advance, plus a small set of guardrails.

Broken randomization (SRM)

If your 50/50 split arrives as 53/47 on a large sample, something is systematically wrong, such as a redirect dropping users or a bot filter hitting one arm, and the results are untrustworthy whatever they show. Microsoft finds a sample ratio mismatch in about 6% of its A/B tests and flags one when a chi-square test gives p < 0.0005[11],[12]. Check the split every time.

Figure 6 A 53/47 split on 32,000 visitors is far past the alarm line, so the result can’t be read
16,000 each expected from a 50/50 split of 32,000 visitors arrived as 16,960 / 15,040 53% and 47% χ² = 115 p < 0.0005 Microsoft’s alarm line: stop, find the bug, don’t read the result

The same test arriving as 16,120 and 15,880 gives p = 0.18: ordinary chance, no alarm. Small wobbles are normal; a gap like 53/47 at this size is not.

Show the numbers as a table
Split received Chi-square p-value Verdict
16,960 / 15,040 115.2 7 × 10⁻²⁷ Mismatch: don’t read the result
16,120 / 15,880 1.8 0.18 No alarm

Example Co. is fictional; chi-square calculation mine (p ≈ 7 × 10−27). Threshold and the 6% rate at Microsoft: Microsoft Research (2020)[11].

Ignoring business cycles

A Tuesday-to-Thursday test measures Tuesday-to-Thursday visitors. Weekend buyers and end-of-month budget holders behave differently. In my practice, one to two full weeks is the floor, even when the sample size is reached sooner. Watch for novelty too: a change can win at first just because it’s new, so plot the daily lift and look for a fade[13].

Generalizing beyond the test

A winner among cold paid traffic in June is a finding about cold paid traffic in June. Strong claims need replication.

Best practices: the working checklist

The working checklist

  • Write the hypothesis down before building anything
  • One primary metric, chosen in advance
  • Calculate sample size before launch, and commit to it
  • Randomize properly; run versions simultaneously
  • Run at least one full business cycle
  • Never stop early on a green dashboard
  • Correct for multiple variants (Bonferroni)
  • Check your split ratio (SRM) every time
  • Read the confidence interval, not just the verdict
  • Log every test, including losses and flats, in one shared log

Teams that do this build a compounding asset: an organizational memory of what their market actually responds to, worth more over time than any single winning variant.

When should you not A/B test?

Here’s the honest answer most CRO content avoids: sometimes the right move is not testing. In my view, below roughly 1,000 conversions a month, tests of small changes take quarters, not weeks. At that scale:

  • Make big, hypothesis-driven changes, not nudges.
  • Measure upstream metrics (click-through rather than purchase).
  • Use Bayesian probabilities to make calls under uncertainty, knowing you’re accepting more risk.
  • Invest in qualitative research: five user interviews will teach you more than a three-month inconclusive button test.

Pre-product-market-fit, the same logic applies more strongly: you’re searching for a position, not optimizing one. And never let testing substitute for judgment on questions of strategy, brand, or ethics. Experiments optimize within a direction; they don’t set it. For the strategic layer that frames every experiment, see the AAJ marketing strategy for startups guide.

If you want me to look at your own funnel, positioning and channels, my Growth Audit ends with three prioritized fixes and a 30-day action plan.

Related on AAJ

Articles

Playbooks

Templates and tools

References

The superscript numbers in the article match this list.

Studies and web pages were checked on October 15, 2026. Calculations marked “my calculation” or “my simulation” are mine; Example Co. is fictional.

  1. Kohavi, R. and Thomke, S. (2017). “The Surprising Power of Online Experiments.” Harvard Business Review, September–October 2017. hbr.org
  2. Kohavi, R., Deng, A. and Vermeer, L. (2022). “A/B Testing Intuition Busters: Common Misunderstandings in Online Controlled Experiments.” Proceedings of KDD ’22. Table 2 compiles published success rates. exp-platform.com
  3. Berman, R., Pekelis, L., Scott, A. and Van den Bulte, C. (2018, revised 2022). “p-Hacking in A/B Testing.” SSRN working paper 3204791; not peer reviewed. 2,101 commercial experiments. papers.ssrn.com
  4. Kohavi, R., Longbotham, R., Sommerfield, D. and Henne, R. M. (2009). “Controlled experiments on the web: survey and practical guide.” Data Mining and Knowledge Discovery, 18(1), 140–181. link.springer.com
  5. Kohavi, R., Crook, T., Longbotham, R., Frasca, B., Henne, R., Lavista Ferres, J. and Melamed, T. (2009). “Online Experimentation at Microsoft.” Microsoft ThinkWeek paper. ai.stanford.edu
  6. Siroker, D. (2010). “How Obama Raised $60 Million by Running a Simple Experiment.” Optimizely blog, November 29, 2010. First-person account of the campaign’s December 2007 splash-page test. optimizely.com
  7. Thomke, S. (2020). “Building a Culture of Experimentation.” Harvard Business Review, March–April 2020. hbr.org
  8. Google (2023). “[Sunset September 2023] Google Optimize.” Google Analytics Help, checked October 15, 2026. support.google.com
  9. PostHog. “Getting started with experiments.” PostHog docs, checked October 15, 2026. posthog.com
  10. Johari, R., Koomen, P., Pekelis, L. and Walsh, D. (2017). “Peeking at A/B Tests: Why It Matters, and What to Do About It.” Proceedings of KDD ’17, 1517–1525. dl.acm.org
  11. Fabijan, A. et al. (2020). “Diagnosing Sample Ratio Mismatch in A/B Testing.” Microsoft Research, Experimentation Platform blog, September 14, 2020. microsoft.com
  12. Fabijan, A., Gupchup, J., Gupta, S., Omhover, J., Qin, W., Vermeer, L. and Dmitriev, P. (2019). “Diagnosing Sample Ratio Mismatch in Online Controlled Experiments: A Taxonomy and Rules of Thumb for Practitioners.” Proceedings of KDD ’19. dl.acm.org
  13. Kohavi, R., Tang, D. and Xu, Y. (2020). Trustworthy Online Controlled Experiments: A Practical Guide to A/B Testing. Cambridge University Press. cambridge.org

More in Analytics, Experiments & Budget

Part of the Analytics, Experiments & Budget hub - see all 34 resources on this topic.

Also useful in Website & Conversion.