// a/b test calculator
Is your A/B test winner real?
Enter visitors and conversions for two versions. See the lift, the confidence that it is not chance, each version's likely range, and how many visitors the test needs.
A/B test calculator
The verdict
Version B wins, at 98.4% confidence.
| Point | Version A | Version B |
|---|---|---|
| 2.89% conversion | 0% of peak | 0% of peak |
| 2.95% conversion | 0% of peak | 0% of peak |
| 3% conversion | 0% of peak | 0% of peak |
| 3.06% conversion | 0% of peak | 0% of peak |
| 3.11% conversion | 1% of peak | 0% of peak |
| 3.17% conversion | 1% of peak | 0% of peak |
| 3.23% conversion | 2% of peak | 0% of peak |
| 3.28% conversion | 3% of peak | 0% of peak |
| 3.34% conversion | 6% of peak | 0% of peak |
| 3.39% conversion | 9% of peak | 0% of peak |
| 3.45% conversion | 14% of peak | 0% of peak |
| 3.5% conversion | 20% of peak | 0% of peak |
| 3.56% conversion | 28% of peak | 0% of peak |
| 3.62% conversion | 38% of peak | 0% of peak |
| 3.67% conversion | 49% of peak | 0% of peak |
| 3.73% conversion | 62% of peak | 0% of peak |
| 3.78% conversion | 74% of peak | 0% of peak |
| 3.84% conversion | 84% of peak | 0% of peak |
| 3.89% conversion | 93% of peak | 0% of peak |
| 3.95% conversion | 98% of peak | 0% of peak |
| 4.01% conversion | 100% of peak | 0% of peak |
| 4.06% conversion | 98% of peak | 1% of peak |
| 4.12% conversion | 92% of peak | 1% of peak |
| 4.17% conversion | 82% of peak | 2% of peak |
| 4.23% conversion | 71% of peak | 4% of peak |
| 4.28% conversion | 59% of peak | 6% of peak |
| 4.34% conversion | 47% of peak | 9% of peak |
| 4.4% conversion | 36% of peak | 13% of peak |
| 4.45% conversion | 27% of peak | 18% of peak |
| 4.51% conversion | 19% of peak | 25% of peak |
| 4.56% conversion | 13% of peak | 33% of peak |
| 4.62% conversion | 8% of peak | 42% of peak |
| 4.67% conversion | 5% of peak | 51% of peak |
| 4.73% conversion | 3% of peak | 61% of peak |
| 4.78% conversion | 2% of peak | 70% of peak |
| 4.84% conversion | 1% of peak | 79% of peak |
| 4.9% conversion | 1% of peak | 85% of peak |
| 4.95% conversion | 0% of peak | 89% of peak |
| 5.01% conversion | 0% of peak | 90% of peak |
| 5.06% conversion | 0% of peak | 88% of peak |
| 5.12% conversion | 0% of peak | 83% of peak |
| 5.17% conversion | 0% of peak | 77% of peak |
| 5.23% conversion | 0% of peak | 68% of peak |
| 5.29% conversion | 0% of peak | 58% of peak |
| 5.34% conversion | 0% of peak | 49% of peak |
| 5.4% conversion | 0% of peak | 39% of peak |
| 5.45% conversion | 0% of peak | 31% of peak |
| 5.51% conversion | 0% of peak | 23% of peak |
| 5.56% conversion | 0% of peak | 17% of peak |
| 5.62% conversion | 0% of peak | 12% of peak |
| 5.68% conversion | 0% of peak | 8% of peak |
| 5.73% conversion | 0% of peak | 5% of peak |
| 5.79% conversion | 0% of peak | 3% of peak |
| 5.84% conversion | 0% of peak | 2% of peak |
| 5.9% conversion | 0% of peak | 1% of peak |
| 5.95% conversion | 0% of peak | 1% of peak |
| 6.01% conversion | 0% of peak | 0% of peak |
| 6.07% conversion | 0% of peak | 0% of peak |
| 6.12% conversion | 0% of peak | 0% of peak |
| 6.18% conversion | 0% of peak | 0% of peak |
| 6.23% conversion | 0% of peak | 0% of peak |
A two-proportion z-test, two-sided. Significant means under a 5% chance of a gap this size if the versions were the same. Visitors needed is per version, to detect this gap at 95% confidence and 80% power. Decide your sample size first: checking until it looks significant finds winners that are not real.
Two versions, one conversion each visitor. A frequentist test, two-sided.
// the formulas
Signal, or noise.
The worked examples use the calculator's defaults: 5,000 visitors on each version, 200 sales on A and 250 on B.
Conversion and lift
rate = conversions / visitors · lift = B / A − 1
200 sales from 5,000 visitors is 4%; 250 is 5%. B converts 25% better.
Confidence
z = (B − A) / pooled standard error
A two-proportion z-test. The example's z of 2.41 means 98.4% confidence: a gap this big would be rare if the versions were the same.
Sample size
visitors per version for 95% confidence, 80% power
To reliably catch a 4% → 5% change you need about 6,745 visitors a version. Smaller gaps need far more: 4% → 4.4% takes about 39,475.
On Pocketsflow's Pro plan, A/B tests on price, headline, cover and checkout layout run on real visitors and tell you in plain words when one version is clearly ahead. See A/B testing or compare plans.
// faq
Common questions.
How do I know if my A/B test is significant?
Compare the two conversion rates with a two-proportion z-test and look at the confidence. At 95% or more, the gap is unlikely to be chance. 200 vs 250 sales out of 5,000 visitors each is 98.4%: significant.
Why is my test not significant with a big lift?
Because the sample is small. The same 4% vs 5% with 500 visitors each (20 vs 25 sales) is only 55.4% confidence. Small samples swing a lot by chance, so keep the test running until you reach the visitors you planned.
How many visitors does an A/B test need?
It depends on your conversion rate and the gap you want to detect. From 4% to 5% takes about 6,745 visitors per version at 95% confidence and 80% power. Pick the number before you start and stop there.
Can I stop the test as soon as it looks significant?
No. Checking again and again and stopping at the first significant result finds many winners that are not real. Decide the sample size up front, or use a tool that corrects for repeated looks.
Can Pocketsflow run the test for me?
Yes, on the Pro plan. Test up to four prices, headlines, covers or checkout layouts on real visitors. Each visitor keeps one version, every sale is credited to the version they saw, and one click keeps the winner.
// more free tools
Plan the rest of your launch.
Free, no sign-up. When you are ready to sell, the same numbers run your store: see pricing.
- Fee calculatorWhat each platform takes from a sale, and what you keep each month.
- Profit calculatorYour real monthly profit after fees, refunds, ads and costs.
- Payment fee calculatorWhat Stripe, PayPal and Pocketsflow take from a payment.
- Subscription calculatorMRR, ARR, churn and lifetime value, projected 12 months out.
- Discount calculatorThe extra sales a discount needs before it pays off.
- Affiliate commission calculatorWhat affiliates earn, what you keep, and the highest rate you can afford.
- SaaS margin calculatorCloud and hosting costs against your price: margin and break-even.
- Revenue forecastChart 24 months of compounding growth and the month you hit your goal.
- Break-even calculatorThe sales that cover your costs, where revenue crosses total cost.
- Funnel calculatorChart each step from visitor to buyer and find the biggest drop.
- CAC payback calculatorThe month a customer pays back what they cost to win.
- Newsletter revenue calculatorFree and paid subscribers, and newsletter revenue, a year out.
- EU VAT calculatorAdd or remove VAT at every member state's 2026 rate.
- Launch checklist24 steps from idea to first sales, saved as you go.
- Pricing guideSet a price from value, build three tiers, and see the sales a goal takes.
Open your store today.
Sell your first product in minutes, keep more of every sale, and let the AI you already use run the busywork.