Toolvito

Works on this device

Ad Creative Test Planner

Plan a test of two or more ad creatives. Find how many impressions or visitors each creative needs to show a change of the size you choose, and how many days that takes. When the test is over, read the result: which variant is better than the control, with a p-value and a confidence interval.

Enter your values

How many impressions or visitors each creative needs to find a change of a chosen size, and how many days that takes.

Your values

The click-through or conversion rate that the current creative has, from your own reports.

The smallest real difference that the test should find. A smaller change needs a larger sample.

The chance of calling a difference real when there is none. 5% is a common choice, not a rule.

The chance of finding the smallest change when it is real. 80% is a common choice, not a rule.

Each variant is compared with the control. With more comparisons, a correction keeps the chance of a false winner at α.

Your own expected daily traffic for the test.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use the ad creative test planner

  1. Choose Plan a test: sample size and days. Type the rate of the current creative (the control), such as a CTR of 2%.
  2. Type the smallest change you want to find, as a percent of the baseline (20% turns 2% into 2.4%) or in percentage points.
  3. Type the number of creatives with the control, the significance level, the power and your daily traffic, and choose Calculate.
  4. When the test has run, choose Read the result of a test and type the impressions or visitors and the clicks or conversions of each creative, the control first.

The formulas

  • Sample size for each creative (two-proportion z-test, normal approximation): n = (z_a √(2 p̄ (1 − p̄)) + z_b √(p1 (1 − p1) + p2 (1 − p2)))² ÷ (p2 − p1)², with p̄ = (p1 + p2) ÷ 2, rounded up.
  • z_a is the standard normal quantile at 1 − α′ ÷ 2 for a two-sided test (1 − α′ for one-sided); z_b is the quantile at the power.
  • α′ is α, or α ÷ (creatives − 1) with the Bonferroni correction, because each variant is compared with the control.
  • Days = sample size × creatives ÷ traffic for each day, rounded up. The traffic is split equally.
  • Result: z = (p2 − p1) ÷ √(p (1 − p) (1 ÷ n1 + 1 ÷ n2)), where p is the rate of both creatives together; the p-value comes from the standard normal distribution. The confidence interval of the difference uses p2 − p1 ± z × √(p1 (1 − p1) ÷ n1 + p2 (1 − p2) ÷ n2).

Worked example

The control has a CTR of 2%. You want to find a change of 20% (to 2.4%) with 3 creatives, α = 5% two-sided with the Bonferroni correction (2.5% for each of the 2 comparisons) and a power of 80%. Then z_a = 2.2414 and z_b = 0.8416, and each creative needs 25,563 impressions: 76,689 in all. At 5,000 impressions a day that is 16 days.

Result: the control has 500 clicks in 25,000 impressions (2.00%), variant B 585 (2.34%) and variant C 520 (2.08%). For B, z = 2.609 and p = 0.0091, below 2.5%, so B is better than the control; the 97.5% interval of the difference is 0.048 to 0.632 percentage points. For C, z = 0.633 and p = 0.527: no clear difference.

Before you start

  • Decide the sample size before the test, and read the result at the end. Looking every day and stopping at the first small p-value makes a false winner much more likely.
  • Show the creatives at the same time, to the same audience, with an equal share of the traffic. An ad platform that moves traffic to the creative that leads is not an equal split.
  • Count the same thing for every creative: impressions and clicks for a CTR, or visitors and conversions for a conversion rate. To work out one rate on its own, use the CTR Calculator or the Conversion Rate Calculator.

Limits you should know

  • The formulas use the normal approximation. It is weak when a creative has fewer than about 5 results or 5 non-results; the result then says so.
  • Each impression or visitor is taken as independent. Several impressions of one person, and changes over the days of the week, are not modelled.
  • α, power and the change to detect are your own choices; 5% and 80% are common choices, not rules. This tool holds no benchmark rates.
  • The result is statistics on your numbers. It is not advice about which creative to use.

Related tools