SEO Split Testing: How Many Pages and Weeks Does a Test Need? A Sample Size Simulator

On simulated traffic where the true effect is known, a 300-page SEO split test caught a real 5% lift 36% of the time after four weeks and 38% after twelve. More pages help and more weeks mostly don't, so a 5% lift needs about 900 pages. A page-level difference-in-differences keeps false positives near 5%; treating page-days as independent rows pushes them to 16.6% at twelve weeks.

SEO split testing power chart: the chance of detecting a true 5% lift climbs with the number of pages, from 32% at 1 week and 38% at 12 weeks for 300 pages to 77% and 84% for 1,000 pages, with the 1-week and 12-week curves only a few points apart

SEO split testing is the one way to learn whether a template change helped organic traffic, and most tests are too small to answer the question. On simulated traffic where the true effect is known, a test that changed 150 of 300 similar pages caught a real 5% lift in clicks 36% of the time after four weeks. Running it for twelve weeks raised that to 38%. Doubling the pages to 600 raised it to 61%.

That asymmetry is the main finding of this piece. Organic traffic per page wanders on its own between any two periods, and that wander does not average out over more days, only over more pages. The code below runs 2,000 simulated tests per setting in a few seconds, and the SEO split test planner runs the same model in your browser.

How SEO split testing works on page groups

A classic A/B test splits users. Search engines see one version of a page, so an SEO test splits pages instead: take a set of pages on one template (product pages, location pages, recipe pages), change half of them, leave the other half alone and compare the two groups' organic clicks before and after.

Pinterest described the method in 2015. Each page's URL, hashed with the experiment name, decided whether it landed in the enabled or the control group, and the team compared the gap between groups before and after launch. One of their title tag tests showed no statistically significant change. Etsy's 2016 write-up of a title tag test put about 1,000 pages in each group because single-page traffic is so volatile, assigned pages within traffic tiers after simple random assignment produced groups that already differed, and kept two control groups as an A/A check. SearchPilot, which sells SEO testing, says it generally works with sites that have at least hundreds of pages on one template and at least 30,000 organic sessions a month, and that tests generally take 2 to 4 weeks to reach significance.

Google's guidance on testing (last updated November 10, 2026) sets the ground rules: show Googlebot the same content as users, which a page-level split does by design, and do not run a test longer than it needs to run. The second rule is one more reason to work out the test length before launch.

A simulated site where the truth is known

Each simulated page has its own baseline traffic, drawn from a log-normal distribution with a mean of 20 clicks a day, so a few pages carry most of the clicks. Between the 4-week baseline and the test period, each page's traffic drifts by its own random factor (a 25% standard deviation in the default case) because rankings move and competitors change their pages. A sitewide shock hits every page in the test period, standing in for a core update or a seasonal swing, and daily clicks are Poisson around each page's rate with a weekly cycle. Half the pages get the change, which multiplies their test-period traffic by 1 plus the true lift.

The readout compares each page with its own baseline. For page i, the log change in average daily clicks is

r_i = log(post_i + 0.5) / 7w − log(pre_i + 0.5) / 28

and the estimated lift is the difference between the changed and untouched groups' mean log change, a difference-in-differences:

widehatlift = exp(r̄_changed − r̄_untouched) − 1

The sitewide shock lands in both groups and cancels. The standard error comes from the spread of the page-level changes, and a test "detects" the lift when the 95% interval excludes zero on the correct side.

The simulation code

It needs only NumPy and SciPy (run here with Python 3.13, NumPy 2.5.3 and SciPy 1.18.1) and finishes in about 16 seconds.

import numpy as np
from scipy.stats import norm

PRE_DAYS = 28                      # 4-week baseline, as in the demo
season = lambda d: 1 + 0.15 * np.sin(2 * np.pi * d / 7)

