A/B test hypothesis examples: one template, eight page types

A fill-in A/B test hypothesis template (change, who it affects, metric, why it should work) with filled examples for eight page types and a testability check.

· 12 min read

A testable A/B test hypothesis names four things: the one change, who it affects, the metric that should move and why the change should work. The A/B test hypothesis examples below all use that structure, one per page type, from a landing page to an app screen. They are hypothetical. Each one says what should happen and why, and none predicts how big the effect will be.

A hypothesis starts from something you noticed on the page. If you don’t have that observation yet, start with how to find A/B test ideas on one page and come back with one idea.

The A/B test hypothesis template

The template is one sentence with four slots, plus four lines that turn it into a test you can build and read. Copy it and fill in every part:

If we [the one change] for [who it affects],
[primary metric] should [go up / go down],
because [why it should work].

Variant A: [the page as it is now]
Variant B: [the page with that one change]
Who is counted: [who enters the metric, the same in both variants]
What to watch: [a second metric that must not get worse]

Each slot has a job. If one is empty, the test either can’t be built or can’t be read when the result comes in.

Part What to write Too vague
The one change What changes, where, word for word Improve the hero
Who it affects The people who see the change All users
Primary metric One metric and the direction it should move Engagement
Why it should work The doubt or effort the change removes Users will like it
What to watch A second metric that must not get worse Nothing

Testing tools usually call Variant A the control. What to watch is often called a guardrail metric.

Who it affects and who is counted sound alike, but they are different lines. Who it affects describes the people whose page changes in Variant B. Who is counted defines the denominator of the metric: the people from both variants who reached the point where the change would appear. A visitor in Variant A who opens the cart is counted in a cart test, even though nothing changed for them.

Optimize Peak writes every test in this form. Each one has a hypothesis, the reason the change should work, the primary metric with who is counted and a “What to watch” metric. The example tests on the sample report show the full set for a cart, a product page and a comparison table. Picking the metric itself is its own decision, covered in how to choose an A/B test primary metric.

Some A/B testing hypothesis formats also ask for the size of the effect. Convert’s glossary entry on hypotheses gives “at least 10%” as an example of such a precise claim.

This template leaves the size out on purpose. The smallest effect worth detecting, called the minimum detectable effect in sample-size calculators, is a planning input. It belongs in the test plan, and it doesn’t decide the winner.

A/B test hypothesis examples for eight page types

Each example below starts with what Variant A shows today, then gives the filled hypothesis and its parts. The pages are made up. Swap in what your own page shows, and keep the structure.

An Optimize Peak test's details: the hypothesis, why it should work, and the one change.
A hypothesis filled in for a cart test, with the reason and the one change. From Optimize Peak's example tests.

Landing page: match the headline to the ad

Variant A: a paid ad promises “Free payroll for teams under 10”. The landing page headline says “The all-in-one platform for your people team”.

Hypothesis: If the headline repeats the ad’s offer, visitors from that ad should start more trials, because they know they’re in the right place.

Part This example
The one change Headline text only, design unchanged
Who it affects Visitors who arrive from that ad
Primary metric Trial starts per visitor from the ad
What to watch Share of new trials that finish setup

The guardrail matters here because a sharper promise can pull in sign-ups that never set the product up. Counting only visitors from that ad keeps people who never saw the promise out of the result.

Homepage: one main button instead of two

Variant A: the hero shows “Start free trial” and “Book a demo” as two buttons of equal size and color.

Hypothesis: If “Book a demo” becomes a text link, first-time visitors should start more trials, because one main button needs less deciding.

Part This example
The one change Demo button becomes a text link
Who it affects First-time visitors on the homepage
Primary metric Trial starts per first-time visitor
What to watch Demo requests per first-time visitor

The demo link stays on the page, so the guardrail checks a real risk: buyers who wanted a demo may stop asking for one.

Pricing page: say who each plan is for

Variant A: three SaaS plan cards list features line by line. Nothing says which team each plan suits.

