A/B Test Calculator for Email: Plan First, Then Read
An email A/B test needs its size fixed before you send. At a 2.5% click rate, finding a lift to 3.0% at 95% confidence and 80% power takes 16,792 delivered emails per version. Plan the test here from your click rate and daily send volume, then read the result with its confidence interval and one plain verdict. Free, no sign-up, your numbers stay in your browser.
The calculator needs JavaScript. The method and its formulas are below.
How the Calculator Tests Significance
It runs a two-proportion z-test, the large-sample test for comparing two rates in NIST’s e-Handbook of Statistical Methods: two-sided, and with a sample size you fix before the test, a fixed-horizon test. Take 425 unique clicks from 17,000 delivered emails in version A and 510 from 17,000 in version B.
The interval for B minus A uses each version’s own rate for its spread, the Wald interval as SAS documents it for a difference of two proportions: √(0.025 × 0.975 ÷ 17,000 + 0.030 × 0.970 ÷ 17,000) is 0.177 points here too, and +0.50 ± 1.96 × 0.177 gives +0.15 to +0.85 percentage points. It leaves zero out, and the p-value of 0.0048 is below 5%: the verdict is B is higher.
The p-value is the chance of a difference at least this large, in either direction, if there were no real difference. It is not the chance that B is better.
The test in five lines
- Rates = 425 ÷ 17,000 = 2.50% and 510 ÷ 17,000 = 3.00%
- Pooled rate = 935 ÷ 34,000 = 2.75%
- Standard error, pooled = √(0.0275 × 0.9725 × (1 ÷ 17,000 + 1 ÷ 17,000)) = 0.177 points
- z = 0.50 ÷ 0.177 = 2.82
- p = 0.0048, two-sided
Sources, opened on 26 November 2026:
- NIST/SEMATECH e-Handbook of Statistical Methods, 7.3.3: comparing two proportions
- NIST/SEMATECH e-Handbook, 7.2.4: the sample size the normal approximation needs
- SAS/STAT User’s Guide, PROC FREQ: Risks and Risk Differences (Wald interval)
- SAS/STAT User’s Guide, PROC POWER: Pearson chi-square test for two proportions
How Many Emails an A/B Test Needs
Four numbers decide it: your click rate today, the smallest lift worth finding, how sure you want to be before you call a winner (confidence) and how often a real lift of that size should be found (power). At 2.50% today and a lift worth finding of 20%, to 3.00%, that is 16,792 delivered emails per version, 33,584 in all. Halve the lift to 10% and it is 64,199 per version, close to four times as many.
For an email that goes out every day, such as a welcome or nurture email, the calculator divides both versions’ emails by your daily volume: 33,584 at 2,000 a day is 17 days. A one-off newsletter has nothing to wait for. It needs 33,584 recipients in the test, which a list of 20,000 can’t give: test a bigger change, or accept that a 20% lift may go unnoticed.
For this plan, the number comes from the power formula in SAS’s PROC POWER documentation for the Pearson chi-square test of two proportions, which is the same test, and the plan says “about”. Where counting every likely result is quick, which depends on the rates as well as the size, the calculator instead counts the chance of the verdict B is higher exactly, with its own reading rules, and searches for a size that reaches the power; the plan then says “counted exactly”. Evan Miller’s sample size calculator gives 15,744 for the same inputs, because one term of his formula uses the rate today where this one uses the average of the two rates.
What moves the number
- Smaller lift = more emails as a rule; when B’s rate nears 100%, a larger lift can need more
- Rate near 0% or 100% = more emails, so each version gets 5 of each outcome
- 99% confidence = never fewer emails than 95%
- 90% power = never fewer emails than 80%
Why the Test Counts Clicks
Apple says Mail Privacy Protection “prevents senders from seeing if you’ve opened the email message they sent you.” Open counts since then include machine opens, and they land in both versions and blur the difference you are looking for. Apple also says the feature “does not extend to links”.
Clicks are the safer measure, though not a clean one: Mailchimp notes that bot activity such as Mail Privacy Protection “can falsely inflate open and click metrics.” Salesforce’s Trailhead suggests opens as the criterion for sender name and subject line tests in Account Engagement (Pardot). If you test those by opens, switch What you count to opens; the calculator then adds this warning to every reading.
- Content, links, buttons: count unique clicks
- Subject line, sender name: opens, read with care
- Sources: Apple Support, Mailchimp Help, Salesforce Trailhead
Why You Don’t Stop Early
Evan Miller’s How Not To Run an A/B Test puts it in one line: “Repeated significance testing always increases the rate of false positives.” Check a running test every day, stop the first time it looks significant, and you call far more false winners than the 5% you set.
So the calculator asks for the plan first. A reading that follows the plan with fewer delivered emails than the plan needs gets the verdict Not finished and no winner, even when it looks significant: 250 clicks of 10,000 against 300 of 10,000 has p = 0.031, and the plan for that lift needs 16,792 per version.
Fixed-horizon, in three steps
- Before = plan the emails per version
- During = send, don’t read
- After = read once, act on the verdict
What Each Verdict Means
The calculator gives one of six verdicts, always in the order below: the first whose condition holds is the one you see. A field it can’t read gets its own message instead.
| Verdict | When | What it means |
|---|---|---|
| Too little data to read | A version has 30 delivered emails or fewer, or fewer than 5 clicks, or fewer than 5 people who didn’t click. | Keep the test running. No p-value or interval is shown. |
| Not finished | Your plan needs more delivered emails per version than A or B has. | Wait until both reach the plan, then read once. No winner is named. |
| B is higher, A is higher | The p-value is below the line (5% at 95% confidence) and the interval leaves zero out. | The interval shows how large the lift may be, from its low end to its high end. |
| No difference found | The p-value is at or above the line and the interval includes zero. | Not proof that A and B are equal: a difference inside the interval can still be there. |
| On the line | The test and the interval fall on different sides of the line. | Treat it as no difference found. A new, planned test settles it, not more emails added to this one. |
The test and the interval estimate the spread slightly differently (the test from the pooled rate, the interval from the two rates apart), so right at the line they can disagree. The calculator says so instead of picking one. The rule for too little data is adapted from NIST’s e-Handbook, 7.2.4, which asks for at least 5 expected of each outcome and more than 30 for one proportion; the calculator asks for 5 counted of each outcome and more than 30 delivered emails in each version.
A/B Tests in Pardot
In Pardot, an A/B test of a list email sends version A to half of the test audience and B to the other half, and you choose how much of your list goes into the test. Pardot sends the winning email when the testing period ends, and on a tie it sends version A (Salesforce Trailhead).
Use the plan to set the test percentage, so that each half reaches the plan’s number of delivered emails. If your list is too small for that, the test can’t find a lift of that size, whichever version Pardot then sends. Testing in Engagement Studio programs or reporting on tests across campaigns takes more setup.
See Pardot ConsultingBefore a Pardot A/B test
- Criterion = clicks for content, opens for the subject line
- Test percentage = enough for the plan in each half
- Testing period = long enough for the clicks to arrive
A/B Test Calculator FAQ
Short answers to what people ask about email A/B tests.
What is statistical significance?
A result is statistically significant when its p-value is below the line you set before the test: 5% for 95% confidence. It means the difference would be unusual if A and B performed the same. It says nothing about how large the difference is or whether it matters; the confidence interval shows the size.
What is a p-value?
The chance of a difference at least as large as the one you saw, in either direction, if there were no real difference between A and B. p = 0.031 means 3.1%. It is not the chance that B is better, and 1 minus p is not the chance that the result is real.
What is the statistical power of a test?
The chance that the test finds a real difference of the size you planned for. With 80% power and the planned number of emails, a real lift of that size comes out significant in about 80 of 100 tests and is missed in the other 20. More power needs more emails.
What is a z-score and why does it matter?
The difference between the two rates divided by its standard error: how many standard errors apart A and B are. In the example on this page it is 0.50 points ÷ 0.177 points = 2.82. A z-score beyond 1.96 in either direction is significant at 95% confidence in a two-sided test.
One-sided or two-sided test, which should I use?
This calculator always tests two-sided: it asks whether B differs from A in either direction, so a B that does worse shows up too. A one-sided test only looks for B doing better. It needs fewer emails, but it can’t tell you that the change made things worse.
Can I stop the test as soon as it is significant?
No. Decide the sample size before you send and read the result once, when both versions have reached it. Evan Miller’s article “How Not To Run an A/B Test” shows that checking a running test again and again and stopping at the first significant result calls far more false winners than the 5% you set. The calculator says Not finished until your plan’s number is reached.
How many clicks do I need before I trust the result?
As many as the plan needs; no click count makes a result trustworthy on its own. Below 5 clicks or 5 non-clicks in a version, or with 30 delivered emails or fewer, the calculator doesn’t read the result at all. That rule is adapted from NIST’s rule of thumb for the normal approximation of one proportion.
Should I measure an email test by opens or clicks?
By clicks, wherever the change can move clicks. Apple’s Mail Privacy Protection “prevents senders from seeing if you’ve opened the email message they sent you”, so open counts include machine opens. Salesforce’s Trailhead suggests opens as the criterion for sender name and subject line tests in Account Engagement; if you test those by opens, read the result with that in mind.
Why does another calculator give a different sample size?
Different formulas for the same idea. For a click rate of 2.50% and a lift to 3.00% at 95% confidence and 80% power, Evan Miller’s sample size calculator gives 15,744 per version and this one 16,792. One term of his formula uses the rate today where this one uses the average of the two rates, as the test it then runs does. Both are normal approximations; neither is exact.
Is my data sent anywhere?
No. The calculator runs in your browser. Nothing you enter is stored, sent to us or written to analytics.
More Free Tools
We Make Salesforce Marketing Work for You
Talk to a certified consultant, not a salesperson, and leave the first call knowing your next step.