By Simon Sovič, Senior Product Manager
You run a hypothesis-driven product experiment without a data team by writing your prediction down before you build, choosing one number that will settle it, working out how many users you need with a free calculator, and deciding in advance when you'll stop. A spreadsheet, a feature flag tool with a free plan and a little discipline cover most of what an analyst would do for an early-stage product.
An experiment is a polite way of asking reality a question, and reality answers honestly. At Microsoft, Ron Kohavi and his colleagues found that of well-designed experiments built to improve a key metric, only about one third actually improved it. Most ideas, including the ones everybody loved, don't do what we expect. That's why you test them, and why every step below is built to stop you from fooling yourself.
Key takeaways
- Write the hypothesis down before you build: the change, who it's for, the outcome you expect and what would prove you wrong.
- Pick one primary metric and one guardrail metric before launch, and never add new ones once the results come in.
- Size the test with Evan Miller's free calculator, and if it asks for more users than you'll see in a couple of months, test a bolder change or switch to talking with users.
- Decide your stopping rule in advance, because checking every day and stopping on a good one turns noise into fake wins.
- Expect most ideas to fail, and treat a clear "no" as a result worth writing down.
What you'll need
- A way to see what users do. PostHog's free tier includes 1M analytics events and 1M feature flag requests a month, and its experiments are billed as flag requests. Mixpanel's free plan covers up to 1M events a month. Google Analytics 4 on its own won't split users into groups, since Google Optimize ended on September 30, 2023.
- A way to show the change to some users only. GrowthBook's free Starter plan has unlimited feature flags and experiments for up to three users, and Flagsmith's free plan allows up to 50,000 requests a month. You can also split users yourself (Step 4).
- An experiment log. A spreadsheet or a shared doc is plenty.
- One metric you can pull yourself.
Step 1: Write a hypothesis that can be wrong
"Let's see if users like the new onboarding" is a wish. A hypothesis makes a prediction specific enough that the data can embarrass it.
Jeff Gothelf, co-author of Lean UX, uses this template: "We believe that (this outcome) will be achieved if (these people) attain (this benefit) with (this feature)". For example: "We believe that more trial users will send their first invoice if new freelancers get a filled-in sample invoice they can edit."
My take: add one more line before you build anything. "We'll know we're wrong if (the metric) doesn't move by at least (the smallest change we'd act on) by (the end date)." Without it, almost any result can be read as a success, and you'd be amazed how creative you get when you love the idea.
- Change one thing. Two changes in one experiment, and you'll never know which one did the work.
- Write it before you look at the data. Looking first invites you to predict what you already saw.
- No template, no test. If you can't fill in the blanks, the idea needs more thinking first.
You'll have more hypotheses than time. Gothelf's Hypothesis Prioritization Canvas sorts them by value and risk: test the high-value, high-risk ones; ship and measure the high-value, low-risk ones; and throw away the low-value, high-risk ones.
Step 2: Pick one metric and one guardrail
Choose one primary metric: the single number that says whether the hypothesis was right. Activation, completion of a key step, feature adoption or upgrades all work. I'd pick the metric closest to the change. A new onboarding screen moves "finished onboarding" more directly than revenue, so it needs fewer users to show an effect.
Then choose a guardrail: the thing you must not break. If your change lifts clicks and also support tickets, you want to see that trade.
- Write both into the log before launch, along with the smallest change you'd act on.
- Don't add metrics afterwards. Search through enough numbers and one of them will look exciting by pure chance. It's like declaring the dartboard wherever your dart landed.
Step 3: Work out how many users you need
This is the step I'd never skip. You need enough users to tell a real change from random wobble.
Use Evan Miller's sample size calculator. Enter your current rate for the metric and the smallest lift you care about, and keep its standard settings: 80% power and a 5% significance level. Its own example shows how quickly the numbers grow: with a 20% baseline, spotting a lift of 5 percentage points takes 1,030 users per version, and spotting half that lift takes about 4,070. Half the effect, roughly four times the users, because the sample you need grows with the square of how fine a difference you want to see (Evan Miller's rule of thumb has the formula).
Divide the answer by how many users will see the change each week, and that's how long the test runs. If it's several months, you have three honest options:
- Test a bolder change. Big effects need far fewer users than small ones.
- Use a metric closer to the change. It moves more, so it shows up sooner.
- Learn another way. Talk to users or watch them try it (Step 7).
What you shouldn't do is loosen the settings until the number fits. That's like shortening the ruler so the shelf fits the wall.
Step 4: Build the smallest change that tests it
You need the smallest version that tests the assumption, which is rarely the full feature. If the question is whether people want something, a button that leads to a "coming soon" note (a fake door) can answer it. If it's about wording, change the words.
If you build with AI coding tools, a variant can take an afternoon. That makes running tests cheap, and it makes choosing what to test the scarce skill, which is a big part of why I don't think AI coding will make product managers obsolete.
- Split users at random. A feature flag tool does it for you. Doing it by hand, use something arbitrary such as whether the user ID ends in an even or odd digit.
- Don't split by signup date or week. The groups would then differ in time too: a holiday, a launch, a newsletter that went out on Tuesday.
- Log exactly what changed, when, and for whom.
Step 5: Decide when you'll stop before you start
Here's the trap: you check every morning and stop the day the new version looks like a winner. It feels responsible. Statistically, it's a slot machine. In an example in Evan Miller's essay How Not To Run an A/B Test, checking after every visitor and stopping at the first "significant" result turned a 5% chance of a false alarm into 26.1%, for a change that did nothing at all.
Two honest ways out:
- Fix the sample in advance. Run until you reach the number from Step 3, then read the result once.
- Use a sequential test. Evan Miller's simple sequential test lets you look as often as you like, by counting conversions. In his table, to spot a 50% lift with the standard settings you plan for at most 170 conversions in total. If the new version ever gets 26 more conversions than the old one, it wins. If the total reaches 170 first, there's no winner. His sequential calculator works out the numbers for your own baseline.
Either way, I'd run at least one full week, so every weekday shows up in both groups, and stop early only if the guardrail breaks. The sequential test only stops early for a win, so keep watching that guardrail.
Step 6: Read the results without fooling yourself
Start with a boring check: did both groups get roughly the same number of users? If one is much bigger, something in the split is broken, and the result can't be trusted until it's fixed.
Then compare the primary metric. Evan Miller's chi-squared test takes each group's successes and trials and tells you whether the difference is bigger than chance would explain.
Three outcomes are possible:
- A clear win. The new version beat the old one, the sample was big enough, and the guardrail held. Ship it.
- A clear loss or no effect. The hypothesis was wrong. Given Microsoft's one-in-three experience, this will be your most common result, and it's a useful one: an idea crossed off for the price of a few weeks.
- Inconclusive. Too few users, or an effect too small to see. Decide whether to run longer or move on, and write down that you don't know.
If a result looks spectacular, check the setup before you celebrate. A tracking bug can draw a beautiful chart too.
Step 7: Too few users? Learn without a split test
Early on, you may simply not have the traffic. You can still test hypotheses honestly with different tools.
- Watch people use it. A handful of usability sessions will show you why something confuses people, which no split test can. The guide to running a usability test with five users on a tight budget shows how.
- Try a fake door. Count how many people click on something that doesn't exist yet, and tell them honestly that it's coming.
- Do it by hand first. Deliver the feature manually to a few customers and see whether they come back.
- Compare before and after, carefully. It's weaker evidence because other things change too, so treat it as a hint and say so in the log.
The hypothesis template works for all of these. If you're also building without engineers of your own, the guide on managing a product with no engineering team covers the rest of that job.
Step 8: Write it down and share it
Every experiment gets a short entry in the log, win or lose. Over time, it becomes a map of how your users actually behave.
| Field | What to write |
|---|---|
| Hypothesis | The filled-in template from Step 1 |
| Metrics | Primary metric, guardrail and the smallest change you'd act on |
| Plan | Sample size or stopping rule, start and end dates |
| Result | What happened to both metrics, and whether the split was even |
| Decision | Ship, drop or rerun, and why |
| Lesson | What this taught you about your users |
Reread the whole log when you replan each quarter, and look for patterns no single test could show.
Common mistakes to avoid
- Testing several changes at once. One variable per experiment.
- Stopping on a good day. Probability doesn't care how excited you are. Stick to the plan from Step 5.
- Blaming or crediting the wrong thing. A metric moved. Check the log for anything else that changed that week.
- Ignoring the why. Numbers tell you what happened. Conversations tell you why. You want both.
FAQ
Do I need a data team to run product experiments?
No. You need a written hypothesis, one metric, enough users and a stopping rule decided in advance. Evan Miller's free calculators cover the statistics, a feature flag tool's free plan covers the split, and a spreadsheet covers the rest.
How many users do I need for an A/B test?
It depends on your current rate and the smallest lift you care about. In the example built into Evan Miller's calculator, a 20% baseline and a 5-point lift need 1,030 users per version, and smaller lifts need many more. Put in your own numbers before you build anything.
How long should a product experiment run?
Until it reaches the sample size you planned, or until your sequential test's stopping rule triggers. I'd never run one for less than a full week, so weekday and weekend behavior both show up. If the plan needs months, test a bolder change instead.
Can I run A/B tests in Google Analytics 4?
Not on its own. Google's testing tool, Optimize, ended on September 30, 2023. Use a feature flag or experimentation tool to split users, then read the results there or in your analytics tool.
What if the experiment shows no effect?
Write it down and move on. It's the most common outcome even at companies that test constantly, and it stops you building on an idea that doesn't work. If the test was too small to tell, say so in the log, so nobody mistakes "we don't know" for "it doesn't work".
Published with SuperDuperSEO