A holdout test can fail before it starts if the holdout group is too small. The result comes back as no significant difference, and the team concludes that advertising did nothing, when the test never had the power to see an effect.
Sizing the holdout correctly takes ten minutes and prevents weeks of wasted spend.
The four inputs
- Baseline rate. The conversion rate in the group that is not exposed to the campaign.
- Minimum detectable lift. The smallest relative improvement worth detecting, for example 10 percent.
- Significance level. Usually 0.05.
- Power. The probability of detecting a true effect, usually 0.8.
The smaller the lift you want to detect, the larger the groups you need. That relationship is steep: halving the detectable lift roughly quadruples the sample.
A worked example
Assume a baseline conversion rate of 2 percent and a minimum detectable lift of 10 percent, which means detecting a move from 2.0 to 2.2 percent. With equal group sizes, 5 percent significance and 80 percent power, the test needs about 80,600 people in each group.
Other lift targets change the answer sharply:
- 5 percent lift: about 315,000 per group.
- 10 percent lift: about 80,600 per group.
- 20 percent lift: about 21,100 per group.
The calculation in code
from math import asin, sqrt
from statistics import NormalDist
def holdout_size(base_rate, rel_lift, alpha=0.05, power=0.8, exposed_per_holdout=1.0):
z = NormalDist().inv_cdf
h = 2 * asin(sqrt(base_rate * (1 + rel_lift))) - 2 * asin(sqrt(base_rate))
n_equal = 2 * ((z(1 - alpha / 2) + z(power)) / h) ** 2
holdout = n_equal * (1 + 1 / exposed_per_holdout) / 2
return round(holdout), round(holdout * exposed_per_holdout)
print(holdout_size(0.02, 0.10)) # equal split
print(holdout_size(0.02, 0.10, exposed_per_holdout=9)) # 10% holdout
The first call returns about 80,600 people for each group. The second shows what a 10 percent holdout costs: roughly 44,800 people in the holdout and 403,200 exposed, so the audience must be about 448,000 before the test can detect a 10 percent lift.
Power is a promise, not a guarantee
An 80 percent power setting means the test will miss a real effect of the target size about one time in five. For a decision worth a large budget, raise power to 90 percent and accept a larger sample. For a cheap, repeatable test, 80 percent is a reasonable default.
What to do when the audience is too small
- Accept a bigger minimum lift. If only large effects are detectable, say so before the test and treat a null result as inconclusive.
- Run longer. More weeks add conversions, but only if the audience stays comparable.
- Use a higher-volume outcome. Add-to-cart events give more data than purchases, though they link less directly to revenue.
- Switch design. A geo test or a platform conversion lift study may fit better when user-level groups are small.
Why unequal splits cost more
Holding back only 10 percent of an audience protects revenue, because 90 percent still sees the campaign. The price is a larger total audience. Every step toward a smaller holdout raises the people required in total, so the trade is between lost sales in the holdout and the time needed to reach a readable result. Quantify both before choosing the split.
Common mistakes
- Sizing for conversions among all users when the campaign reaches only a segment.
- Ignoring that the holdout must stay unexposed for the entire test.
- Peeking at results daily and stopping when they look good, which inflates false positives.
- Treating "not significant" as "no effect".
Decide the sample before the launch, write down the lift you can detect, and share the number with whoever will read the result. A holdout that was sized properly gives an answer you can use, even when the answer is that the campaign did less than hoped.
Want a stronger data analyst role or a raise? Grab the FREE Product Analyst Playbook and get the exact roadmap to your next offer.
