KKC Tools
All tools →

A/B Test Significance Calculator: Is Your Result Statistically Significant?

Enter visitors and conversions for control and variant arms to calculate conversion rates, uplift, two-proportion z-scores, p-values, confidence intervals, sample size requirements, and sample ratio mismatch (SRM).

This stat sig calculator runs a two-proportion z-test. For example: Control A converts at 5.0% (500 / 10,000) and Variant B converts at 5.7% (570 / 10,000), representing a +14.0% relative lift with a z-score of 2.20 and a two-sided p-value of 0.028. Because p < 0.05, the result is statistically significant at 95% confidence.
Presets:
AControl (Baseline)
5.00%
BVariant (Treatment)
5.70%
✓ STATISTICALLY SIGNIFICANT
+14.0%
Relative Lift·p = 0.028·z = 2.20
B's conversion rate is 14.0% higher than A's (5.70% vs 5.00%).
Two-sided p = 0.028, below 0.05, so this positive difference is statistically significant at 95% confidence.
If there were truly no difference, a gap this large (in either direction) would show up about 2.8% of the time.
Exact Meaning of this p-value: If there were truly no conversion difference between the two designs, an observed gap this large or larger would occur about 2.8% of the time purely due to random visitor assignment.
Control Rate5.00%500 / 10,000
Variant Rate5.70%570 / 10,000
Absolute Difference+0.70 ppPercentage points
95% CI of Difference[0.08%, 1.32%]Unpooled error
Standard Error0.318%SE of difference
Observed Power59.5%Observed, not a planning tool
Sample Ratio Mismatch (SRM) Check:
Traffic split: 50.0% Control vs 50.0% Variant (χ² = 0.00, p = 1.000)
Normal Traffic Split
  • p-value & confidence interval
  • Sample-size planner
  • A/B/C with corrections
  • Data stays in your browser

100% free · No sign-up · Runs in your browser, nothing is uploaded

How to Use the A/B Test Significance Calculator

This statistical significance calculator operates entirely client-side inside your browser. No visitor counts, business conversions, or proprietary metrics are ever transmitted over the network.

  • Tab 1 (Test Significance): Enter your control visitors (nA) and conversions (cA), followed by your variant visitors (nB) and conversions (cB). Select your desired confidence level (90%, 95%, or 99%) and test direction (two-sided default).
  • Tab 2 (Sample Size & Duration): Plan an experiment before launch. Enter your baseline conversion rate, target minimum detectable effect (MDE), alpha, and desired statistical power (80% or 90%) to calculate total required visitors and estimated run time in days.
  • Tab 3 (A/B/C Multi-Arm): Test multiple variant arms against a single control arm with automatic Bonferroni or Šidák multiplicity corrections to protect your false discovery rate.

How the Two-Proportion Z-Test Works

When evaluating conversion rates (binomial proportions of visitors who convert), the standard mathematical test is the two-proportion z-test.

The null hypothesis (H₀) asserts that both designs share the exact same underlying conversion probability: pA = pB. The alternative hypothesis (H₁) asserts that they differ: pA ≠ pB.

Mathematical Step-by-Step Breakdown
  1. Observed Conversion Rates:
    pA = cA ÷ nA = 500 ÷ 10,000 = 0.0500 (5.00%)
    pB = cB ÷ nB = 570 ÷ 10,000 = 0.0570 (5.70%)
  2. Relative Lift:
    Lift = (pB − pA) ÷ pA × 100% = (0.057 − 0.050) ÷ 0.050 × 100% = +14.0%
  3. Pooled Conversion Rate (p̄):
    p̄ = (cA + cB) ÷ (nA + nB) = (500 + 570) ÷ 20,000 = 0.0535
  4. Pooled Standard Error (SE_pool):
    SE = sqrt[p̄(1 − p̄) × (1/nA + 1/nB)] = sqrt[0.0535 × 0.9465 × (2 / 10,000)] ≈ 0.00318
  5. Test Statistic (Z-Score):
    z = (pB − pA) ÷ SE = (0.0570 − 0.0500) ÷ 0.00318 ≈ 2.20
  6. Two-Sided P-Value:
    p = 2 × [1 − Φ(|2.20|)] ≈ 0.028