Hypothesis: If each plan says who it’s for, visitors should choose a plan more often, because matching takes less work than comparing features.

Part This example
The one change A line such as “For teams of 1–5” under each plan name
Who it affects Visitors who open the pricing page
Primary metric Plan selections per pricing-page visitor
What to watch Revenue per pricing-page visitor

A label can steer people to the cheapest plan, so the guardrail is revenue, not clicks.

Sign-up form: drop the required phone field

Variant A: the sign-up form has five fields, and phone number is required.

Hypothesis: If the phone field goes, more visitors who start the form should finish it, because a required phone number signals a sales call.

Part This example
The one change Remove the phone field
Who it affects Visitors who start the form
Primary metric Completed forms per visitor who starts it
What to watch Share of sign-ups that sales accepts

Who is counted starts at the first field a visitor fills in. Visitors who never touch the form can’t be affected by a field they never reach.

Product page: show the delivery date

Variant A: the product page shows the price and the Add to cart button. The delivery date appears only in checkout.

Hypothesis: If a delivery date appears under the price, more product-page visitors should add to cart, because they learn early whether it arrives in time.

Part This example
The one change Delivery date line under the price
Who it affects Visitors who open a product page
Primary metric Add-to-cart rate per product-page visitor
What to watch Orders delivered after the date shown

The date has to be real. A line that promises more than the shop delivers can lift add-to-cart and still cost trust, which is what the guardrail catches.

Cart: show the shipping cost

Variant A: the cart says “Shipping: calculated at checkout”.

Hypothesis: If the cart shows the shipping cost, more cart openers should place an order, because the cost no longer surprises them at checkout.

Part This example
The one change Shipping cost shown in the cart
Who it affects Shoppers who open the cart
Primary metric Orders per shopper who opens the cart
What to watch Average order value

This hypothesis can be wrong in an instructive way. If shipping is expensive, some shoppers may leave earlier instead of later. A flat or negative result then says the cost itself is the problem, not the moment it appears.

Checkout: offer guest checkout

Variant A: shoppers without an account must create one before they can pay.

Hypothesis: If checkout offers “Continue as guest”, more shoppers without an account should order, because creating one no longer stands in the way.

Part This example
The one change Add a “Continue as guest” option
Who it affects Shoppers not signed in at checkout
Primary metric Orders per shopper who reaches that step
What to watch Accounts created per 100 orders

Shoppers who are already signed in never see the option, so they stay out of who is counted. The guardrail records the cost the business accepts: fewer accounts for later email and reorders.

App screen: ask for notifications later

Variant A: the first onboarding screen of a mobile app asks for permission to send notifications.

Hypothesis: If the notification prompt comes after the first task, more new users should finish onboarding, because the first screen no longer asks for trust.

Part This example
The one change Move the permission prompt after the first task
Who it affects New users on their first session
Primary metric Onboarding completions per new user
What to watch Notification opt-in rate

The guardrail here is the obvious trade-off. Fewer people may ever reach the later prompt, so opt-ins can fall even if onboarding improves.

How to tell a weak hypothesis from a testable one

A weak hypothesis leaves one of the four slots empty or fills it with something no test can check. The fix is usually not a longer sentence. It is a specific change, a named group of people and one metric. Weak forms and their testable versions:

Weak hypothesis What’s missing Testable version
Improve the homepage Change, people and metric One button, first-time visitors, trial starts
A green button will convert better A reason that could be wrong Name the doubt the change removes
Social proof will build trust Which proof, where, for whom One review line under the price, add-to-cart rate
New headline and shorter form Two changes in one test Two tests, one change each
Sign-ups will rise 20% A size no one can know yet Direction only, size in the test plan
The redesign will lift retention A metric close to the change A metric on the same page or step

