> For the complete documentation index, see [llms.txt](https://docs.humblytics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.humblytics.com/split-testing-overview/using-the-humblytics-a-b-sample-size-calculator.md).

# Using the A/B Test Planner

Find out how many visitors your test needs and how long it will take, before you build anything.

The **Test planner** tells you how many visitors each version needs before you can trust the result, and how many days that will take with your traffic.

Open it from **Marketing tools → Test planner**, or click **Plan a test** on **Optimize → Experiments**. The old sample size and duration calculators both open the planner.

## 1. Pick a page

Choose the page you want to test. The planner fills in **Visitors a day** from that page's traffic over the last 30 days and shows its **Conversion rate (%)**. You can overwrite either number, for example when you plan to restrict the test to one device or country.

## 2. Pick what counts as a win

| Goal         | Covers                      | Notes                                                                                             |
| ------------ | --------------------------- | ------------------------------------------------------------------------------------------------- |
| **Clicks**   | Buttons and links           | Fastest to decide. Minimum run 3 days, 90% confidence.                                            |
| **Sign-ups** | Forms and demos             | Most used. Minimum run 7 days, 95% confidence.                                                    |
| **Revenue**  | Trials and payments         | Needs Stripe. Payments settle up to 14 days after the visit. Minimum run 14 days, 97% confidence. |
| **Funnel**   | Two or more pages completed | Minimum run 14 days, 95% confidence.                                                              |

The goal sets the confidence and the kind of lift to expect. Adjust them under **Advanced** if you want.

## 3. Pick the smallest lift worth catching

Choose **+10%**, **+20%**, **+30%**, or **+50%**, or set a **Custom lift (%)** under **Advanced**. This is the minimum detectable effect, and it's **relative to your baseline**: a +20% lift on a 5% conversion rate means detecting 5% → 6%, not 5% → 25%. Smaller lifts need far more traffic.

**Advanced** also lets you change **Confidence** (how sure you want to be), **Power** (the chance of catching a real lift if there is one; leave it at 80%), and the number of **Versions** (more versions need more visitors).

## 4. Read the result

The result updates as you change the inputs:

* **Bigger lifts show up sooner:** a chart of how many days each lift size would take at your traffic, rounded to full weeks.
* **Run it for:** the recommended run, with the date to check back.
* **Visitors needed per version**, and **in total** across all versions.

If the page can't reach a result in time at its current traffic, the planner says so. The fix is usually to test a busier page, or test a bigger change so the effect is easier to spot.

Click **Create test with these settings** to start a new test with these values filled in, or **Export as CSV** to share the plan.

## Example

| Input              | Value          |
| ------------------ | -------------- |
| Conversion rate    | 5%             |
| Smallest lift      | +20% (5% → 6%) |
| Confidence / power | 95% / 80%      |
| Visitors a day     | 1,000          |
| Versions           | 2              |

**Result:** roughly 7,700 visitors per version, about 15,400 in total, so about **2 weeks**.

Halve the traffic and the test takes twice as long. Halve the lift you want to detect and the test needs roughly four times the visitors.

Next: [Deciding How Long to Run an A/B Test](https://docs.humblytics.com/split-testing-overview/deciding-how-long-to-run-an-a-b-test.md).
