A/B testing
Comparing two versions with randomly split audience groups to learn which performs better on one measure chosen in advance.
By Azande PorterUpdated 3 min read
What is A/B testing?
A/B testing is a controlled experiment that randomly splits an audience into groups, shows each group a different version of one thing, and compares a single metric you chose before starting. Random assignment is the point: it makes the groups comparable, so the version is the main systematic difference between them.
You can test a subject line, a signup page headline, a thumbnail, or a call to action. Changing the headline, layout, and offer together still compares two page concepts, but it will not tell you which individual change mattered.
How do you run an A/B test?
- Write one question. "Does a headline naming the reader's job raise signups?" is testable. "Which page is better?" is not.
- Choose the primary metric. For a signup page, use completed subscriptions, which makes it a conversion rate test, not page views.
- Decide the sample size and duration before you start. Run whole weeks so the result covers a full weekly cycle of visitors.
- Split at random. Each visitor or recipient should have the same chance of seeing either version.
- Read the result once, at the planned end, with its uncertainty, and write down what you will do if it is inconclusive.
How many people do you need for an A/B test?
More than most creators expect. The required sample depends on your current rate, the smallest difference worth detecting, the significance level, and the power you want (the chance of detecting a real difference of that size).
For example, detecting a signup rate moving from 4% to 5% at a 0.05 significance level with 80% power needs roughly 6,700 visitors per version under the standard two-proportion calculation. A page with 300 visitors a week would need about 45 weeks. Small audiences can only detect large differences, which is why statistical significance matters before you name a winner.
Why shouldn't you stop an A/B test early?
Checking daily and stopping the first time one version looks significant gives chance many opportunities to cross the line, so false winners become far more common than the threshold suggests. In a paper on always valid inference, Ramesh Johari, Leo Pekelis, and David Walsh showed that standard p-values are "wholly unreliable" when people choose sample sizes by continuously monitoring their tests.
Fix the sample size in advance and look once, or use a tool built on a sequential method designed for repeated checks.
Can you A/B test social posts and newsletters?
Some things, yes. YouTube's Test & Compare lets you test up to three titles, thumbnails, or both on a video, and it shows the option with the highest watch time to all viewers once the test ends. It runs in YouTube Studio on a computer, and Shorts cannot be tested there at the time of writing.
Newsletter platforms can split a send between two versions of a subject line. Judge those tests on clicks rather than opens, because Apple Mail Privacy Protection can register opens that no person made.
Posting two versions of a social post on different days is not an A/B test. The audience, the timing, and the platform's ranking all differ, so the comparison is an observation. Read it against your account's baseline and repeat the change across several posts. The guide to reviewing social post performance shows a careful way to do that.
Platform details checked
How Distinctful helps
Distinctful compares each published post with your account's own usual results, which suits creators whose feeds cannot be randomly split. Plan one deliberate change, publish it, and read the result against that baseline as an observation rather than a test winner, then repeat the change before you rely on it. See social media analytics.
Related terms
Go deeper
Guide
High Opens, Low Clicks: What Your Newsletter Is Telling You
A worked review of newsletter opens, clicks, and reader history that separates measurement problems from questions about the content and its next step.
Guide
How to Review Social Post Performance With Claude
Analyze social media post performance with Claude by comparing similar posts, checking missing metrics, and turning one clear observation into a content test.
How-to
How to give a proven post another run
Find your best work in Distinctful Analytics, rewrite it as a fresh draft, and compare the provider-reported response to the original.
Read each change against your usual
Compare every post with your own baseline before you call a change a winner.