Statistics

A/B Test Sample Size Calculator

Estimate how many users each variant needs so your A/B test can detect a given lift with the confidence and power you expect.

ab testingsample sizepower analysisminimum detectable effect
A/B Test Sample Size

Plan controlled experiments with statistically sound sample sizes before you launch.

Sample size per variant
22,663
Total sample size
45,326
Baseline conversion
3.5%
Variant conversion
4%
Absolute lift targeted
0.5% (pts)
Relative lift
14.29%
Confidence (zα/2)
95% (z ≈ 1.960)
Power (zβ)
80% (z ≈ 0.842)
Estimated duration
2.3 days (0.3 weeks)

Two-proportion sample size

n = [Z_{α/2}√(2p̄(1 − p̄)) + Z_{β}√(p₁(1 − p₁) + p₂(1 − p₂))]² / (p₂ − p₁)²

p₁ is the baseline conversion rate, p₂ = p₁ + minimum detectable effect, p̄ = (p₁ + p₂)/2, Z_{α/2} is tied to confidence, and Z_{β} represents statistical power.

How to use

  1. Enter your current conversion rate (control) and the absolute lift you want to be able to detect.
  2. Choose a confidence level (alpha) and statistical power (1 − beta).
  3. Optional: provide daily visitors to estimate how long the test will need to gather that many samples.

Example

Input: Baseline = 3.5%, Lift = 0.5 pts, Confidence = 95%, Power = 80%

Output: ≈22,663 visitors per variant (≈45,326 total) to detect the lift reliably.

Student-friendly breakdown

This walkthrough emphasizes the most searched ideas for A/B Test Sample Size Calculator: A/B Test Sample Size Calculator. Start with the formula above, then follow the guided steps to double-check your work. For quick revision, highlight the givens, plug into the equation, and finish by verifying your units.

Need more support? Use the links below to open the long-form guide, browse additional examples, or hop into adjacent calculators within the same topic. Each resource is interlinked so crawlers (and readers) can discover the next best action within a couple of clicks—one of the easiest ways to lift topical authority.

Deep dive & study plan

The A/B Test Sample Size Calculator is a go-to tool whenever you need to two-proportion power analysis for experiments with a target lift, confidence, and power.. It focuses on ab testing, sample size, power analysis, minimum detectable effect, which means searchers often arrive with intent-heavy queries like “how to a/b test sample size calculator quickly” or “a/b test sample size calculator formula explained.” Use this calculator to capture those intents and keep learners on the page long enough to send positive engagement signals.

Under the hood, the calculator leans on p₁ is the baseline conversion rate, p₂ = p₁ + minimum detectable effect, p̄ = (p₁ + p₂)/2, z_{α/2} is tied to confidence, and z_{β} represents statistical power.—that’s why we surface the full expression (“n = [Z_{α/2}√(2p̄(1 − p̄)) + Z_{β}√(p₁(1 − p₁) + p₂(1 − p₂))]² / (p₂ − p₁)²”) directly above the interactive widget. When you embed that formula inside H2s or supporting paragraphs, you help both humans and crawlers understand what entity the page represents.

Execution matters as much as the math. Follow the built-in procedure: Step 1: Enter your current conversion rate (control) and the absolute lift you want to be able to detect. Step 2: Choose a confidence level (alpha) and statistical power (1 − beta). Step 3: Optional: provide daily visitors to estimate how long the test will need to gather that many samples.. Each numbered instruction is short enough to scan on mobile but descriptive enough to satisfy Google’s Helpful Content guidelines. Encourage students to jot down units, double-check signs, and compare answers with the Example card to build confidence.

The Example section itself is packed with semantic clues: “Baseline = 3.5%, Lift = 0.5 pts, Confidence = 95%, Power = 80%” leading to “≈22,663 visitors per variant (≈45,326 total) to detect the lift reliably..” Pepper similar narratives throughout your copy (and internal links from related guides) so canonical search intents are answered without pogo-sticking back to Google.

Quick retention checklist

  • Speak the formula aloud (or annotate it) so the relationships stick.
  • Write each step in your own words and compare with the numbered list above.
  • Swap in new numbers for the Example to make sure the calculator (and your logic) handles edge cases.
  • Link out to at least two related calculators to keep readers exploring your topical hub.

FAQ & notes

Does this assume a 50/50 split?

Yes. The calculator sizes a classic A/B test with equal traffic per variant. If you plan an uneven allocation, adjust the per-variant totals accordingly.

Why does the sample size explode for tiny lifts?

Detecting minuscule changes demands a very small denominator (p₂ − p₁). When the effect size shrinks, the required sample grows quadratically—plan for more time or accept a larger detectable lift.

What formula does the A/B Test Sample Size Calculator use?

p₁ is the baseline conversion rate, p₂ = p₁ + minimum detectable effect, p̄ = (p₁ + p₂)/2, Z_{α/2} is tied to confidence, and Z_{β} represents statistical power.

How do I use the A/B Test Sample Size Calculator?

Enter your current conversion rate (control) and the absolute lift you want to be able to detect. Choose a confidence level (alpha) and statistical power (1 − beta). Optional: provide daily visitors to estimate how long the test will need to gather that many samples.