Enter your current rate and the smallest change worth finding. Get the visitors each version needs, the cost and the days. Then check a finished test and see why peeking misleads. Nothing is uploaded.
Everything runs inside this tab. Nothing you type is sent anywhere, and the page is blocked from making network requests.
1. Plan the test
Find out how many people each version needs, what it costs and how long it takes, before you spend anything.
The trade-off
The smaller the change you want to find, the more traffic you need. Same settings as above.
Sample size for different changes
Change to find
New rate
Per version
In total
Cost
Days
How the number is worked out
For two groups of the same size, with the current rate p1 and the rate you hope for p2, and pbar = (p1 + p2) / 2:
n per version = ( z(conf) x sqrt(2 x pbar x (1 - pbar)) + z(power) x sqrt(p1(1 - p1) + p2(1 - p2)) )^2 / (p2 - p1)^2
z(conf) is the two-sided normal value for your confidence (1.96 for 95%), and z(power) is the normal value for your power (0.84 for 80%). With several versions and the adjustment on, the tool divides the 5% error allowance by the number of comparisons with the original (the Bonferroni method).
2. Read the result
When the test has run to the size you planned, enter what happened. The first row is the original. Uses the confidence chosen above.
Test results to enter
Version
Visitors
Conversions
Remove
Test results
3. Why not check every day?
If you look at a test every day and stop when it first reads as a winner, you will call winners that are not real. This runs 2,000 tests where both versions are identical and shows how often that happens.
It uses the current rate above and 2,000 visitors per version, with the looks spaced evenly.
What Ad Test Planner does
Most ad tests end with someone looking at two numbers and picking the bigger one. Ad Test Planner helps with the two steps people skip. Before the test, it tells you how much traffic you need, what that costs and how long it takes. After the test, it tells you whether the difference is bigger than luck would usually produce, and how large the difference could really be.
Before the test
Enter the current rate: the click-through rate of the ad you run now, or the conversion rate of the page.
Enter the smallest change that would matter to you, as a percentage of the current rate or as percentage points. If a 5% improvement would not change what you do, do not plan for one.
Enter the number of versions, including the original, your cost per click (or per 1,000 impressions) and your daily budget.
The tool gives the number of people each version needs, the total, the cost and the days. The trade-off table below it shows how fast the need grows as the change you want to find gets smaller. Halving the change roughly quadruples the traffic.
Confidence and power
Confidence (95% by default) controls false alarms. If the versions were identical, you would see a difference this large by luck about 5% of the time.
Power (80% by default) controls misses. If the real difference is the size you entered, you would see it about 80% of the time. The other 20% of the time the test comes back unclear even though the difference is real.
Several versions
Each extra version is another chance for luck to produce a winner. With the adjustment on, the tool uses the Bonferroni method: the error allowance is divided by the number of comparisons with the original. It is simple and cautious. It makes the test need more traffic, and it is the reason a three-way test costs more than 1.5 times a two-way test.
After the test
Enter visitors and conversions for each version. The first row is the original. For each other version the tool shows:
the rate, with a range that the true rate probably lies in (the Wilson score range);
the change compared with the original, as a percentage of the original and as a difference in percentage points;
a range for that difference (the Newcombe hybrid score range). If it includes 0, the test cannot rule out no difference;
a p-value from the pooled two-proportion z-test. It is the chance of seeing a difference this large if the versions were really identical. It is not the chance that the version is better;
a result: likely better, likely worse, or not clear.
Not clear does not mean there is no difference. The tool also says the smallest change a test of your size could reliably have found, so you can see whether the test was ever able to answer your question.
Why not check every day?
If you stop at the first day the result looks significant, your false alarm rate is far above 5%. The simulation in part 3 runs 2,000 tests where both versions are identical. With five looks and a stop at the first win, about one test in seven is wrongly called a winner. That matches the published result for five repeated looks at the 5% level, which is 14.2%. Decide the size first, run to it, and read the result once. Methods for stopping early safely exist, but they need different maths and are not part of this tool.
How the maths was checked
The normal distribution functions were written from first principles and compared with scipy.
The sample size was compared with the same formula in scipy, and with the arcsine method in statsmodels. The two agree to within 0.5%.
The p-values, Wilson ranges and Newcombe ranges were compared with statsmodels on five cases, including a case with no conversions in one group.
A simulation of 12,000 tests at the planned size gave power near 80% and a false positive rate near 5%.
The reference script and its output are in the project (reference.py and reference.json), so you can rerun them.
Limits of this tool
It compares rates (clicks per impression, conversions per click). It does not compare revenue per visitor or other averages.
It assumes the groups are the same size and the people in them are separate. Ad platforms that shift budget between versions while the test runs break that. Use an even split where the platform offers one.
It does not know about your account. Learning phases, delivery differences and audience overlap can all affect a real test.
The days figure is the cost divided by your daily budget. It does not know whether you can actually spend that much in a day at that cost.
It uses the normal approximation. It warns when a group has fewer than 10 conversions or non-conversions.
Privacy
Everything is calculated in the page. Nothing is uploaded, the page has no analytics, and a Content-Security-Policy blocks network requests from its scripts. The Chrome extension version requests no permissions.
Frequently asked questions
Is Ad Test Planner free?
Yes. It is free and open source under the MIT licence, with no account, no limit and no watermark.
Does my data leave my browser?
No. All the calculation happens in the page. A Content-Security-Policy blocks network requests from the page's scripts, and the Chrome extension version asks for no permissions.
Why does it say I need so much traffic?
Telling a small difference from luck takes a lot of data. At a 3% rate, finding a 20% relative improvement (3.0% to 3.6%) needs about 13,900 visitors for each version. Finding a 10% improvement needs about four times as many. The trade-off table shows this.
What do confidence and power mean?
Confidence of 95% means that if the two versions were identical, you would wrongly see a difference about 5% of the time. Power of 80% means that if the real difference is the size you entered, you would see it about 80% of the time.
Why not stop the test as soon as it looks like a winner?
Because the result moves around early. If you look every day and stop at the first p-value under 0.05, far more than 5% of tests with no real difference will look like winners. Part 3 of the tool shows this with a simulation. Decide the size first, then read the result once.
How was the maths checked?
The sample size matches the standard two-proportion formula as coded in scipy, and is within 0.5% of statsmodels' arcsine method. The p-values and ranges match statsmodels. A simulation of 12,000 tests gave about 80% power and a 5% false positive rate at the planned size. Each of these is a test you can run in the project.
I am Bhavesh, a motion designer and short-form video editor in Rajkot, India. I make SaaS explainers, product animation and short-form ads for founders and brands.