ABSplits

How to write an A/B test hypothesis

Updated

The short answer

  • A hypothesis is a testable prediction: what you'll change, for whom, what will happen, and why.
  • Template: Because we saw [evidence], we believe [change] for [audience] will [outcome]. We'll know when [metric] changes.
  • Base it on evidence (analytics, support tickets, user research), not on taste.
  • Decide the metric and the smallest lift worth detecting before the test starts.

What is an A/B test hypothesis?

An A/B test hypothesis is a clear, testable statement of what you're changing, what you expect to happen, and why. It's written before the test starts, so the result can prove you right or wrong.

“Let's try a green button” is an idea. “Making the button say what happens next will increase sign-ups, because visitors hesitate when they don't know what they're committing to” is a hypothesis. The second one tells you what to build, what to measure, and what you've learned whichever version wins.

The A/B test hypothesis template

Because we saw [evidence],
we believe that [change]
for [audience]
will [outcome].
We'll know it worked when [metric] changes by [amount].
  • Evidence: what you observed. Analytics, heatmaps, support tickets, sales calls, user interviews, or a competitor that's working.
  • Change: the one thing version B does differently.
  • Audience: who sees the test. All visitors, mobile only, paid traffic, new visitors.
  • Outcome: the behaviour you expect to change.
  • Metric: the single number you'll judge it on, and the smallest change worth detecting.

Hypothesis builder

Fill in the blanks to write your own. Anything you leave empty uses the example.

Your hypothesis (0/5 filled, the rest is the example)

Because we saw 40% of demo calls start with 'Do I need a developer?', we believe that adding 'No developer needed' under the pricing headline for visitors to the pricing page will increase trial sign-ups. We'll know it worked when plan button clicks rise by at least 10%.

Good vs bad hypotheses

Weak

“Changing the headline will improve conversions.”

Doesn't say what the change is, why it should work, or which conversion counts.

Weak

“A red button will get more clicks.”

No evidence or reason. Even if it wins, you've learned nothing you can reuse.

Good

“Because 30% of support tickets ask about cancelling, adding 'Cancel anytime' under the trial button will increase trial starts from the pricing page by at least 8%.”

Evidence, one change, audience, outcome and a measurable target. Win or lose, you learn whether cancellation worry is holding people back.

A/B testing hypothesis examples

Real hypotheses from our A/B testing examples library, each with version A and B.

Null vs alternative hypothesis

In statistics, every A/B test has two hypotheses. The null hypothesis (H0) says there's no real difference between A and B; any gap you see is chance. The alternative hypothesis (H1) says B really does convert differently.

Classic (frequentist) tests try to reject the null: a p-value below 0.05 means a gap this big would be unlikely if there were no real difference. AB Splits uses Bayesian statistics instead, which answers the question you actually care about directly: what's the chance B is better than A? We call a winner at 95%.

Either way, the business hypothesis above is what makes the test worth running. The statistics only tell you whether to believe the result. Try it with your own numbers in the A/B test calculator.

Which hypothesis to test first

You'll have more hypotheses than traffic. Score each from 1 to 10 on three things (often called ICE) and start with the highest total:

  • Impact: how much will it move the metric if it works? Changes on high-traffic pages near the conversion point score highest.
  • Confidence: how strong is your evidence? Data from real users beats a hunch.
  • Ease: how quickly can you build and run it? A copy change beats a redesign.

Not sure where to start? Our free audit reads your page and writes five hypotheses with ready-to-ship copy.

Questions

Does every A/B test need a hypothesis?+

Yes. Without one you can't tell whether a result means anything, and a losing test teaches you nothing. A hypothesis turns every test, win or lose, into something you've learned about your visitors.

What if my hypothesis is wrong?+

That's a useful result. If B doesn't beat A, you've learned that the thing you believed doesn't matter to your visitors (or not as much as you thought), and you can stop arguing about it. Write down why you think it lost and use that in the next hypothesis.

Should a hypothesis predict how big the lift will be?+

It should state the smallest lift worth detecting (the minimum detectable effect), because that decides how many visitors you need. Use the A/B test calculator to turn that into a sample size.

Can I test more than one change at once?+

You can, but then the hypothesis is about the combination. If it wins, you won't know which change did it. For learning, change one thing. For a big redesign, test the whole page and accept you're testing a package.

Get 5 tests written for your page

Paste your URL. Each test comes with a hypothesis and copy that's ready to ship. Free, about 20 seconds.

Get my free audit