def run_tests(pages, weeks, lift, clicks=20, vol=0.25, reps=2000, seed=1):
    """Simulate `reps` SEO split tests and return the lift estimate,
    its standard error and whether each test called it."""
    rng = np.random.default_rng(seed)
    post_days = 7 * weeks
    s_pre = season(np.arange(PRE_DAYS)).sum()
    s_post = season(np.arange(PRE_DAYS, PRE_DAYS + post_days)).sum()
    changed = np.arange(pages) % 2 == 1                          # half the pages get the change
    base = clicks * np.exp(0.8 * rng.standard_normal((reps, pages)) - 0.32)
    drift = np.exp(vol * rng.standard_normal((reps, pages)) - vol**2 / 2)
    shock = np.exp(0.1 * rng.standard_normal((reps, 1)))          # sitewide, hits every page
    pre = rng.poisson(base * s_pre)
    post = rng.poisson(base * s_post * drift * shock * np.where(changed, 1 + lift, 1))
    r = np.log((post + 0.5) / post_days) - np.log((pre + 0.5) / PRE_DAYS)
    rv, rc = r[:, changed], r[:, ~changed]
    d = rv.mean(1) - rc.mean(1)                                    # difference-in-differences on log clicks
    se = np.sqrt(rv.var(1, ddof=1) / rv.shape[1] + rc.var(1, ddof=1) / rc.shape[1])
    called = np.abs(d) > 1.96 * se
    right_sign = np.sign(d) == np.sign(lift) if lift != 0 else True
    return d, se, called & right_sign

def naive_false_positive_rate(pages=300, weeks=4, clicks=20, vol=0.25, reps=1000, seed=3):
    """A/A test read the wrong way: every page-day treated as an independent observation."""
    rng = np.random.default_rng(seed)
    days = PRE_DAYS + 7 * weeks
    changed = np.arange(pages) % 2 == 1
    post = np.arange(days) >= PRE_DAYS
    s = season(np.arange(days))
    hits = 0
    for _ in range(reps):
        base = clicks * np.exp(0.8 * rng.standard_normal(pages) - 0.32)
        drift = np.exp(vol * rng.standard_normal(pages) - vol**2 / 2)
        shock = np.exp(0.1 * rng.standard_normal())
        lam = base[:, None] * s[None, :] * np.where(post, drift[:, None] * shock, 1.0)
        y = np.log(rng.poisson(lam) + 0.5)
        cells = [y[changed][:, post], y[changed][:, ~post], y[~changed][:, post], y[~changed][:, ~post]]
        d = cells[0].mean() - cells[1].mean() - cells[2].mean() + cells[3].mean()
        se = np.sqrt(sum(c.var(ddof=1) / c.size for c in cells))
        hits += abs(d) > 1.96 * se
    return hits / reps

def power(pages, weeks, lift, **kw):
    return run_tests(pages, weeks, lift, **kw)[2].mean()

def mde(pages, weeks, clicks=20, vol=0.25):
    """Closed-form minimum detectable lift at 80% power, two-sided 5% test."""
    poisson_var = np.exp(0.64) / clicks * (1 / PRE_DAYS + 1 / (7 * weeks))
    var_r = vol**2 + poisson_var                                   # variance of one page's log change
    se = np.sqrt(4 * var_r / pages)
    return np.exp((norm.ppf(0.975) + norm.ppf(0.8)) * se) - 1

def pages_needed(lift, weeks, clicks=20, vol=0.25):
    poisson_var = np.exp(0.64) / clicks * (1 / PRE_DAYS + 1 / (7 * weeks))
    var_r = vol**2 + poisson_var
    z = norm.ppf(0.975) + norm.ppf(0.8)
    return int(np.ceil(4 * var_r * (z / np.log(1 + lift))**2))

