M10.L4 · Analytics & Experiments
Conversion maths, A/B tests & statistical significance
What you'll be able to doCalculate conversion rates and required sample sizes for an A/B test, and evaluate — before running it — whether a proposed test can reach significance at your traffic level.
Learn
The cheapest fraud detector you will ever own
Most "our new page won!" stories are noise read as signal. This lesson's maths — one formula and a calculator — tells you before a test starts whether it can possibly answer your question. Five minutes with it will stop you, or an agency, declaring victory after three lucky days. As in Module 1: a rough number beats no number, and here the rough number is spectacularly cheap to get.
First, the ground rule of conversion arithmetic. A conversion rate is conversions ÷ eligible visitors, and it means nothing until you name all three parts: numerator, denominator, time window. Ostara: 91 orders ÷ 6,500 sessions in a typical month = 1.4%. Change any part — orders per user instead of session, a peak month instead of a typical one — and you get a different, equally true number. Most conversion-rate arguments are two people using different denominators.
Why small numbers wobble
Here is the uncomfortable core of the lesson. Suppose a page truly converts at 3%. Show it to 100 people and you expect 3 conversions — but 1 or 6 would be entirely unremarkable, the way 10 coin flips often produce 7 heads. Small samples wobble, and the wobble is routinely bigger than the improvement you're trying to detect. An A/B test is a machine for collecting enough evidence that the wobble can no longer explain the difference. The question is how much is enough — and the answer is almost always "far more than you hoped".
Four terms make the machine work:
- Minimum detectable effect (MDE): the smallest improvement you care about, e.g. +20% relative (3.0% → 3.6%). Halving the MDE roughly quadruples the traffic needed — this is the lever that decides everything.
- Significance (α = 0.05): the convention that you'll accept a result only if there's under a 5% chance of seeing a gap this large when none exists. A noise filter, not proof of importance.
- Power (80%): the probability the test detects a real effect of MDE size. Underpowered tests mostly return false "no difference" — the quiet failure nobody notices.
- Sample size: computed from the three numbers above, before the test starts. Never decided by impatience afterwards.
The worked example — every line shown
How many visitors to detect 3.0% → 3.6% at α = 0.05 and 80% power? The standard two-proportion formula, per arm:
n = (z_α/2 + z_β)² × [p₁(1−p₁) + p₂(1−p₂)] ÷ (p₂ − p₁)²
z_α/2 = 1.96 (95% significance) z_β = 0.84 (80% power)
p₁ = 0.030 → p₁(1−p₁) = 0.0291
p₂ = 0.036 → p₂(1−p₂) = 0.0347
(p₂ − p₁)² = 0.006² = 0.000036
n = (1.96 + 0.84)² × (0.0291 + 0.0347) ÷ 0.000036
= 7.85 × 0.0638 ÷ 0.000036
≈ 13,900 visitors per arm → ≈ 27,800 in total
Call it roughly 13,000–14,000 per arm — online calculators land across that range depending on the approximation, and the difference never changes a decision. You will never do this by hand again; you will recognise when someone hasn't done it at all.
Now watch the MDE lever move:
| To detect (from 3.0%) | Per arm | Total |
|---|---|---|
| +10% relative (→ 3.3%) | ~53,200 | ~106,400 |
| +20% relative (→ 3.6%) | ~13,900 | ~27,800 |
| +50% relative (→ 4.5%) | ~2,500 | ~5,000 |
| +100% relative (→ 6.0%) | ~750 | ~1,500 |
Subtle improvements are astronomically expensive to prove. Big swings are cheap. Hold that thought.
Now apply your own traffic
Divide the total by monthly eligible visitors and the verdict falls out:
- Ostara — 6,500 sessions/month sitewide: 27,800 ÷ 6,500 ≈ 4.3 months, and that's the best case where every session enters the test; a single page sees a fraction of that. At the sitewide 1.4% baseline the same +20% test needs ~30,400 per arm — over nine months.
- Herzog — ~800 visitors/month: 27,800 ÷ 800 ≈ 35 months. Nearly three years to test one button.
- Storkflow's landing page — ~118 visitors a fortnight: about ten years.
This is not a defect in the cast. It is the honest arithmetic of most small businesses, and it leads to the canonical verdict Tomas records: Herzog does not A/B test. Not because testing is bad — because at his scale the method physically cannot answer within a useful lifetime. Knowing when a method doesn't fit is statistical literacy; forcing it anyway is cargo cult.
Don't call it early — the whole point
Here is a test replayed as a simulation — no cast business has the traffic to have run it, which you now know how to check. Pre-computed sample: 13,900 per arm.
Day 5 — 900 visitors per arm. A: 24 conversions (2.7%). B: 42 (4.7%). The dashboard glows: B up 75%, p = 0.02, significant! The agency wants to ship it.
The class checks: 900 of 13,900 is 6% of the committed sample. They wait.
At full sample — A: 417 of 13,900 (3.0%). B: 446 (3.2%). Lift +7%, p ≈ 0.32. Not significant.
What happened on day 5 was not evidence; it was peeking. Check a running test daily and stop at the first p < 0.05, and you multiply your false-positive rate several times over — you are giving noise thousands of chances to cross the line once. Notice also the tell you can spot without any maths: at small samples, only huge lifts can look significant. A real +75% would mean your original page was a catastrophe; dramatic early winners are almost always noise wearing a medal.
The discipline, fixed before launch: compute the sample, run whole weeks (weekday and weekend visitors differ), read the result once. The early call here would have booked a fictional +75% into next year's forecast; the honest final reading says "if B is better at all, it's by less than our +20% MDE — ship it for qualitative reasons or move on." A non-significant test is not a failed test. It taught you the effect's ceiling.
And keep practical significance in view: with enough traffic a +0.4% lift can be statistically real yet not worth its maintenance; without enough, a real +15% can hide. Significance filters noise. Judgement still decides value.
What to do instead — Plan B is not a consolation prize
If the calculator says months, do what the cast does:
- Make bigger swings. Don't test button colours; change the offer, the headline promise, the entire page — the +100% row of the table costs 750 per arm. Big changes are the only testable ones at small scale.
- Before/after with guard metrics. Ship the change, compare whole months, watch a counter-metric (lead quality, refund rate) — Tomas's method, and the M1.L6 hypothesis format you already write: I believe X because Y; I'll watch Z for four weeks.
- Qualitative evidence. Five user recordings or five customer conversations will find the broken thing faster than 27,800 visitors will prove it — M2 methods never stop paying.
- Sequential judgement. Decide, observe honestly, keep what earns its keep. That is what Module 1 called hypothesis discipline; it's also what your funnel baseline was for — this module's measured numbers versus that page is the before/after test you've been running all along.
Do
Exercise 10.4.1 — Design a test, or prove you shouldn't
Design one A/B test for your project — or prove you shouldn't run one. Use any online sample-size calculator. If your traffic makes the test longer than 8 weeks, switch to Plan B: state the non-test method you'll use to decide instead.
Write these down — in your plan document, or on the worksheet at the end of this lesson.
| What to write | Guidance |
|---|---|
| Your hypothesis | One structured sentence: "Because [evidence], changing [element] to [variant] will increase [metric] by at least [MDE]%." All four slots filled; the evidence must cite an M2/M4 artefact, not a hunch |
| Your baseline conversion rate | As a percentage — and flag it as an estimate if it is one, as in M1.L6 |
| Your monthly traffic | Eligible visitors who would actually see the tested element — not sitewide sessions, unless it's sitewide |
| Your MDE | The smallest relative lift you care about, in %. Under 20% is a big-company luxury; check the table before you commit |
| Sample size per arm | Compute it with an online calculator at α = 0.05, power 80%, from your baseline and MDE |
| Test duration | (2 × sample per arm) ÷ monthly traffic × 4.33 weeks. If it comes out over 8 weeks, Plan B is your answer |
| Your stopping rule | The default is the only good one: "fixed sample, whole weeks, read once". Anything else is peeking with paperwork |
| Plan B (if duration > 8 weeks) | 40–120 words: bigger swing + before/after with guard metrics, user testing, sequential judgement — and name what evidence will trigger which decision |
Choosing Plan B is not a failure. For most students it is the correct answer — the whole lesson exists to let you say so with the arithmetic behind you.
Where this goes: Measurement §4 — Experimentation — of your Marketing Plan. The design (or Plan B) feeds the Module 10 Project.
Check
Rubric
Mark your own work against these criteria.
| Criterion | 8–10 | 5–7 | 1–4 |
|---|---|---|---|
| Evidence-based hypothesis | Cites a real M2/M4 artefact and a mechanism | Plausible but evidence is thin | "I think the page could be better" |
| MDE realism | MDE matches the size of the change (big change, big MDE) | MDE defensible but optimistic | +5% MDE on 900 visitors/month |
| Stopping discipline | Fixed sample, whole weeks, read once | Rule stated but escape hatches remain | Peeking implied or embraced |
| Plan B decision-capable | Names evidence, threshold and resulting decision | Method named, decision vague | "We'll use intuition" |
Pass: 5+ on every criterion. Distinction: 8+ on all four.
Quiz — 4 questions
1. A test needs 13,900 visitors per arm. On day 5 (900 per arm) the dashboard shows variant B winning, p = 0.02. What should you do?
- a) Ship B — it's significant
- b) Keep running to the pre-committed sample size, then read the result once ✔
- c) Restart the test from zero
- d) Double the MDE mid-test so the current sample suffices
Why: stopping at the first p < 0.05 while peeking daily multiplies false positives — noise gets thousands of chances to cross the line once. The sample size was the promise; day 5 is 6% of it. (d) is the same sin with paperwork.
2. Herzog Physio gets ~800 visitors/month. A +20% MDE test on a 3% baseline needs ~27,800 visitors in total. The best course is:
- a) Run the test for three years
- b) Lower the significance threshold until it fits
- c) Skip A/B testing; make substantial improvements and judge before/after with guard metrics ✔
- d) Buy traffic purely to feed the test
Why: at 35 months the method cannot answer inside a useful lifetime. Big obviously-better changes, compared month on month with lead quality watched, is the honest instrument at this scale — and it's the canonical Herzog decision.
3. Ostara records 91 orders from 6,500 sessions in a typical month. Its conversion rate, stated properly, is:
- a) 7.1% of sessions
- b) 1.4% — 91 orders ÷ 6,500 sessions, per typical month ✔
- c) 1.4% of pageviews
- d) 91 ÷ 2,300 = 4.0%
Why: 91 ÷ 6,500 = 0.014 = 1.4%, and the statement needs all three parts — numerator, denominator, window. (c) quietly swaps the denominator; (d) divides by the email list. Most conversion-rate arguments are denominator arguments in disguise.
4. A team halves its MDE from +20% to +10% relative "to catch smaller wins". Roughly what happens to the required sample?
- a) It halves
- b) It doubles
- c) It roughly quadruples — from ~13,900 to ~53,200 per arm on a 3% baseline ✔
- d) It stays the same; only the duration changes
Why: required sample scales with the inverse square of the effect size. Halve the effect you're hunting and you need about four times the evidence — the single most decision-relevant fact in testing.
Advance
Four of five. You can now price a question before paying for it — and you know that at your scale, judgement over months often beats significance you can't afford.
Next: M10.L5 — Reporting upwards. You have KPIs, tracking, attribution and a testing discipline. The last lesson is making all of it legible to the person who approves your budget — in one page, leading with the number they care about. Its exercise completes the Module 10 Project.
Mark your own work
| Good | Not yet | |
|---|---|---|
| Named the three parts | Numerator, denominator, window on every rate | "Our conversion rate is 3%" unanchored |
| Sample computed first | Per-arm number written before launch | "We'll see how it looks in a week" |
| Duration honest | Used eligible page traffic, not sitewide | Divided by your best month's sessions |
| Plan B is a plan | Evidence → threshold → decision | "Test later when traffic grows" with no path |
Worksheet
THE SCHOOL OF NET MARKETING
Lesson 10.4 — Can I even run this test?
MY NUMBERS
Baseline conversion rate ______ % (numerator ÷
denominator, window: __________________ ) ☐ estimate
Eligible visitors/month ________
Smallest lift I care about (MDE) +______ % relative
SAMPLE NEEDED (α = 0.05, power 80%, 3% baseline shown)
detect +10% → ~53,200 per arm ~106,400 total
detect +20% → ~13,900 per arm ~27,800 total
detect +50% → ~2,500 per arm ~5,000 total
detect +100% → ~750 per arm ~1,500 total
(use the online calculator for your own baseline)
MY VERDICT
total needed ÷ my monthly eligible visitors
= ________ months.
☐ ≤ 2 months → design the test
☐ > 2 months → PLAN B, honestly
THE DISCIPLINE (tick before launch, not after)
☐ Sample size computed and written down first
☐ Whole weeks only
☐ Read once, at the committed sample
☐ No peeking. A day-5 winner is noise wearing a medal.
PLAN B (if the maths said no)
Bigger swing I could make instead: __________________
Before/after window: ________ Guard metric: ________
Decision rule: if ____________ then ________________
Next: Lesson 10.5 — Reporting upwards.
theschoolofnetmarketing.com/learn/reporting-upwards