Because the resulting p-value (0.028) is less than the significance threshold α = 0.05, we reject the null hypothesis and conclude that Variant B demonstrates a statistically significant uplift at 95% confidence.

What the P-Value and Confidence Level Really Mean

Statistical terminology in digital experimentation is widely misunderstood. Results are often summarized with inaccurate phrasing such as “there is a 95% chance B is better than A.”

In frequentist statistics, hypotheses do not have probabilities. The correct scientific definitions are:

  • What the p-value is: The exact probability of observing a difference at least as large as the one seen in your sample, given that the null hypothesis is true (there is zero genuine difference between A and B).
  • What the p-value is NOT: It is not the probability that the variant is superior, not the probability that your experiment was a fluke, and not the magnitude of business impact.
  • Confidence Level (1 − α): The long-run proportion of repeated experiments that will correctly avoid making a false positive (Type I error) when no true difference exists.

One-Sided vs Two-Sided Tests: Why We Default to Two-Sided

A two-sided hypothesis test evaluates whether Variant B is different from Control A (either significantly better or significantly worse). A one-sided hypothesis test evaluates only whether Variant B is strictly better.

While a one-sided test produces a smaller p-value for a positive difference (cutting the two-sided p-value in half), it introduces substantial risks in production environments:

  • Risk of missing detrimental changes: If a redesigned checkout flow inadvertently breaks on specific browsers, a two-sided test flags the statistically significant loss, whereas a one-sided test dismisses negative outcomes as non-significant.
  • Confirmation bias: Deciding to run a one-sided test after observing an initial upward trend in the data doubles your false positive rate, violating core statistical assumptions.

For these reasons, experimentation leaders at Microsoft, Google, and academic institutions mandate two-sided hypothesis tests as the scientific default.

How Many Visitors Do You Need? (Sample Size & Duration)

Running an underpowered test is one of the most common mistakes in conversion rate optimization. If your sample size is too small, your experiment will lack the statistical power (1 − β) required to detect real lifts.

Our sample size calculator implements the unpooled Fleiss formula:

Sample Size Worked Example

Suppose your baseline conversion rate is 5.0% (p₁ = 0.05) and you want to detect a 10% relative lift (reaching p₂ = 0.055, an absolute lift of 0.5 percentage points) with 80% statistical power (β = 0.20) and 95% confidence (α = 0.05, two-sided):

  • p̄ = (0.05 + 0.055) ÷ 2 = 0.0525
  • z_crit (two-sided α = 0.05) = 1.95996 and z_power (80% power) = 0.84162
  • Required sample size = 31,234 visitors per arm (62,468 total visitors).
  • At 2,000 visitors per day, this test requires approximately 32 days of runtime.

To compare two groups’ means (for example, average order value) rather than conversion rates, use the T-Test Calculator. For a plain before-and-after change, use the Percentage Change Calculator.

Testing More Than Two Variants: A/B/C Multiplicity Corrections

When comparing multiple variants (A vs B, A vs C, A vs D) simultaneously, the probability of at least one false positive increases rapidly:

Family-Wise Error Rate (FWER) = 1 − (1 − α)^m

With 3 variants tested against control (m = 3) at α = 0.05, your cumulative false positive risk jumps from 5% to approximately 14.3%.

Comparison of Bonferroni, Šidák, and unadjusted multiplicity correction methods
Correction MethodAdjusted Alpha (α_adj)Characteristics
Bonferroniα ÷ mConservative and universally accepted; strictly bounds family-wise error.
Šidák1 − (1 − α)^(1/m)Slightly more statistical power than Bonferroni under independent comparisons.
None (Unadjusted)αInflates false discovery rate; should only be used in non-critical exploratory screens.

Sample Ratio Mismatch (SRM): Why It Invalidates Tests

A Sample Ratio Mismatch (SRM) occurs when the observed traffic split differs significantly from the configured assignment ratio (e.g., 50/50).

SRM is assessed using a Pearson chi-square goodness-of-fit test:

