Chapter 1 of 6
A/B test sample size and significance explained
Most landing page tests at local service businesses end in one of two ways. The owner calls a winner after a lucky week, or the test runs for months and never says anything. Both problems come from skipping about an hour of planning math. This chapter teaches that math in plain words. You'll learn what significance, power, minimum detectable effect and confidence intervals mean, in that order, because each one builds on the one before. Then you'll work through Evan Miller's sample size rule by hand, use tables to see how many weeks your traffic needs, see what to do when your traffic is too small, and learn the traps that fool even experienced teams: peeking, broken traffic splits, and reading a "chance to win" as if it were a guarantee. The worked examples use three invented businesses: Riverbend Plumbing, Brightside Dental and Tidewater Cleaning Co. By the end you should be able to plan a test, read its result, and tell when an agency's "winner" isn't one.
What a test is really measuring
An A/B test splits visitors at random between your current page (the control) and a changed page (the variant), then compares how often each group converts. A conversion is whatever action you care about: a call, a booking, a quote request.
The catch is that conversion rates bounce around on their own. If your page converts 5% of visitors, one week might show 4.2% and the next 5.9% with nothing changed. That's noise: random variation from which visitors happened to show up. Every statistic in this chapter exists to answer one question. Is the gap between control and variant bigger than the noise would usually produce?
Your starting conversion rate is called the baseline. You need it before you can plan anything, so pull at least four recent weeks from your analytics or call tracking and divide conversions by visitors to the page you plan to test.
What statistical significance means
Imagine you ran a test where both pages were identical. Noise alone would still make one look better some of the time. Statistical significance is a promise about how often that kind of fluke will fool you.
When a tool says a result is significant at 95%, it means this: if there were truly no difference, a gap this large would show up less than 5% of the time. That 5% is the false positive rate you've agreed to accept. The p-value is the same idea from the other side. A p-value of 0.03 says a gap this big would appear about 3% of the time by chance alone if the pages were equal.
Ron Kohavi and two colleagues, then at Microsoft, wrote a widely cited 2007 paper called "Practical Guide to Controlled Experiments on the Web." They say the confidence level is commonly set to 95%, which means 5% of the time you'll wrongly conclude there's a difference when there isn't. Optimizely's confidence interval documentation says a project's significance threshold defaults to 90%, and that its confidence intervals are set to the same level. Its statistical significance documentation warns that changing the setting instantly affects every experiment already running.
Significance doesn't tell you how big the win is, or that the win is worth having. It only tells you the gap is probably not pure luck.
What statistical power means
Significance protects you from false alarms. Power protects you from the opposite mistake: missing a real improvement because the test was too small to see it. That miss is called a false negative.
Power is the chance your test will flag a real improvement of a given size, if that improvement exists. At 80% power, a real win of your chosen size gets detected 8 times out of 10 and slips through 2 times out of 10. Kohavi's paper says power is commonly desired at around 80% to 95%, and calls running underpowered experiments a common mistake. It also warns that a "no significant difference" result may mean the test simply didn't have enough power to detect the change.
So a "no winner" result from a 300-visitor test tells you very little. A test that small only has the power to find a huge change.
Minimum detectable effect, and absolute versus relative lift
The minimum detectable effect (MDE) is the smallest improvement you want your test to be able to catch. You pick it before the test starts. It's the single biggest driver of how long a test takes, so it deserves real thought.
Lift can be described two ways, and mixing them up is one of the most common errors in agency reports. Absolute lift is the plain difference in percentage points. If your rate goes from 4% to 5%, that's a 1-point absolute lift. Relative lift is that difference divided by the baseline. The same move from 4% to 5% is a 25% relative lift, because 1 is 25% of 4.
Testing tools mostly show relative lift. Optimizely's documentation says its improvement interval shows relative improvement for standard A/B tests, but absolute improvement for multi-armed bandits and for tests using Stats Accelerator. Always check which one you're looking at. A "20% lift" on a 2% baseline is only 0.4 percentage points.
Here's a practical way to choose your MDE. Ask what improvement would pay for the work. If a new page costs $1,500 to build and each extra booked job is worth $300 in profit, you need five extra jobs over the period you care about. Turn that into a conversion rate change for your traffic, and that's your floor. Then check the tables below. If that floor needs a year of traffic, you'll have to test a bolder change. Georgi Georgiev of Analytics-Toolkit makes the same point: businesses with few visits and conversions need to aim for big improvements for testing to be worthwhile.
What a confidence interval tells you
A confidence interval is a range around the measured lift that probably contains the true lift. Optimizely describes it as an estimated range of values likely, but not guaranteed, to include the exact value you can't see directly.
Reading one is simple. Optimizely's rule: if the whole interval sits above zero, the variant is winning. If it includes zero, the result is inconclusive. If it sits entirely below zero, the variant is losing. Optimizely also suggests reading an inconclusive interval as a worst case, a middle estimate and a best case.
Intervals are more useful than a yes-or-no significance flag because they show the size of the effect. A result of "+4 points, interval +0.5 to +7.9" is significant, but it also tells you the real gain might be tiny. That changes how much you should spend acting on it.
Evan Miller's sample size rule, step by step
Evan Miller, who publishes free A/B testing articles and calculators, gives a quick rule of thumb in his essay "How Not To Run an A/B Test": n = 16 × σ² ÷ δ². He defines δ (delta) as the minimum effect you want to detect and σ² as the variance you expect. For a conversion rate, the variance is p × (1 − p), where p is your baseline. So the rule becomes n = 16 × p × (1 − p) ÷ δ², where n is the number of visitors you need in each version.
δ here is the absolute difference, in decimal form. Turn your relative MDE into an absolute one first by multiplying it by the baseline.
The 16 is the standard sample size math, rounded. For a two-sided test at 95% significance and 80% power, the exact constant is 2 × (1.96 + 0.84)², which is about 15.7. Miller's essay doesn't spell out those settings, so treat 95% and 80% as what the rounded 16 corresponds to (this guide's arithmetic). If you change the settings, the constant changes: about 12.4 for 90% significance, about 23.4 for 99% significance, and about 21 if you want 90% power at 95% significance.
Worked through for Riverbend Plumbing, whose page converts 4% of visitors into calls and form fills, aiming to detect a 50% relative lift:
Step 1. Write the baseline as a decimal: p = 0.04.
Step 2. Work out the variance: p × (1 − p) = 0.04 × 0.96 = 0.0384.
Step 3. Turn the relative MDE into an absolute one: δ = 0.04 × 0.50 = 0.02, which is 2 percentage points (4% to 6%).
Step 4. Square it: δ² = 0.02 × 0.02 = 0.0004.
Step 5. Multiply the variance by 16: 16 × 0.0384 = 0.6144.
Step 6. Divide: 0.6144 ÷ 0.0004 = 1,536 visitors per version.
Step 7. Double it for two versions: 3,072 visitors in total.
Step 8. Divide by weekly traffic. Riverbend gets 2,500 visitors a month, which is about 577 a week (2,500 ÷ 4.33). 3,072 ÷ 577 = 5.3 weeks. Round up to 6 full weeks.
The rule is a planning shortcut. It slightly undercounts, and the gap grows as the lift gets large. A full two-proportion power calculation gives 435 per version for a 100% lift on a 5% baseline, where the rule gives 304. Use the rule to see whether a test is even possible, then confirm the final number in a calculator such as Miller's free sample size calculator, which lets you set the baseline, significance, power, and an absolute or relative MDE to match your plan.
Sample size table by conversion rate and lift
The table gives visitors needed in each version at 95% significance and 80% power. The first number is Miller's 16 rule. The number in brackets is the fuller two-proportion calculation (this guide's own arithmetic). Double either number for a standard 50/50 test. Lifts are relative.
Two patterns stand out. Halving the lift you want to detect roughly quadruples the visitors you need, because δ is squared. And low baseline rates are expensive: a 2% page needs about twelve times as many visitors as a 20% page to detect the same relative lift.
| Baseline rate | 10% lift | 20% lift | 30% lift | 50% lift | 100% lift |
|---|---|---|---|---|---|
| 2% | 78,400 (80,682) | 19,600 (21,109) | 8,712 (9,798) | 3,136 (3,826) | 784 (1,141) |
| 3% | 51,734 (53,211) | 12,934 (13,914) | 5,749 (6,455) | 2,070 (2,518) | 518 (749) |
| 5% | 30,400 (31,234) | 7,600 (8,158) | 3,378 (3,780) | 1,216 (1,471) | 304 (435) |
| 8% | 18,400 (18,872) | 4,600 (4,921) | 2,045 (2,276) | 736 (882) | 184 (258) |
| 10% | 14,400 (14,751) | 3,600 (3,841) | 1,601 (1,774) | 576 (686) | 144 (199) |
| 15% | 9,067 (9,257) | 2,267 (2,402) | 1,008 (1,106) | 363 (424) | 91 (121) |
| 20% | 6,400 (6,510) | 1,600 (1,683) | 712 (772) | 257 (294) | 65 (82) |
How many weeks your traffic needs
This table turns the sample sizes into calendar time. It uses Miller's rule, both versions combined, at 95% significance and 80% power, with all of the page's traffic in the test. Weeks are rounded up to whole weeks. Kohavi's paper strongly recommends running experiments for at least a week or two, then continuing in multiples of a week so day-of-week effects can be analyzed, because weekend visitors often behave differently from weekday visitors. So even if the math says 4 days, run at least one full week, and two is safer.
Kohavi's paper also recommends a 50/50 split to get results fastest. It gives a formula for how much longer an uneven split takes: 1 ÷ (4 × p × (1 − p)), where p is the share of traffic the variant gets. A 90/10 split takes about 2.8 times as long as 50/50, and the paper's own example puts a 99/1 split at about 25 times as long. The paper calls a test of over 125 days too long for a reliable result, because things like cookie churn, where returning visitors get counted as new ones, start to contaminate the data. As a starting point from this guide (not a published standard), treat anything over about 8 weeks as a sign you need a bolder change or a different metric. A local business's season, ad spend and staffing all shift over a few months, and those shifts muddy a long test.
The 100% lift rows lean optimistic because the 16 rule undercounts at large lifts. Add about 40% to those before you commit.
| Baseline and lift | Total visitors needed | 500 visitors/month | 1,000/month | 2,500/month | 5,000/month | 10,000/month |
|---|---|---|---|---|---|---|
| 3% baseline, 20% lift | 25,868 | 225 | 113 | 45 | 23 | 12 |
| 3% baseline, 50% lift | 4,140 | 36 | 18 | 8 | 4 | 2 |
| 3% baseline, 100% lift | 1,036 | 9 | 5 | 2 | 1 | 1 |
| 5% baseline, 20% lift | 15,200 | 132 | 66 | 27 | 14 | 7 |
| 5% baseline, 50% lift | 2,432 | 22 | 11 | 5 | 3 | 2 |
| 5% baseline, 100% lift | 608 | 6 | 3 | 2 | 1 | 1 |
| 10% baseline, 20% lift | 7,200 | 63 | 32 | 13 | 7 | 4 |
| 10% baseline, 50% lift | 1,152 | 10 | 5 | 2 | 1 | 1 |
| 10% baseline, 100% lift | 288 | 3 | 2 | 1 | 1 | 1 |
What to do when your traffic is too small
Many local service pages get a few hundred to a few thousand visitors a month. If the weeks table says your test would take half a year, you have six levers. Pull them in this order, because the first ones cost nothing in accuracy.
Georgiev's point about aiming for big improvements is the first lever: bolder changes, such as a new offer or a much shorter form, need far fewer visitors than small tweaks. Kohavi's paper adds two ways to cut noise without more traffic. Count only visitors who actually reached the page you changed, since everyone else just adds noise. And pick a metric that varies less: the paper says a yes-or-no conversion typically has a lower standard deviation than units bought, which in turn is lower than revenue. For an owner, that means deciding the test on quote requests or bookings, then checking revenue afterward as a guardrail.
| Lever | What it does | Source | Riverbend Plumbing example |
|---|---|---|---|
| Test a bolder change | A bigger MDE shrinks sample size by the square of the change | Georgiev, Analytics-Toolkit | Replace the whole hero section, not just the button color |
| Count only exposed visitors | Removes people who never saw the change, cutting noise | Kohavi et al. 2007 | Measure only visitors who landed on the emergency repair page |
| Use a low-variance metric | Conversion yes/no is less jumpy than revenue | Kohavi et al. 2007 | Decide on calls and form fills, not job value |
| Split 50/50 | Uneven splits stretch the test, by 2.8 times at 90/10 | Kohavi et al. 2007 | Send half of all page traffic to each version |
| Test on your busiest page | More visitors per week | This guide's starting point | Test the page that gets paid search traffic first |
| Drop to 90% significance for easy-to-undo changes | Needs about 79% of the visitors a 95% test does | This guide's calculation | Button text or photo tests you can switch back in minutes |
Why peeking breaks a standard test
Peeking means checking results while a test runs and stopping as soon as it looks significant. With a standard fixed-sample test, that habit quietly raises your false positive rate.
Every look is another chance for noise to cross the significance line. Miller simulated a test where the change had no real effect, checked for significance after every visitor, and stopped at the first significant reading or after 150 visitors. That produced a false positive rate of 26.1%, more than five times the 5% you thought you were accepting. He calls it sort of a worst case, because it checks after every single observation.
Miller also shows how much stricter each look has to be to hold a true 5% error rate. Peek once and you need 2.9% reported significance. Peek twice, 2.2%. Three times, 1.8%. Five times, 1.4%. Peek ten times and what your tool calls 1% significance is really only 5%. His summary advice is short: no peeking.
For an owner, the practical rule is this. With a standard test, decide the sample size first, write it down, and only read the result once you get there. Miller says looking is fine as long as you don't stop early, so glance at the dashboard to make sure the page isn't broken. Just don't make the call until the planned number is in.
Sequential testing, the safe way to look early
Sequential testing is a family of methods built for watching results as they come in. The stopping rules are designed in advance, so looking early doesn't inflate your false positive rate.
Optimizely's Stats Engine is the best-known commercial example. Optimizely's glossary says it combines sequential testing with false discovery rate control and promises "always valid" results. Its statistical significance documentation adds two guardrails worth knowing. On a conversion-type (binary) metric, it won't declare a winner until both the variant and the baseline have at least 100 visitors and 25 conversions. And it doesn't apply extra false discovery rate control across segments, so slicing results by device or city to find a winner raises your risk of a false one.
Analytics-Toolkit's AGILE method, from Georgi Georgiev's company, uses a group sequential design. You plan a set number of interim analyses, and boundaries set by alpha and beta spending functions tell you whether to stop for a clear win (the efficacy boundary), stop because a win is very unlikely (the futility boundary), or keep going. In Georgiev's 2018 simulations (5% baseline, 15% relative MDE, 95% significance, 90% power, 12 planned analyses over about 12 weeks), AGILE tests were 20% to 80% faster on average than a fixed-sample test, depending on the true effect. The biggest savings came when the variant was clearly worse, because the test could stop early for futility. He reports it was more efficient on average in every case he examined, though some individual tests still ran longer than a fixed test would have. Near half the planned lift, about 23% of tests did. Fewer planned analyses mean smaller gains, while going from 12 to 20 analyses added only about 1%.
Evan Miller also published a simple sequential method you can run with a spreadsheet. Pick a total N of conversions in advance, split traffic 50/50, and count conversions in each version. In the one-sided version, if the variant's conversions minus the control's reach 2 × √N, the variant wins. If the two together reach N first, there's no winner. The two-sided version uses 2.25 × √N in each direction. Miller says the method can cut the observations needed by 50% or more in some circumstances, but his own tables show savings of 25% to 50% mainly when the true effect is about twice the lift you planned for. At the planned lift, savings top out around 17%. His rule of thumb: if 1.5 × baseline + MDE (both as decimals) comes to less than 36%, the sequential test tends to save visitors when a real effect exists. When you're hunting for a large lift such as 50%, he says the savings are essentially wiped out, and the test can need up to 38% more observations than a fixed test. When there's no real effect, it usually reaches a conclusion more slowly than a fixed test. He warns never to stop before the threshold or N is reached, and never to extend past N.
Every sequential method has its own rules. "We use sequential testing" only protects you if the tool actually runs one of these methods and the team follows its stopping rules.
Bayesian and frequentist readouts in plain words
Testing tools report results in one of two styles. Frequentist tools, the style everything above describes, give you a p-value, a significance level and a confidence interval. They answer: if there were no difference, how surprising is this data?
Bayesian tools give you something like "chance to win" or "probability to beat control." They answer a question that sounds more natural: given this data and some starting assumption (the prior), how likely is it that the variant is better? GrowthBook, for example, uses Bayesian statistics by default because its team finds them more intuitive for most customers. Its docs say you'd typically wait until chance to win reaches 95%, or falls to 5% if the variant is worse. GrowthBook also offers a frequentist engine, with optional sequential testing to reduce peeking concerns, and says the choice between engines can come down largely to preference and familiarity.
Three cautions for owners. First, a 95% chance to win and 95% significance are different numbers that answer different questions, so don't treat them as interchangeable. Second, Miller writes that Bayesian designs let you stop at any time and still make valid inferences, but small samples still produce wild early swings, so plan a sample size anyway (this guide's advice). Third, chance to win says nothing about how big the win is. Ask for the interval of likely lifts as well.
When to use 90%, 95% or 99% significance
There's no universal right level. Georgiev's advice is to weigh the cost of designing, preparing and running the test against the potential benefit over a horizon of a few years, compare the sample sizes different combinations of significance, power and MDE require, and pick the balance that works. He adds that a business that's small and nimble can accept more uncertainty in any action. Optimizely's documentation states the trade-off directly: a higher setting is more accurate but needs a larger sample and more time, and a lower one is faster but raises the chance of false positives.
The table below is this guide's starting point, built on that cost-versus-benefit logic and two questions: how much it costs if you're wrong, and how easy the change is to undo. Adjust upward for high-ticket services (implants, full remodels, commercial contracts) where one wrong rollout costs many jobs, and for long sales cycles where you won't see the damage for months. Adjust downward for cheap, fast-moving tests on pages you can change back in an afternoon. The sample size multipliers are this guide's calculation at 80% power, against 95% as the baseline.
| Level | Sample size vs 95% | False positive risk if no real effect | Good fit | Example |
|---|---|---|---|---|
| 80% | About 0.57× | 1 in 5 | Early direction only, never a final rollout call | Picking which of two rough headline ideas to develop further |
| 90% | About 0.79× | 1 in 10 | Cheap changes you can undo in minutes | Riverbend Plumbing testing button text or a hero photo |
| 95% | 1× (baseline) | 1 in 20 | Most landing page changes | Brightside Dental testing a shorter booking form |
| 99% | About 1.49× | 1 in 100 | Costly, hard to reverse, or legally sensitive changes | Changing displayed prices, rebuilding the booking flow, or rewriting treatment claims |
Worked example: Riverbend Plumbing, low traffic
Riverbend Plumbing sends 2,500 visitors a month to its emergency repair page, and 4% of them call or fill in the form. The owner wants to test a calmer, price-upfront hero section.
First try: a 30% relative MDE at 95%. That's δ = 0.04 × 0.30 = 0.012. Using Miller's rule, 16 × 0.0384 ÷ 0.000144 = 4,267 per version, or 8,534 total. At about 577 visitors a week, that's nearly 15 weeks. Too long.
Second try: make the change bolder, aiming for a 50% lift. As worked out above, that's 3,072 total, or 6 full weeks at 95%.
Third try: the page is easy to switch back, so the owner drops to 90% significance. 1,536 × 0.79 gives about 1,210 per version, 2,420 total, which takes 4.2 weeks. Round up to 5 full weeks. The owner chooses this, writes down the plan, and agrees not to call the test early.
Worked example: Brightside Dental, enough traffic for a subtle change
Brightside Dental's new-patient page gets 10,000 visitors a month from paid search, and 6% book. A new patient is worth a lot over several years, so even a modest gain matters. The team plans for a 20% relative lift, 6% to 7.2%.
δ = 0.06 × 0.20 = 0.012. Using Miller's rule, 16 × 0.06 × 0.94 ÷ 0.000144 = 6,267 per version, or 12,534 total. At about 2,309 visitors a week, that's 5.4 weeks, so 6 full weeks at 95%. At 99%, it would be about 9,326 per version and 9 weeks. The change is a shorter form that's easy to undo, so the team picks 95%.
The result after 6 weeks: control 376 bookings from 6,270 visitors (6.0%), variant 451 from 6,265 (7.2%). The absolute lift is +1.2 percentage points, with a 95% confidence interval of +0.33 to +2.07 points and a p-value of about 0.007. In relative terms that's a 20% lift, with a plausible range of roughly +6% to +35%. The traffic split is 6,270 against 6,265, well within normal. The whole interval sits above zero, so it's a winner. Even the worst case in the range, about a third of a point, clears the cost of the change.
Worked example: Tidewater Cleaning Co., a winner with a wide range
Tidewater Cleaning Co. gets 1,000 visitors a month and converts 10% into quote requests. It tests showing a starting price on the page, aiming for a 50% lift. δ = 0.05, so the rule gives 576 per version and 1,152 total, about 5 weeks at roughly 231 visitors a week.
After 5 weeks: control 58 quotes from 590 visitors (9.8%), variant 82 from 586 (14.0%). The lift is +4.2 points, with a 95% interval of +0.5 to +7.9 points and a p-value of about 0.028. Both versions clear Optimizely's floor of 100 visitors and 25 conversions each.
This is a real but uncertain win. The true gain could be as large as 8 points or as small as half a point. Tidewater should keep the variant, since it's likely better and costs nothing to run. It shouldn't build next year's forecast on a 42% lift. A follow-up test or a few more weeks of tracking will narrow the range.
Pre-test planning template, filled in
Write this down before the test starts, and share it with whoever runs the test. Kohavi's paper recommends deciding the minimum sample size from your chosen power, the effect you want to detect and the measured variability, and getting everyone to agree on how the test will be judged before it runs. A written plan is how you stop yourself, or an agency, from moving the goalposts later. Here is Tidewater Cleaning Co.'s plan.
| Field | What to write | Tidewater's entry |
|---|---|---|
| Hypothesis | What you're changing, and why it should help | Showing a starting price will reassure visitors who leave because they fear a high quote |
| Primary metric | One conversion that decides the test | Quote form submissions per unique visitor |
| Guardrail metric | Something that must not get worse | Share of quotes that become booked jobs, checked in the CRM after the test |
| Baseline rate | From the last 4 or more weeks | 10% (370 quotes from 3,700 visitors over 16 weeks) |
| Minimum detectable effect | Relative and absolute | 50% relative, 5 points absolute (10% to 15%) |
| Significance and power | Pick using the significance table | 95% significance, 80% power |
| Sample size | Per version and total | 576 per version, 1,152 total (confirm in a calculator) |
| Traffic and split | Monthly visitors and split | 1,000 per month, 50/50, all page traffic |
| Planned duration | Rounded up to full weeks | 5 weeks, start Monday and end on a Sunday |
| Method and stopping rule | Fixed sample or the sequential tool's rules | Fixed sample. No decision before 1,152 visitors and 5 full weeks |
| SRM check | Expected split and threshold | 50/50, flag if chi-square p < 0.0005 |
| Decision rule | What you'll do with each outcome | Interval fully above zero: keep the variant. Crosses zero: keep control and test a bolder idea. Fully below zero: keep control |
| Known risks | Events that could skew results | Spring cleaning promo starts in week 4, so hold ad spend steady |
Sample ratio mismatch: the check to run before you read any result
A sample ratio mismatch (SRM) is when the split of visitors between versions differs from what you set, by more than chance would explain. If you set 50/50 and got 5,300 against 4,700, something is broken. Maybe a redirect drops some visitors, the variant loads slowly and loses tracking, or bots hit one version more.
It's more common than people expect. In a 2020 article, Microsoft's experimentation team reports that about 6% of its A/B tests have an SRM, and that about 10% of LinkedIn's zoomed-in tests (ones that only count users who meet some condition) had the same problem. Microsoft uses a chi-square test and flags an SRM when p < 0.0005, a deliberately strict cutoff that keeps false alarms down. Its advice is not to trust the results of any test with an SRM until you've found the root cause. Causes it lists include problems with user bucketing, faulty user IDs, redirecting users in only one version, incorrect data joins, and ramping versions up unevenly.
Lukas Vermeer co-authored the 2019 research paper on diagnosing SRMs with Microsoft researchers; the paper lists him at Booking.com. He also built the SRM Checker. His site says its Chrome extension has been retired and is no longer maintained, so don't install it. His manual checker at lukasvermeer.nl/srm/microsite still works. You enter the visitor count for each version and the split you expected, and it reports a p-value along with either a possible mismatch warning or no sign of one. Check whether your testing tool already runs SRM checks natively. GrowthBook, for example, flags an SRM on its results.
Kohavi's paper suggests a second safeguard: run A/A tests, where both groups see the same page. Check that the split matches the plan and that only about 5% of A/A results come out significant at 95%. If more do, your setup is broken.
Three quick examples with a 50/50 plan (this guide's chi-square arithmetic). 1,050 against 950 gives p ≈ 0.025, which looks lopsided but doesn't cross Microsoft's p < 0.0005 line. 6,400 against 6,000 gives p ≈ 0.0003, an SRM. 5,300 against 4,700 gives p ≈ 0.000000002, a clear SRM.
How to read a finished test, step by step
Run these steps in order, every time. They take about ten minutes and catch most bad calls.
Common mistakes
- Stopping the test the first day it shows significance. Miller's simulation found this can raise the false positive rate from 5% to 26.1%.
- Reading a relative lift as absolute, or the other way round. A '20% lift' on a 2% page is only 0.4 percentage points.
- Planning with a tiny MDE on low traffic. A 3% page with 1,000 monthly visitors would need about 113 weeks to detect a 20% lift.
- Calling 'no significant difference' proof that two pages perform the same. Kohavi's paper warns the test may just have been underpowered.
- Skipping the SRM check. Microsoft reports about 6% of its tests have a mismatch that makes the results untrustworthy.
- Hunting through segments for a winner after the main result comes back flat.
- Treating a Bayesian 95% chance to win as the same thing as 95% significance.
- Changing the significance setting mid-test. In Optimizely, the change instantly applies to every running experiment.
- Running partial weeks, so weekday and weekend visitors are unevenly represented.
- Giving the variant only a small slice of traffic. Kohavi's formula shows a 90/10 split takes about 2.8 times as long as 50/50.
- Assuming a sequential method always saves time. Miller's own tables show his simple sequential test can need up to 38% more visitors when you're hunting a large lift.
- Installing Lukas Vermeer's retired SRM Checker Chrome extension instead of using his manual checker or your tool's built-in check.
Start on it yourself
- Confirm the test reached its planned sample size and ran full weeks. If it stopped early on a fixed-sample plan, treat the result as unreliable, because Miller's simulation shows early stopping can push false positives to 26.1%.
- Run the SRM check. Put the visitor counts per version into your tool's SRM check or Lukas Vermeer's manual checker. If p < 0.0005, stop and find the cause before reading anything else, following Microsoft's guidance.
- Look at the primary metric only. Ignore segment results for the decision, because Optimizely notes its false discovery rate control doesn't extend across segments.
- Check whether the tool reports absolute or relative lift, and write both down. For example, '+1.2 points, which is +20% relative.'
- Read the confidence interval. Fully above zero means a likely winner, including zero means inconclusive, and fully below zero means a likely loser, using Optimizely's reading rules.
- Compare the low end of the interval to your break-even. If even the worst case pays for the change, roll it out. If only the best case does, consider a follow-up test.
- Check your guardrail metric, such as booked jobs or no-show rates, before you call it a win.
- Record the result in your test log: plan, dates, counts, interval, SRM p-value and the decision. Inconclusive results go in too, because they tell you which ideas weren't big enough.
Questions
What's the least traffic I need to run a landing page test?
It depends on your baseline and how big a change you test. From the weeks table, a page converting 10% with 500 monthly visitors can detect a 100% lift in about 3 weeks (more like 4 once you add the 40% correction for large lifts), but would need about 63 weeks for a 20% lift. With very low traffic, test bold changes, count only visitors who reached the page, or test on a higher-traffic page.
Can I use Evan Miller's 16 rule for the final number?
Use it to check whether a test is feasible, then confirm in a calculator. The rule matches 95% significance and 80% power, and it undercounts more as the lift grows. For a 100% lift on a 5% baseline it gives 304 per version, against 435 from the fuller calculation.
Is 90% significance good enough?
For cheap changes you can undo quickly, often yes. It needs about 79% of the visitors a 95% test does, but accepts a 1 in 10 false positive risk when there's no real effect. Optimizely uses 90% as its default threshold. For pricing or hard-to-undo changes, use 95% or 99%.
Can I check results every day?
Only if your tool uses a sequential method built for it, such as Optimizely's Stats Engine, a group sequential plan like Analytics-Toolkit's AGILE, or Miller's sequential rule followed exactly. With a standard fixed-sample test, Miller shows that ten peeks turn a reported 1% significance into a real 5%.
What should I ask an agency that reports a winner?
Ask for the written plan (MDE, significance, sample size), the visitor and conversion counts for each version, the confidence interval for absolute lift, the SRM p-value, and whether they stopped at the planned sample or used a sequential method. If they can't provide these, treat the win as unproven.
Sources
- Evan Miller, How Not To Run an A/B Test
- Evan Miller, Simple Sequential A/B Testing
- Evan Miller, Sample Size Calculator
- Kohavi, Henne and Sommerfield, Practical Guide to Controlled Experiments on the Web: Listen to Your Customers not to the HiPPO (KDD 2007)
- Optimizely, Statistical significance
- Optimizely, Confidence intervals and improvement intervals
- Optimizely glossary, Statistical significance
- Analytics-Toolkit glossary, AGILE A/B test
- Georgi Georgiev, 20-80% Faster A/B Tests? Is it real? (2018)
- Georgi Georgiev, Statistical Significance in A/B Testing: a Complete Guide
- Microsoft Research, Diagnosing Sample Ratio Mismatch in A/B Testing (2020)
- Fabijan, Gupchup, Gupta, Omhover, Qin, Vermeer and Dmitriev, Diagnosing Sample Ratio Mismatch in Online Controlled Experiments: A Taxonomy and Rules of Thumb for Practitioners (KDD 2019)
- Lukas Vermeer, SRM Checker
- Lukas Vermeer, Manual SRM checker
- GrowthBook, Statistics overview