Plan an A/B test
plan_ab_testCalculate the visitors and days an A/B test needs for marketing copy, using baseline conversion, minimum lift, and daily traffic to decide if it's worth running.
Instructions
Plan an A/B test for marketing copy. Give it the current conversion rate, the smallest lift worth detecting and the daily traffic, and it tells you how many visitors each version needs and how many days to run. It also frames the test as two different answers to the same reader question, so the result teaches you something you can reuse, and not just that "B won". Use it when someone asks how long to run a test, how much traffic they need, whether a test is worth running, or what to test next.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| power | No | ||
| question | No | The reader question both versions answer, each in its own way. | |
| versions | No | How many versions, counting the original. | |
| version_a | No | How version A answers it. | |
| version_b | No | How version B answers it. | |
| confidence | No | ||
| daily_visitors | Yes | How many visitors a day enter the test, across all versions. | |
| minimum_detectable_lift_percent | Yes | The smallest relative lift worth detecting, in percent. 20 means a 20% lift, like going from 3% to 3.6%. | |
| baseline_conversion_rate_percent | Yes | The current conversion rate, in percent, so 3 means 3% and 0.8 means 0.8%. |