χ² = Σ [ (O_i − E_i)² ÷ E_i ] with degrees of freedom df = 1

If the resulting p-value falls below 0.001, an SRM is confirmed. Common root causes include:

  • Redirect latency: Slower load times on variant URLs causing visitors to bounce before tracking scripts execute.
  • Bot filtering discrepancies: Automated crawlers interacting disproportionately with one variation.
  • Browser extension blocking: Ad-blockers suppressing experimental JavaScript on specific paths.

An experiment with a confirmed SRM cannot be trusted, regardless of how high the observed uplift appears.

Common A/B Testing Pitfalls to Avoid

Even mathematically sound calculators cannot rescue poorly executed experiments. Watch out for these four common procedural errors:

  1. Continuous Peeking: Checking test results daily and stopping the moment p < 0.05 creates severe selection bias. Always wait until pre-planned sample sizes are achieved.
  2. Ignoring Seasonality: If your traffic changes between weekdays and weekends, run whole weeks (7, 14 or 21 days) so each day of the week is counted equally.
  3. Novelty Effects: Existing users may temporarily click new UI elements purely because they look unfamiliar. Allow tests sufficient runtime for initial curiosity to normalize.
  4. Conflating Statistical and Practical Significance: A 0.05% lift that achieves p = 0.01 across 5 million visitors may not generate enough profit to justify ongoing code maintenance costs.

To describe the spread of a metric, try the Standard Deviation Calculator or the IQR Calculator. To see what a lift is worth, use the Profit Margin Calculator.

Frequently Asked Questions

What does statistically significant mean in an A/B test?
In an A/B test, statistical significance means the observed difference in conversion rates between variant A and variant B is large enough that it is unlikely to have arisen purely from random sampling variation under the null hypothesis of equal performance. At 95% confidence (α = 0.05), a statistically significant result means p < 0.05.
What is a p-value, and what is it not?
A p-value is the probability of observing a difference at least as large as the one seen in your experiment, assuming the null hypothesis (that there is zero true difference between A and B) is true. It is NOT the probability that variant B is better than A, nor is it the probability that the null hypothesis is true. A p-value of 0.03 means that if A and B were identical, an effect this large would occur 3% of the time purely by chance.
One-sided or two-sided: which should I use?
A two-sided test is the standard default for online experimentation because it detects both positive lifts and unexpected negative drops. A one-sided test assumes from the outset that the variant cannot perform worse than control; while it requires slightly less sample size to achieve significance in the expected direction, it inflates false positive risk if the direction was chosen after inspecting the data.
How many visitors do I need for an A/B test?
Required sample size depends on four mathematical parameters: (1) baseline conversion rate, (2) minimum detectable effect (MDE), (3) significance level α (such as 0.05 for 95% confidence), and (4) statistical power 1 − β (such as 0.80 or 80% power). Use Tab 2 of our calculator to compute the exact visitor count per arm before launching your test.
Can I stop an A/B test as soon as it becomes significant?
No. Stopping an experiment the moment p drops below 0.05 (known as continuous peeking or early stopping) inflates the false positive rate well above the 5% you planned for, and the more often you check, the higher it goes. You must determine your required sample size in advance and run the test until that sample size is reached across complete business cycles (such as full 7-day weeks).
How do I test more than two variants (A/B/C testing)?
When testing multiple treatment arms against a single control, each extra comparison increases the family-wise error rate (the probability of at least one false positive). To correct for this multiplicity, apply a family-wise error correction such as Bonferroni (α ÷ m) or Šidák (1 − (1 − α)^(1/m)), available in Tab 3 of this calculator.
Which confidence level should I use (90%, 95%, or 99%)?
95% confidence (significance level α = 0.05) is the most common convention, and it is this calculator’s default. 90% confidence (α = 0.10) requires smaller sample sizes and is sometimes used for rapid exploratory tests with lower business risk. 99% confidence (α = 0.01) is used when implementing a false winner carries substantial capital cost or brand liability.
Why is my test not significant even though variant B looks better?
A variant may show an apparent percentage lift (e.g., +8%), but if your sample size is insufficient, the confidence interval of the difference will still overlap zero. When this happens, random noise cannot be ruled out as the cause of the gap. The test is considered inconclusive or underpowered rather than a confirmed tie.
What is sample ratio mismatch (SRM)?
Sample Ratio Mismatch (SRM) occurs when the observed ratio of visitors between test variants deviates significantly from the planned split (e.g., expecting a 50/50 allocation but getting 52/48 across 50,000 visitors). Evaluated via a Pearson chi-square goodness-of-fit test, SRM indicates assignment bugs, tracking redirect failures, bot filtering biases, or server performance degradation.
Statistical vs practical significance: what is the difference?
Statistical significance tells you whether an observed difference is likely genuine rather than sampling noise. Practical significance assesses whether the absolute magnitude of that difference matters to your business economics. In very large samples (e.g., millions of visitors), a 0.02 percentage point lift may be statistically significant (p < 0.001) yet practically negligible for company revenue.
Frequentist vs Bayesian A/B testing: how do they differ?
This calculator uses frequentist hypothesis testing (z-scores and p-values), which evaluates long-run error rates assuming a fixed true parameter and zero prior assumptions. Bayesian A/B testing incorporates a prior probability distribution and updates it with data to compute the posterior probability that B is better than A, along with expected loss.
What is a z-score in an A/B test?
A z-score measures how many standard errors the difference between two conversion rates lies away from zero. For a two-sided test at 95% confidence, a z-score with an absolute value greater than 1.96 corresponds to a p-value below 0.05, signaling statistical significance.

