Admissions open Take the eligibility test & see if you can join the next batch. Take the test →
Decoding the Jargon

A/B test

Also called Split test, A/B/n test

Performance marketingDecision termCalculator

An experiment where you show two versions of something, such as a page, ad or email, to randomly split groups and compare which performs better on one measure.

Formula

Rough sample size per version (80% power, 5% significance): n ≈ 16 × p × (1 − p) ÷ δ², where p is the current conversion rate and δ is the change you want to detect. This is an approximation.

Example

Meera's product page converts at 2% and she wants to detect a rise to 2.5%. Using the approximation, she needs about 16 × 0.02 × 0.98 ÷ 0.005² = 12,544 sessions on each version, 25,088 in all.

How you'll hear it

“Version B is ahead after a week, but we're nowhere near sample size, so we keep it running.”

What it helps you decide

Which version to keep, based on evidence rather than opinion, and how long a test must run before you can trust it.

Where people misread it

People stop the test as soon as one version looks ahead. With small numbers, early leads are often chance, and checking every day and stopping at the first good result makes false winners much more likely.

The story

Meera tests a new product page. Version B adds size-fit photos on real customers. After one week, B looks like a clear winner.

After one week
Version A: 30 orders from 1,500 sessions2.0%
Version B: 42 orders from 1,500 sessions2.8%

A 40% improvement. She is ready to switch. But a standard two-proportion test on these numbers gives a p-value of about 0.15. A gap this size turns up by chance roughly one time in seven when there is no real difference.

Before starting, she should have worked out the sample she needs. Her page converts at 2%, and she wants to detect a rise to 2.5%.

Sample size, using the approximation n ≈ 16 × p(1 − p) ÷ δ²
Current conversion rate, p2%
Change to detect, δ0.5 points
Sessions per version12,544
Total sessions25,088
Sessions per month on her product pages12,000
Time to runabout 2.1 months

One week gave her 3,000 sessions, about an eighth of what she needs. She leaves the test running until both versions reach the planned sample, then decides once.

All figures are illustrative. The 16 × p(1 − p) ÷ δ² rule is an approximation; use a proper calculator for real tests.

How many sessions your A/B test needs

The example's numbers are filled in. Replace them with yours.

Sessions needed per version (approx.)
12,544
Total sessions needed
25,088
Months to run at your traffic
2.09

Decide the sample size before you start, and do not stop early because one version looks ahead.

Uses the common approximation n ≈ 16 × p(1 − p) ÷ δ² for 80% power and 5% significance, two versions, equal split.

Don't confuse it with

  • Lift test / holdout: compares ads against no ads; an A/B test compares two versions against each other.
  • Multivariate test: tests several elements at once.

Related terms

Want to use this at work? AI-led PPC Excellence is aFactor's 16-week program for paid ads.

Sources

  1. A/B testing, Optimizely Optimization Glossary
  2. How Not To Run an A/B Test, Evan Miller, 2010
  3. Sample Size Calculator, Evan Miller

Checked 1 October 2026. Examples use a fictional business; figures are illustrative.

Send this to someone

Knowing the words is the start. Using them well is the job.

The role-fit test shows how your judgment lines up with the role you hold or the one you want next.

Take the role-fit test →