Free calculator

Checkout A/B test sample size and break-even calculator

To detect a 5% relative uplift in checkout completion (50% to 52.5%) at 95% confidence and 80% power, you need about 6,274 checkouts in each variant. At 400 checkouts a day split 50/50, that's 32 days; with only 10% of traffic on the new checkout, it's about 157 days. Small differences need far larger samples, so decide the uplift that matters before you start. Enter your traffic to see your numbers.

Shoppers who reach checkout, both variants together
Paid orders / checkouts started
10% means 50% → 55% completion
50 is fastest; 10 is safer but slower
After product, shipping, fees and ads; for break-even
NoHold Checkout is 1%; add any processing-rate difference

Results

Days needed at 95% confidence
32 days
Checkouts needed per variant
6,274
Conversion to detect
50.0% → 52.50%
Smallest uplift you can detect in 14 days
7.5% relative
Break-even uplift for 1.00% extra cost · days to detect it
3.45% · 66 days

Two-sided test, 95% confidence, 80% power, fixed sample size decided before you start. Stopping early when the result looks good inflates false positives.

The formula

This is the standard sample size for comparing two proportions (a two-sided z-test), the same calculation behind most A/B test calculators. p1 is your current completion rate and p2 the rate you want to be able to detect.

p2       = p1 x (1 + relative uplift)
p_bar    = (p1 + p2) / 2
n        = [ z_a x sqrt(2 x p_bar x (1 - p_bar)) + z_b x sqrt(p1 x (1 - p1) + p2 x (1 - p2)) ]^2 / (p2 - p1)^2
z_a      = 1.96 (95% confidence, two-sided)   z_b = 0.84 (80% power)
Days     = n / (daily checkouts x share of the smaller variant)
Break-even uplift = extra cost % / (contribution margin % - extra cost %)

n is per variant. The smaller arm sets the pace, so a 10/90 split takes five times as long as 50/50 to reach the same certainty. The break-even line answers a different question: if the new checkout costs a share of revenue (NoHold Checkout's fee, plus any difference in processing rates), how much must completion rise for profit per checkout to stay the same?

Worked example (hypothetical)

400 checkouts a day, 50% completion. To detect a 5% relative uplift: 6,274 checkouts per variant. At 50/50 (200 a day each) that's 32 days. In a 14-day window the smallest uplift you can reliably detect is about 7.5% relative (50% to 53.7%). With a 30% contribution margin, a 1% cost breaks even at a 3.45% relative uplift, and detecting a difference that small would take about 66 days at 50/50. In practice, you won't prove a break-even uplift with a test: you can only rule out a large drop and catch a large gain.

How to use the result

  • If the days needed are more than you can wait, test a bigger change, or accept that the test is a safety check rather than proof of uplift.
  • Run at least one full week even when the math says fewer days, so weekdays, weekends and ad delivery even out.
  • Check correctness first. In a checkout migration the first stage is about whether every paid order arrives correctly, not about conversion. The traffic split rollout guide covers the 10%, 50%, 100% stages.

NoHold Checkout has a built-in traffic split that sends a share of checkouts to it and the rest to Shopify's checkout, so you can roll out gradually. For what typically moves completion rate, see checkout conversion best practices. The extra-cost input defaults to NoHold Checkout's fee; to include the difference in processing rates, use the Whop vs Shopify Payments calculator.

Frequently asked questions

How long should I run a checkout A/B test?

Until each variant reaches the sample size you calculated in advance, and for at least one full week. For a typical store that means weeks, not days: detecting a 5% relative change at 50% completion needs about 6,300 checkouts per variant.

Why use 95% confidence and 80% power?

They're the common defaults. 95% confidence means a 5% chance of calling a difference that isn't real; 80% power means a 20% chance of missing a real difference of the size you entered. Raising power to 90% needs roughly a third more checkouts.

Can I test with only 10% of traffic on the new checkout?

Yes, and it's the safer start, but it's slow: the smaller arm sets the pace, so a 10/90 split takes about five times longer than 50/50. Use 10% to check that orders, payments and tracking work, then move to 50% to compare.

What is the break-even uplift?

The relative increase in checkout completion that exactly offsets a new cost charged on revenue. With a 30% contribution margin and a 1% cost, it's 1 / (30 - 1) = about 3.45%. Lower margins make the break-even higher.

Terms used here: Traffic split, Conversion rate, Checkout abandonment

Keep reading