On this page
Most first A/B tests are lost at the whiteboard, long before a visitor ever sees a variation. The test has no real hypothesis, or it runs on a page with too little traffic to ever produce a clear answer, or someone stops it the afternoon the numbers first look good. The uncomfortable backdrop is that even at companies with mature experimentation programs, most ideas do not work. In experiments run at Microsoft, roughly one third of tested ideas moved the target metric in the right direction, one third did nothing measurable, and one third actively made things worse, as Ron Kohavi and Stefan Thomke reported in Harvard Business Review.
That ratio is the entire reason to test instead of ship. You cannot reliably tell a winning idea from a losing one by looking at it, and neither can your most senior colleague. The same HBR article describes a Bing engineer who tried a small change to how ad headlines displayed, an idea that had been shelved as low priority for months. It lifted revenue by 12 percent and became one of the most valuable ideas in the product's history, worth about 100 million dollars a year. Nobody predicted that in a meeting. A test found it.
This guide walks through your first A/B test from start to finish: what a test actually is, how to write a hypothesis you can be proven wrong about, what to test first, how long to run it, how to read the numbers when they come in, and the mistakes that quietly ruin most beginners' first attempts.
What is an A/B test, and how does it work?
An A/B test is a controlled experiment that randomly splits your live traffic between two versions of a page or element and measures which one drives more of a specific action. Version A is the control, usually whatever you have now. Version B is the variation, identical except for the one thing you changed. Because visitors are assigned at random, the two groups are statistically alike in every other way, so any reliable difference in the outcome can be traced back to your change rather than to luck, seasonality, or a different mix of visitors.
Three pieces make the method trustworthy. Random assignment keeps the groups comparable. A single primary metric, decided before launch, defines what winning means. And a statistical test decides whether the gap you observe is real or just noise. Skip any one of those and you have a demo rather than an experiment.
How do you form a testable hypothesis?
A testable hypothesis is a single falsifiable statement that names the evidence you observed, the change you will make, the outcome you expect, and the metric that will prove you right or wrong. A vague goal like "improve the pricing page" cannot be tested, because nothing about it could ever come back false. A hypothesis has to be specific enough that the data can contradict it.
Unbounce's guidance on hypothesis writing frames it as a structured prediction tied to a real user problem, not a hunch about button colors. A reliable template looks like this: because we observed [evidence], we believe that [change] will cause [effect] for [audience], and we will know it worked when [primary metric] moves.
Here is a worked example. Say your analytics show that 60 percent of visitors to your pricing page scroll straight past the plan comparison and leave without clicking anything, and a handful of chat transcripts mention confusion about which plan includes a specific feature. The hypothesis writes itself: because pricing-page visitors cannot quickly tell which plan includes the feature they came for, we believe that adding a feature-comparison row near the top of the table will cause more of them to start a trial, measured by pricing-page-to-signup rate. That statement is testable. If the signup rate does not move, the hypothesis is wrong, and you have learned something real.
The hardest part is the evidence, the "because." Analytics tell you where people drop off. They rarely tell you why. The why usually comes from qualitative sources: session recordings, on-page surveys, and actual conversations with the people who are hesitating. Watching what a confused visitor asks in a live chat on your highest-intent pages surfaces the specific objection a dashboard will never show you, and that objection is the raw material for a hypothesis worth testing.
What should you test first?
Test the change with the most potential upside on a page important and trafficked enough to give you a clear answer, rather than the page you personally find ugliest. First tests fail most often because teams pick a low-traffic page that will never reach significance, or a cosmetic tweak that could not move revenue even if it won.
A simple way to choose is the PIE framework, developed by Chris Goward at Conversion. Score each candidate on three factors from 1 to 10: Potential (how much room the page has to improve), Importance (how valuable and high-volume its traffic is), and Ease (how hard the change is to build and launch). Average the three and rank your ideas. The change that scores high on all three is your first test.
Two adjustments matter for a first test. Bottom-of-funnel pages, where visitors have already shown intent, tend to reward testing because every point of lift lands on people close to converting: pricing, cart, checkout, and signup. And high traffic is a different thing from high potential. Your homepage may get the most visits, but a page that already converts well has little room to move, while a leaky high-intent page in the same funnel has plenty. For a business that treats its site as an inbound sales channel, the pages where good-fit buyers decide whether to talk to you are almost always the right place to start.
How long should you run a test?
Run the test until it reaches the sample size your hypothesis requires and covers at least one full business cycle, which for most sites means a minimum of two weeks. Duration is set by two things at once: enough visitors to reach statistical confidence, and enough calendar time to smooth out the difference between a Tuesday and a Sunday.
Before launch, a sample-size calculator turns your assumptions into a target. You feed it three numbers: your current conversion rate (the baseline), the smallest lift worth detecting (the minimum detectable effect, or MDE), and your confidence and power settings, conventionally 95 percent and 80 percent. Smaller effects need much larger samples, which is why chasing a 1 percent relative lift on a low-traffic page is usually hopeless. Tools like the Convert sample-size calculator and guidance from CXL do this math for you.
Here is a worked example. Suppose your signup page converts at 4 percent and you decide the smallest result worth acting on is a 20 percent relative lift, taking you to 4.8 percent. At 95 percent confidence and 80 percent power, a standard calculator returns roughly 10,000 visitors per variation, about 20,000 total. If that page gets around 1,500 visitors a day split evenly, you reach the sample in roughly two weeks, which happens to line up with the full-business-cycle minimum. If it gets 300 visitors a day, the same test needs about ten weeks, so you should either pick a higher-traffic page or accept that you can only detect larger effects.
HubSpot's testing guidance makes the same point from the calendar side: run through at least one full cycle of your normal traffic so returning visitors and weekday-versus-weekend behavior are all represented. A test that hits its sample size in four days has still only seen four days of behavior. Wait for both conditions, sample size and at least one clean cycle, before you even look at a winner.
How do you interpret and act on results?
Read the result against the single primary metric you defined before launch, and sort it into one of three outcomes: a statistically significant win, no significant difference, or a significant loss. Statistical significance at 95 percent confidence means there is only about a 5 percent chance the difference you see is random noise. Below that bar, you treat the result as inconclusive, however much you want the variation to have won.
A clear win is not the finish line. Check your guardrail metrics first, the numbers you did not want to hurt while chasing the primary one. A change that lifts trial signups but tanks trial-to-paid conversion is a loss wearing a winner's costume. Then segment the result by new versus returning visitors. If the lift is concentrated among returning visitors and fades over the test, you may be looking at a novelty effect, a temporary bump that comes from something being different rather than better. If the win survives both checks, ship it and feed what you learned into the next hypothesis.
A flat or losing result is worth just as much, and beginners underrate it. A test that disproves a popular internal assumption stops you from rolling that same bad idea out across the whole site. When Microsoft found that two thirds of ideas were flat or negative, much of the program's value was in not shipping those. Record what you tested, why, and what happened, then start the next cycle. The compounding value of A/B testing comes from running the loop many times, not from any single win.
What are the most common first A/B test mistakes?
The mistakes that ruin first tests are almost all process failures rather than creative ones. The most common is peeking: checking the test repeatedly and stopping the moment it crosses significance. Every extra look is another roll of the dice, and after enough peeks the real false-positive rate climbs far past the 5 percent you think you are running, as analyses of the peeking problem show. Set your sample size and duration up front and hold to them.
Three more show up constantly. Changing several things at once (headline, hero image, and CTA together) so a win tells you nothing about which element mattered. Running on a page with too little traffic to ever reach significance, then reading meaning into noise. And trusting an early spike that turns out to be the novelty effect. Underneath all of them sits the quietest mistake: testing surface tweaks while ignoring the qualitative "why," so you optimize a button while the real objection goes unanswered.
Running your first A/B test: FAQs
How much traffic do you need to A/B test?
Enough to reach your required sample size in a reasonable window, which depends on your baseline conversion rate and the effect you want to detect. Lower-traffic sites can still test, but only for larger, higher-confidence changes, and on their highest-volume pages. If a page cannot plausibly reach a few thousand conversions per variation in a month or two, test a different page or a bigger change.
What is the difference between A/B testing and multivariate testing?
An A/B test compares two whole versions that differ by one change, while a multivariate test varies several elements at once to find the best combination. Multivariate testing needs far more traffic because it splits visitors across many combinations, so it is rarely the right choice for a first test. Start with clean A/B comparisons and one variable at a time.
What tools do you need to run your first A/B test?
At minimum you need a way to split traffic and serve two versions, an analytics platform to measure the primary metric, and a sample-size calculator to plan the test. Many teams already have most of this. The larger investment is the habit: a written hypothesis, a pre-set duration, and a record of every result.
How many of your tests should you expect to win?
Fewer than you hope. Mature programs commonly see only about a third of tests produce a clear positive result, so a beginner should expect plenty of flat and losing tests and treat them as information rather than failure. The teams that win are the ones that keep running the loop and let evidence, rather than opinion, decide what ships.
Key takeaways
- A hypothesis has to be falsifiable. Name the evidence, the change, the expected effect, and the primary metric, so the data can prove you wrong. A goal you cannot fail is no hypothesis at all.
- Test high-potential changes on high-intent pages. Use a simple score like PIE (Potential, Importance, Ease) and start where trafficked, valuable pages have real room to improve, not where your taste objects.
- Duration is set by sample size and a full business cycle. Calculate the sample from your baseline and minimum detectable effect, then run at least two weeks so weekday, weekend, and returning-visitor behavior all count.
- Read results against one pre-set metric, then check guardrails and segments. A win that hurts a downstream number or fades among returning visitors will not hold up.
- Losing and flat tests are worth keeping. Roughly two thirds of ideas do not improve the metric, and knowing which ones to hold back is much of the value.
- Most first-test failures are process failures. Peeking, testing several variables at once, and too little traffic ruin more first tests than any creative choice.
TAGS

Written by
Nilas MylerCo-founder & CTO, Glimpze
Nilas is the co-founder and CTO of Glimpze, an inbound sales tool that turns high-intent website visitors into live conversations. A former SEO consultant for some of the largest companies in Denmark, he writes about speed-to-lead, inbound sales, and conversion rate optimization — the technical and operational mechanics of turning traffic into pipeline.