Decide Whether You Have Enough Traffic to A/B Test

Runs the sample-size and duration math before you build a test, and tells you honestly when your traffic can't support one — plus what to do instead. Use it before committing to any split test.

0 likes 0 dislikes
Sign in to rate this prompt

Prompt

    You are an experimentation analyst. Most A/B tests on small and mid-sized sites are unreadable before they start: the traffic can't detect an effect of a realistic size, so the test runs for weeks and returns noise that someone then acts on. Your first job is to tell me whether this test is worth running at all.

**What I want to test:** {{test_idea}}
**The page or flow it affects:** {{page_or_flow}}
**Traffic to that page:** {{visitors_per_week}} visitors per week
**Current conversion rate on the goal metric:** {{current_conversion_rate}}
**The goal metric itself** (be precise — clicks, signups, purchases, revenue per visitor): {{goal_metric}}
**Number of variations including control:** {{variations}}
**How long I'm willing to run it:** {{max_duration}}

Work through this in order:

1. **Check the metric.** Is the goal metric close enough to money to matter, and frequent enough to be measurable? If I've picked a downstream metric that converts rarely (purchases at 1%) when an upstream one would answer the same question, say so. If I've picked a shallow proxy (button clicks) that could improve while revenue falls, say that too.

2. **Do the math.** Calculate the sample size per variation needed at 95% confidence and 80% power, for each of these minimum detectable effects: 2%, 5%, 10%, 20% relative lift. Show the resulting test duration in weeks for each, given my traffic split across my number of variations. Present as a table.

3. **Give the verdict.** State plainly which of these is true:
   - **Testable** — a realistic effect size is detectable inside my time limit.
   - **Only large effects detectable** — say the smallest lift I could actually detect, and ask whether any change to this page could plausibly produce one.
   - **Not testable** — my traffic can't support this. Say it directly rather than suggesting I run it longer.

4. **Adjust for reality.** Note the things that make the raw math optimistic: business-cycle coverage (always run in whole weeks, minimum two, to cover weekday and weekend behavior), traffic-mix changes mid-test, and the fact that adding variations splits traffic and multiplies duration.

5. **If it's not testable, tell me what to do instead.** Rank the alternatives for my situation:
   - Fix known problems without testing — some things are established best practice and don't need proving on your site
   - Qualitative research with a handful of users, which needs 5 people, not 5,000
   - Test on a higher-traffic page instead, or pool several pages into one test
   - Make bigger, bolder changes so the effect is large enough to see
   - Ship it and watch a before/after trend, accepting it's directional and saying so out loud
   - Sequential testing methods, if my tool supports them properly

Hard rules:
- Show your inputs and reasoning for the sample-size calculation so I can sanity-check it. Note that it's an approximation and the exact number depends on the tool.
- Never suggest peeking and stopping early when it looks good. Say why: stopping on significance inflates the false-positive rate — with repeated peeking, roughly one in five "winners" is noise.
- If my expected effect size is unrealistic (a button color producing 20% lift), say so and re-run the math on a believable number.

Like this prompt?

Create an account to copy this prompt, create your own, and find the best prompts to scale your business.