> 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/deciding-how-long-to-run-an-a-b-test.md).

# Deciding How Long to Run an A/B Test

When to stop a test, and why stopping too early gives you wrong answers.

A test is done when it has **enough visitors** and has **run long enough**, not when the numbers first look good. The [Test planner](https://docs.humblytics.com/split-testing-overview/using-the-humblytics-a-b-sample-size-calculator.md) gives you both numbers before you launch: **Run it for** is the duration to expect, and **Visitors needed per version** is the sample to wait for.

## Minimum and maximum run

Every test has a minimum run that depends on its goal, and a maximum run of **30 days** by default (you can shorten it when you create the test). The test stops on its own at the maximum.

| Goal                            | Minimum run                     | Default confidence |
| ------------------------------- | ------------------------------- | ------------------ |
| Clicks, visit time, bounce rate | 3 days                          | 90%                |
| Form submissions, sign-ups      | 7 days                          | 95%                |
| Destination page, funnels       | 14 days                         | 95%                |
| Payments and revenue            | 14 days, plus 14 days to settle | 97%                |

Revenue tests run longer and aim higher because purchases are rarer and more costly to get wrong.

## When to stop

Call a winner when the results page highlights the answer, which happens only when:

1. The chance to beat Control is at least 95%.
2. The visitors needed per version are in.
3. The minimum run has passed.
4. Stripe-based goals have settled.
5. Test health isn't **Check**.

Stop without a winner when you've reached the maximum run and the chance to beat Control is still hovering around 50%, or the **Likely change** range still straddles zero. The change probably doesn't matter much. Test something bolder.

## Rules of thumb

* **Run whole weeks.** People behave differently on weekends, so a test that runs Monday to Friday can mislead you. The planner rounds its estimate to full weeks for this reason.
* **Don't stop at the first good number.** Results swing a lot early on. The more often you check and stop, the more likely you pick a false winner.
* **Don't change the pages mid-test.** Editing a version, or running a big campaign to one page only, mixes old and new results.
* **Low traffic? Test bigger changes.** A new headline and offer is easier to detect than a new button color. Use the planner's **Bigger lifts show up sooner** chart to see the difference.

Keep an eye on the **Test health** card and its run timeline on the results page. It shows **Started → Minimum run → Earliest call → Auto-stop** with a marker for today. [How to read results](https://docs.humblytics.com/split-testing-overview/how-to-analyze-split-test-data.md).