if __name__ == "__main__":
    print("Power to detect a true +5% lift (20 clicks/page/day, 25% volatility)")
    weeks_list = [1, 2, 4, 8, 12]
    print("pages  " + "  ".join(f"{w:>3}wk" for w in weeks_list))
    for P in [100, 300, 600, 1000, 2000]:
        print(f"{P:>5}  " + "  ".join(f"{power(P, w, 0.05):5.0%}" for w in weeks_list))

    print("\nFalse positives with no true effect (A/A), 300 pages:")
    for w in [1, 4, 12]:
        print(f"  {w:>2} weeks: {power(300, w, 0.0, reps=4000):.1%}")

    print("\nThe same A/A tests read with every page-day as an independent observation:")
    for w in [1, 4, 12]:
        print(f"  {w:>2} weeks: {naive_false_positive_rate(weeks=w):.1%}")

    print("\nMinimum detectable lift at 80% power, 4 weeks:")
    for P in [100, 300, 1000, 2000]:
        sim = next(l for l in np.arange(0.005, 0.40, 0.0025) if power(P, 4, l, reps=1000) >= 0.8)
        print(f"  {P:>5} pages: formula {mde(P, 4):5.1%}   simulation {sim:5.1%}")

    print("\nPages needed for 80% power at 4 weeks:")
    for lift in [0.03, 0.05, 0.10, 0.20]:
        print(f"  +{lift:.0%} lift: {pages_needed(lift, 4):>6,} pages")

    print("\nWhere the noise comes from, per page (4 weeks):")
    for clicks in [2, 20, 200]:
        pv = np.exp(0.64) / clicks * (1 / 28 + 1 / 28)
        print(f"  {clicks:>3} clicks/day: drift variance {0.25**2:.4f}, Poisson variance {pv:.4f}, drift share {0.0625/(0.0625+pv):.0%}")

    print("\nLow-traffic pages (2 clicks/page/day), 1,000 pages, +5%:")
    print("  " + "  ".join(f"{w}wk {power(1000, w, 0.05, clicks=2):.0%}" for w in weeks_list))

    print("\nVolatility matters most: 1,000 pages, 4 weeks, +5%:")
    for v in [0.10, 0.25, 0.40]:
        print(f"  volatility {v:.0%}: power {power(1000, 4, 0.05, vol=v):.0%}, pages for 80% {pages_needed(0.05, 4, vol=v):,}")

The output:

Power to detect a true +5% lift (20 clicks/page/day, 25% volatility)
pages    1wk    2wk    4wk    8wk   12wk
  100    16%    16%    17%    17%    17%
  300    32%    36%    36%    38%    38%
  600    55%    59%    61%    62%    63%
 1000    77%    81%    83%    84%    84%
 2000    97%    98%    98%    99%    99%

False positives with no true effect (A/A), 300 pages:
   1 weeks: 5.1%
   4 weeks: 4.7%
  12 weeks: 4.7%

The same A/A tests read with every page-day as an independent observation:
   1 weeks: 1.0%
   4 weeks: 6.9%
  12 weeks: 16.6%

Minimum detectable lift at 80% power, 4 weeks:
    100 pages: formula 15.9%   simulation 16.5%
    300 pages: formula  8.9%   simulation  9.2%
   1000 pages: formula  4.8%   simulation  5.0%
   2000 pages: formula  3.4%   simulation  3.5%

Pages needed for 80% power at 4 weeks:
  +3% lift:  2,490 pages
  +5% lift:    914 pages
  +10% lift:    240 pages
  +20% lift:     66 pages

Where the noise comes from, per page (4 weeks):
    2 clicks/day: drift variance 0.0625, Poisson variance 0.0677, drift share 48%
   20 clicks/day: drift variance 0.0625, Poisson variance 0.0068, drift share 90%
  200 clicks/day: drift variance 0.0625, Poisson variance 0.0007, drift share 99%

Low-traffic pages (2 clicks/page/day), 1,000 pages, +5%:
  1wk 33%  2wk 44%  4wk 56%  8wk 62%  12wk 62%

Volatility matters most: 1,000 pages, 4 weeks, +5%:
  volatility 10%: power 100%, pages for 80% 222
  volatility 25%: power 83%, pages for 80% 914
  volatility 40%: power 48%, pages for 80% 2,200

Pages buy power, weeks mostly don't

Read the power table across a row and almost nothing happens. A 100-page test detects a true 5% lift 16% of the time after one week and 17% after twelve. Read it down a column and power climbs fast: at four weeks it goes from 17% at 100 pages to 83% at 1,000 and 98% at 2,000.

The reason is in the variance of one page's log change. It has two parts. The Poisson part is counting noise, and it shrinks as the test runs longer because each page collects more clicks. The drift part is each page's own move between the baseline and the test period, and a longer test does nothing to it. With a log-normal baseline averaging c̄ clicks a day, the counting noise averages out to about e^0.64 / c̄ × (1/28 + 1/(7w)), so at 20 clicks a day and four weeks it is 0.0068 against a drift variance of 0.0625. Drift is 90% of the noise. Only more pages divide it down.

