A/B Testing Examples: How to Run and Read a Test
A/B testing examples show how a controlled experiment answers one question: does version B beat version A? You split users at random, change one variable, and compare a success metric. The winner is the variant with a statistically significant lift in that metric, not the one that "feels" better.
- An A/B test compares a control (A) against one changed variant (B) using random assignment and a single success metric.
- Run the test to a sample size you set before launch, not until the numbers look good.
- Significance is not the same as impact. A significant 1% lift on a small base can be worth less than the cost of the change.
- Test one variable at a time. Changing copy, layout and price together tells you nothing about which one worked.
- Record the result and the decision. A test without a logged outcome becomes a repeated argument.
What is an A/B test and what does a good example look like?
An A/B test is a controlled experiment where users are randomly assigned to a control group or a variant group, and one metric decides the winner. A good example names the audience, the single change, the metric, and the decision rule before the test starts. Without those four, you have a demo, not a test.
The structure is the same whether you test a pricing page or an onboarding email. Two groups, random split, one variable, one primary metric. Everything else stays fixed.
Common examples for SaaS teams include a signup button label, a free-trial length, an in-app onboarding step, and a subject line. Each one changes exactly one thing.
How does an A/B test work step by step?
It works in seven steps: define the question, pick the metric, set the sample size, randomize, run, check significance, then decide. Skipping the sample-size step is the most common failure. Here is the sequence.
-
Write the hypothesis. Example: "A 14-day trial converts better than a 7-day trial."
-
Pick one primary metric. Trial-to-paid conversion, for instance.
-
Set the minimum detectable effect you care about, such as 2 percentage points.
-
Calculate the sample size per variant before launch. Use the A/B test sample size calculator to get it.
-
Randomize users and keep the split fixed, usually 50/50.
-
Run until the sample size is reached. Do not peek and stop early.
-
Test significance, then decide and document.
The core comparison is simple. Lift equals the variant rate minus the control rate, divided by the control rate.
Lift % = (B rate − A rate) ÷ A rate × 100
You also need the probability that the difference is real. Run the numbers through the A/B test significance calculator rather than eyeballing two percentages.
What is a worked A/B testing example with real numbers?
Here is a worked example using simple, clearly labeled sample numbers. A SaaS company tests a shorter signup form.
Control A gets the current 8-field form. Variant B gets a 4-field form.
The primary metric is signup completion.
| Item | Control A | Variant B |
|---|---|---|
| Visitors | 5,000 | 5,000 |
| Signups | 500 | 575 |
| Signup rate | 10.0% | 11.5% |
| Lift vs control | — | +15.0% |
| Extra signups | — | 75 |
The result: B lifts the signup rate from 10.0% to 11.5%, a 15% relative lift and 75 extra signups. That is a clean, readable example.
Now the judgment call. A 15% lift sounds large, but the absolute gain is 1.5 percentage points.
Multiply that by your monthly traffic to see if it matters. If you get 5,000 visitors a month, that is 75 extra signups monthly.
Then connect it to revenue. If 20% of signups become paying customers, that is 15 extra customers a month.
Multiply by average revenue per account to get the monthly value. Compare that to the engineering cost of the shorter form.
Decide the decision rule before launch. Example: "Ship B if the lift is at least 10% and significance is at least 95%." Write it down so the result cannot be argued after the fact.
Which SaaS metrics should you A/B test?
Test metrics that sit close to revenue or retention, not vanity counts. Page views and clicks are easy to move and rarely change the business. The metrics below are the ones worth a test.
- Signup or lead conversion. Use the conversion rate calculator to baseline it.
- Trial-to-paid conversion. Use the free trial conversion calculator.
- Activation rate, such as the share of new users who complete a key action.
- Feature adoption, such as the share of accounts that use a new feature.
- Funnel drop-off at a specific step.
Pick one primary metric per test and list secondary metrics for context. If the primary metric is trial-to-paid, do not let a rise in signups override a fall in paid conversion.
What are the most common A/B testing mistakes?
The most common mistakes are stopping early, testing too many changes at once, and ignoring sample size. Each one produces a confident answer that is probably wrong. The list below covers the ones that recur most.
- Peeking and stopping when the result looks good. This inflates false positives.
- Testing multiple changes together, so you cannot tell which one caused the lift.
- Skipping the sample size and calling a 30-user test a result.
- Changing the metric mid-test to fit the outcome.
- Ignoring seasonality, such as testing a pricing page during a holiday week.
- No decision rule, so the test ends in an opinion instead of an action.
One more: treating a significant result as a win without checking cost. A significant 0.5% lift may not pay for the build.
How do you act on an A/B test result?
Act on the result by applying the decision rule you wrote before launch, then logging the outcome and the follow-up. There are only three outcomes: ship the variant, keep the control, or run a new test. Here is how to handle each.
Ship the variant when it clears your significance and minimum-lift thresholds. Roll it out fully and monitor the primary metric for a few weeks to confirm the lift holds.
Keep the control when the variant loses or the result is inconclusive. An inconclusive test is still useful: it tells you that change was not the lever.
Run a new test when the result is promising but underpowered. Increase the sample or the effect size, then repeat.
Record every test in one place: hypothesis, metric, sample size, result, and decision. That log is the real asset. It stops the same test being run twice and gives finance a trail for why a page or flow changed.
For the underlying metric definitions behind each test, keep the SaaS metrics reference handy. It keeps the test metric and the reported metric consistent.
What is a simple A/B testing template?
A simple A/B testing template records nine fields per test so anyone can audit the decision later. Copy the table below and fill one row per test.
| Field | What to record |
|---|---|
| Test name | Short, searchable label |
| Hypothesis | One sentence, one variable |
| Audience | Who is included and excluded |
| Control A | Current version |
| Variant B | The single change |
| Primary metric | One metric only |
| Sample size | Per variant, set before launch |
| Result | Rates, lift, significance |
| Decision | Ship, keep, or retest |
Fill the sample size and decision rule before launch. Fill the result and decision after. A template only works if both halves are completed.
Frequently asked questions
What is a simple A/B testing example?
Two signup forms, same traffic, random split. Control A converts at 10.0% and variant B at 11.5%. That is a 15% relative lift, and you decide whether to ship based on your pre-set significance and minimum-lift rules.
How long should an A/B test run?
Run until you hit the sample size you calculated before launch, not for a fixed number of days. Stopping early when results look good inflates false positives.
How many users do I need for an A/B test?
It depends on your baseline rate and the minimum detectable effect you care about. Calculate it before launch with a sample size calculator rather than guessing.
Can I test more than one change at a time?
You can, but only with a multivariate design and enough traffic to isolate each factor. For most teams, one variable per test is the reliable choice.
What if my A/B test is inconclusive?
Keep the control and log the result. An inconclusive test means either the change did not matter or the sample was too small, so the next step is a larger test or a different hypothesis.