Two changes in one variant make the result unreadable. If Variant B has a new headline and a shorter form, a result can’t say which one did the work. A testable hypothesis also passes five checks before launch:

  1. Variant B is Variant A plus exactly one difference, and you can describe that difference word for word.
  2. You can name who sees the change and who is counted, the same way in both variants.
  3. There is one primary metric and a direction it should move.
  4. The “because” could turn out to be wrong, and a flat result would tell you something about it.
  5. A second metric to watch is named, with the limit it must not cross.

A CRO hypothesis that fails the fourth check is a preference, not a prediction. “Users will like it” can’t be shown wrong, so a flat result teaches nothing. “Shoppers stop at checkout because shipping costs surprise them” can be shown wrong, and the next test starts from what you learned.

Hypothetical example: who is counted changes the test size

Who is counted is not a formality, because it changes how many visitors a test needs. Microsoft’s experimentation team describes analyzing only the people a change can reach as a standard practice that makes the measurement more sensitive.

Its condition is strict: the group must include everyone who was or would have been affected, in both variants. The same article warns that the effect measured on that group is not the effect on all users.

Take the cart example above as a hypothetical example. Assume 20% of the visitors assigned to the test open the cart, and every order passes through the cart.

In Variant A, 30% of cart openers place an order. The smallest change worth detecting is a rise to 32% among them.

Counted over all visitors, the same change is 6.0% to 6.4%. Visitors who never reach the cart add only zeros to both variants.

Varying the share of visitors who open the cart, and the size of the change worth detecting, shows whether the conclusion holds. Each row gives the visitors per variant needed for 80% power at a two-sided 5% significance level, using the standard sample-size formula for two proportions.

In plain terms, a real change of that size is detected about 4 times in 5. When nothing changed, a significant difference in either direction still shows up about 1 time in 20.

Visitors who open the cart Change among cart openers Visitors per variant, everyone counted Visitors per variant, cart openers counted
10% 30% to 32% 118,000 84,000
10% 30% to 33% 53,000 38,000
20% 30% to 32% 57,000 42,000
20% 30% to 33% 26,000 19,000
40% 30% to 32% 27,000 21,000
40% 30% to 33% 12,000 9,000

Visitor counts are rounded to the nearest 1,000 for display. The cart-opener figures are the visitors needed to collect enough cart openers, not the cart openers themselves.

In every row, counting everyone needs about 1.3 to 1.4 times as many visitors as counting cart openers. The gap narrows as more visitors open the cart, and it would close if everyone did.

Bar chart: visitors per variant with everyone counted versus only cart openers counted, for six scenarios. Counting cart openers needs fewer visitors in each.
Counting only the visitors the change can reach needs fewer visitors in every scenario.

These figures hold only under the assumptions above. If visitors could buy without the cart, the comparison would change. The result also says nothing about whether the change works. It shows only that a vague “who it affects” makes the same test slower to read.

Write the decision rule next to the hypothesis

A hypothesis becomes a test once the decision rule sits next to it, written before launch. Three lines are enough:

  • What counts as a win: the primary metric moves in the stated direction and the result is clear at the sample size you planned.
  • What stops the test or blocks the rollout: the “what to watch” metric crosses a limit you set in advance. Setting that limit is covered in guardrail metrics for A/B tests.
  • What an unclear result means: the test could not tell the variants apart at this size. That is not proof the change has no effect.

With the rule written down, nobody has to argue later about which metric mattered. The hypothesis also keeps its value when the test loses. You learn whether the reason you wrote was right, and that reason feeds the next test on the same page.

Turn your next idea into one hypothesis

Pick one idea for one page and write an A/B test hypothesis for it in the template before anything gets built. Fill the four slots, add Variant A and Variant B, then write who is counted and what to watch. Run it past the five checks. If a slot stays empty, the idea isn’t a test yet.

To start from a page instead of a blank template, scan a screenshot of the page with Optimize Peak. A scan finds up to four single-change tests ranked by priority, and the first scan is free, with a preview of the first test. An unlocked test includes the hypothesis, the primary metric and what to watch. Optimize Peak doesn’t see your traffic or predict a lift, so the size of the effect is still yours to plan and measure.

More from the blog