That gives a closed form for the smallest lift a test can reliably find, at 80% power and a two-sided 5% test, with N pages split in half and drift standard deviation σ_d:

MDE ≈ exp((z_0.975 + z_0.80) √(4 (σ_d² + σ_p²)) / N) − 1

where z₀.₉₇₅ + z₀.₈₀ = 1.96 + 0.84 and σ_p² is the counting noise above. The formula lands within 0.6 points of the simulation: 8.9% against 9.2% at 300 pages, 4.8% against 5.0% at 1,000. Turned around, it says a 5% lift needs about 914 pages at these settings, a 10% lift needs 240 and a 3% lift needs 2,490.

Two cases break the "weeks don't matter" rule, and both follow from the same arithmetic. On thin pages, with 2 clicks a day, counting noise is about half the total, so time helps: 1,000 such pages detect a 5% lift 33% of the time at one week and 62% at eight. And volatility moves everything. At 10% drift, 222 pages are enough for a 5% lift; at 40%, it takes 2,200.

The false positive trap in daily data

Run the test with no real change (an A/A test) and the page-level readout calls a winner or loser 5.1% of the time at one week and 4.7% at four and twelve weeks, right where a 5% test should be.

A common shortcut reads the same data differently: one row per page per day, a regression of log clicks on group, period and their interaction, and standard errors that treat every page-day as an independent observation. A four-week test on 300 pages then looks like 16,800 observations instead of 300 page-level changes. On the identical A/A setup, that reading flagged 1.0% of tests at one week, 6.9% at four weeks and 16.6% at twelve. The longer it runs, the more confident it gets about drift it cannot see.

This is the problem Marianne Bertrand, Esther Duflo and Sendhil Mullainathan documented for difference-in-differences studies in 2004: serially correlated outcomes make conventional standard errors far too small. Their first remedy, collapsing each unit's data into a before and an after, is what the page-level readout above does. Clustering standard errors by page fixes the same problem in a regression.

Sizing an SEO split test before launch

The settings that decide the answer are the number of pages you can change, the clicks per page, and the drift. The last one is specific to your site, and you can measure it before you change anything: take the last eight weeks of daily clicks per page from Search Console, compare each page's second four weeks with its first four, and compute the standard deviation of the log changes. No change was made, so that spread is the noise your test will face. Square it and use it in place of σ_d² + σ_p² in the formula (it already contains the counting noise), then read off the pages you need.

For a multi-location business in Kansas City, a regional bank or a health system with a few hundred location pages, the table is sobering. At 300 pages and 20 clicks a page a day, the smallest lift a four-week test can reliably detect is about 9%. A change that really adds 5% is detected 36% of the time, so it comes back "inconclusive" in nearly two tests out of three even though it works, and a careful team will read that as "no effect." Better options at that size are to test bigger changes, to pool similar templates into one test, or to accept a looser confidence level and say so.

The SEO split test planner lets you set pages, weeks, clicks per page and volatility and watch the power curve move. The same before-and-after logic, applied to an AI pilot instead of a page template, is in Did the AI Pilot Work?, and organic traffic forecasting with Search Console and Prophet covers the seasonal side of the same data. More work like this sits in the causal inference research hub and the SEO, answer engine and generative engine optimization hub, both from Vector 1 in Kansas City.

Limits of these numbers

Every figure comes from simulated traffic with parameters I chose, so the tables show how the design behaves, not what your site will do. Real drift is probably not a single jump: pages that wander for twelve weeks wander further than pages that wander for four, which would make long tests worse than shown here. Real effects also take time to build (Pinterest saw the gap between groups grow for a week or two before it leveled off), so a one-week test would underestimate them. The model has no cannibalization between changed and untouched pages, no uneven recrawling of the change and no pages that drop out of the index. The page-level readout weights every page equally; weighting by traffic answers a different question, and this piece does not test it.

The paid edition

The paid edition on Substack goes further: a script that sizes a test from your own Search Console export (checked on a simulated site with a known 0.30 drift, where it estimated 0.300), what weekly peeking does to the false positive rate, whether matched-pair assignment helps, when to drop low-traffic pages, and what happens to power when drift grows and the effect ramps in over two weeks. Subscribe free for new articles by email, or get a Team License for the whole SEO and analytics team.

Sources

Related research