How This Calculator Works: Formula, Defaults & Sources

Formula

  • Conversion Rates: p_A = c_A ÷ n_A; p_B = c_B ÷ n_B; Relative Lift = (p_B − p_A) ÷ p_A × 100%
  • Pooled Proportion: p_pool = (c_A + c_B) ÷ (n_A + n_B)
  • Pooled Standard Error: SE_pool = sqrt(p_pool × (1 − p_pool) × (1/n_A + 1/n_B))
  • Z-Score: z = (p_B − p_A) ÷ SE_pool
  • Two-Sided p-value: p = 2 × (1 − Φ(|z|)); One-Sided p-value: p = 1 − Φ(z)
  • Unpooled 95% Confidence Interval: (p_B − p_A) ± 1.95996 × sqrt(p_A(1−p_A)/n_A + p_B(1−p_B)/n_B)
  • Sample Size (Fleiss/Miller): n = (z_{1−α/2}√(2p̄(1−p̄)) + z_{1−β}√(p₁(1−p₁) + p₂(1−p₂)))² ÷ (p₂−p₁)² per arm
  • Sample Ratio Mismatch: Pearson χ² = sum((O_i − E_i)² ÷ E_i) with df = 1; warning if p < 0.001
  • Multi-Variant Corrections: Bonferroni α_adj = α ÷ m; Šidák α_adj = 1 − (1 − α)^(1/m)

Default values (you can change them)

  • Spec Example 1 (10k: 500 vs 570): +14.0% lift, z = 2.20, two-sided p = 0.028 (significant at 95%)
  • Spec Example 2 (50k: 500 vs 570): 1.00% vs 1.14%, z = 2.152, two-sided p = 0.031
  • Sample Size Planner (5% baseline, 10% rel MDE): 80% power, α = 0.05 requires 31,234 visitors per arm

Sources

  • Fleiss, Levin, & Paik (2003) — Statistical Methods for Rates and Proportions (3rd ed.) — Definitive reference for two-sample binomial proportion tests, continuity corrections, and sample size formulas
  • Evan Miller (2013) — Sample Size Calculator (Formulas for A/B Testing) — a widely used online sample-size calculator for conversion tests; useful as a cross-check
  • Fabijan et al. (2019) — Diagnosing Sample Ratio Mismatch in A/B Testing (KDD 2019) — Microsoft analysis establishing chi-square goodness-of-fit guardrails against traffic skew in online experiments

Results are planning estimates, not engineering advice. Confirm quantities with your supplier and follow your plans and local building code. Last updated: November 25, 2026. Spotted a wrong number? Email us or use the contact page.

💡Suggest a Tool