Sub topic 11
Testing Subject Lines Properly
This chapter assumes you have sent campaigns from an email platform, know what an open rate is, and have read the earlier chapters on subject lines and preview text. You do not need statistics training. The chapter introduces the few ideas you need.
A subject line test is an experiment. You send two versions to similar people and compare the results. Many teams run these tests and still learn nothing, because the setup was sloppy or the result was noise. This chapter covers how to design a test that can answer a question, and how to avoid reading too much into the numbers.
What a subject line test can and cannot tell you
A test answers a narrow question: "For this audience, at this moment, did version A or version B get a better response?" It does not tell you why, and it does not prove the result will hold for next month's campaign.
Run tests for two reasons:
- To make a decision, such as choosing which line goes to the rest of the list.
- To learn something you can reuse, such as whether specific numbers in subject lines beat questions for your readers.
Tests aimed at learning are usually worth more. A winning line helps one send. A learned pattern helps every later send.
Test one variable at a time
If A and B differ in several ways, you cannot tell which difference caused the result. Change one thing in the subject line and hold everything else constant: sender name, preview text, send time and audience segment.
Test: one variable, two versions, random equal split
A: Your cart is saved for 24 hours
B: Still thinking it over? Your cart is saved
Hold constant: sender name, preview text, send time, audience segment
Decide in advance: success metric and minimum sample sizeThe two versions above differ in framing. A states a fact, and B opens with a question. The test therefore compares those two framings. If B had also added an emoji and changed the preview text, a win would teach you nothing specific.
Good single variables to test include:
- Specific number versus no number
- Question versus statement
- Short versus long (see the earlier length chapter)
- Benefit-led versus topic-led wording
- Personalized versus not personalized
- Urgency wording versus neutral wording
Decide the rules before you send
Choose three things before the test starts. If you choose them afterward, you will be tempted to pick whatever makes the result look good.
- Hypothesis. One sentence, such as "A question in the subject line will raise clicks among lapsed customers."
- Success metric. The number that decides the winner.
- Sample size and duration. How many people receive each version and how long you wait before reading results.
Choose a metric that survives privacy features
Open rate is the obvious metric, but it is weak. Some mail apps, notably Apple Mail with Mail Privacy Protection, load images automatically in the background. Your platform records that as an open even if the person never saw the email. These automated opens occur in both arms of your test. They add noise that shrinks the real difference between A and B, and they can make an ineffective line look as good as an effective one.
A better approach depends on the goal:
| Goal | Better metric | Why |
|---|---|---|
| Sell a product | Purchases or revenue per recipient | Measures what you want, not a proxy |
| Drive traffic | Unique click rate per delivered email | A click needs a human action |
| Grow readership | Click-to-open rate on a trusted segment, plus clicks | Opens alone are unreliable |
| Quick directional read | Open rate among non-Apple clients | Filters much of the automated noise |
If your platform lets you segment by mail client or flags machine opens, use that. If it does not, treat open rate as a rough signal and confirm with clicks.
Get the sample size right
Small tests produce random winners. With 200 recipients per version, a gap of several percentage points can easily come from chance. The smaller the difference you want to detect, the more people you need.
A rough rule of thumb (Lehr's formula) for 80% power and a 5% significance level is:
people per version ≈ 16 × p × (1 − p) ÷ d²
p = your baseline open (or click) rate, d = the smallest lift you care aboutFor a baseline of 21% and a target lift of 2 percentage points (0.02):
- 16 × 0.21 × 0.79 ÷ 0.0004 is about 6,600 people per version.
So detecting a 2-point lift needs about 13,000 recipients in total. If your list is 3,000 people, you can only detect large effects. That is fine, but do not announce a winner for small gaps.
Split randomly and keep conditions equal
Assign recipients to versions at random. Do not split alphabetically, by signup date or by region, because those groups may behave differently for reasons unrelated to your subject line. Most platforms handle the random split for you. Check that the groups are equal in size.
Send both versions at the same time. If A goes out at 8 am and B at 2 pm, you are testing send time as well.
flowchart TDReplace the above with the diagram below.
Wait long enough before choosing a winner
Many platforms offer "send the winner automatically": the test goes to a small slice of the list, and the leading version goes to everyone else after a set time. This is convenient but risky if the wait is short. Early openers are often your most engaged readers, and they may respond differently from the rest of your list. A one-hour window can crown a line that only appeals to fast responders.
Practical guidance:
- Wait at least several hours, and 24 hours when the send is not time-critical.
- For time-critical sends, such as a sale ending tonight, a short window is a compromise. Accept the extra uncertainty.
- Make the test slice large enough to meet your sample size. A 10% test slice of a 5,000-person list is only 250 people. That is too few to detect most differences.
Judge whether the difference is real
Suppose version A gets 440 opens from 2,000 recipients (22.0%) and version B gets 490 from 2,000 (24.5%). B looks 2.5 points better. Is that a real difference or luck? A two-proportion z-test gives an answer. The script below uses only the Python standard library.
from math import sqrt, erf
def two_proportion_z(opens_a, sent_a, opens_b, sent_b):
"""Return (rate_a, rate_b, z, two_sided_p_value)."""
p_a = opens_a / sent_a
p_b = opens_b / sent_b
pooled = (opens_a + opens_b) / (sent_a + sent_b)
se = sqrt(pooled * (1 - pooled) * (1 / sent_a + 1 / sent_b))
z = (p_b - p_a) / se
p_value = 2 * (1 - 0.5 * (1 + erf(abs(z) / sqrt(2))))
return p_a, p_b, z, p_value
rate_a, rate_b, z, p = two_proportion_z(440, 2000, 490, 2000)
print(f"A: {rate_a:.1%} B: {rate_b:.1%} z = {z:.2f} p = {p:.3f}")The output is A: 22.0% B: 24.5% z = 1.87 p = 0.061.
The p-value is the probability of seeing a gap this large if the two lines were truly equal. A common threshold is 0.05. Here p is 0.061, so the result is not conclusive at that level. B is probably a bit better, but you cannot be confident. This is a normal outcome. Do not round it up to "B wins."
Common mistakes
- Testing many variants at once. Each extra version is another chance for a random winner. With five versions, one will often look best by luck. Stick to two, or use a larger audience and a stricter threshold.
- Peeking and stopping early. Checking results repeatedly and stopping when one version leads inflates false positives. Set the window in advance and read the result once.
- Declaring a universal rule from one test. "Questions beat statements" is a claim about one list on one day. Repeat the test across several sends before treating it as a pattern.
- Winning on a misleading line. A subject line that overpromises can win on opens and lose on clicks, complaints and unsubscribes. Check those numbers too, as the honesty chapter explains.
- Ignoring novelty. A new format, such as an emoji, can win at first because it is unusual. The effect may fade as readers get used to it. Retest later.
- Changing the audience between tests. Comparing last month's test on new subscribers to this month's on long-term customers tells you little.
Keep a testing log
A result you do not record is a result you will repeat. Keep a simple table with one row per test:
| Date | Segment | Variable | A | B | Metric | Result | Lesson |
|---|---|---|---|---|---|---|---|
| 2026-03-04 | Lapsed customers | Question vs statement | Your cart is saved for 24 hours | Still thinking it over? Your cart is saved | Click rate | B +0.8 pt, p = 0.12 | Inconclusive. Retest with larger sample |
Include inconclusive tests. They tell you which differences are too small to matter, which saves you from testing them again.
Exercise
Your list has 4,000 subscribers. You send subject line A to 200 people and subject line B to 200 people, wait one hour, and B has a 3-point higher open rate. Your platform automatically sends B to the remaining 3,600. Name three problems with this setup and say how you would fix each.
Show answer
(1) The sample is too small. With 200 per version, a 3-point gap is well within random variation, so B may not be better. Fix: use a larger share of the list, or accept that only large effects are detectable and run the same test on several sends. (2) The one-hour window favors fast openers, who may not represent the whole list. Fix: wait several hours, ideally 24, if the send is not urgent. (3) Open rate is distorted by automated opens from privacy features such as Apple Mail Privacy Protection. Fix: use clicks or conversions as the success metric, or at least check them alongside opens. A fourth acceptable point is that nothing was decided in advance about the metric or the significance threshold, so the result cannot be judged objectively.
Exercise
A test of 3,000 recipients per version gives 600 opens for A and 650 opens for B. Without running code, is it safe to call B the winner? What would you check first?
Show answer
Not yet. A is 20.0% and B is about 21.7%, a gap of about 1.7 points. At this sample size, a gap that small is close to what chance alone can produce, so it needs a significance check. Run a two-proportion test, which gives roughly z = 1.62 and p ≈ 0.10, not below 0.05. Then check clicks or conversions, since opens include automated opens, and treat the result as inconclusive unless those agree.