Home › Calculators › A/B Test Significance Calculator

A/B Test Significance Calculator

Enter the visitors and conversions for your control and variants to see whether the difference is statistically significant, how big it is and how much more data you need.

Last updated:

VariantVisitorsConversionsConv. rateUpliftp-value
Relative uplift–
p-value–
Confidence achieved–1 − p
Observed power–
Confidence intervals
Sampling distributions of each conversion rate. Less overlap means stronger evidence of a real difference.
Advertisement
Advertisement

How to use the A/B Test Significance Calculator

  1. Enter visitors and conversions for the control (A) and the variant (B). Use + Add variant for A/B/n tests.
  2. Choose the confidence level and whether the test is two-tailed (any difference) or one-tailed (B better than A).
  3. Read the verdict: uplift, p-value, confidence intervals and whether the result is significant at 90%, 95% and 99%.
  4. Check the chart: the less the two curves overlap, the stronger the evidence.
  5. Plan your next test on the Sample size tab with your baseline rate and the smallest uplift you care about.

How the significance test works

The calculator uses the standard two-proportion z-test with a pooled standard error, the same test most A/B testing tools use for conversion rates:

  • Conversion rates: pA = conversionsA ÷ visitorsA, pB = conversionsB ÷ visitorsB
  • Pooled rate: p̂ = (conversionsA + conversionsB) ÷ (visitorsA + visitorsB)
  • Standard error: SE = √(p̂ (1 − p̂) (1/nA + 1/nB))
  • z = (pB − pA) ÷ SE, and the p-value comes from the standard normal distribution: 2 × (1 − Φ(|z|)) for a two-tailed test.

Example: control 500 conversions from 10,000 visitors (5.00%), variant 570 from 10,000 (5.70%). The pooled rate is 5.35%, SE = 0.003182, z = 0.007 ÷ 0.003182 = 2.200, so the two-tailed p-value is 0.0278. That is significant at 95% (p < 0.05) but not at 99% (p > 0.01), and the relative uplift is +14.0%.

Confidence intervals for each rate use the Wilson score method, which behaves well for low conversion rates. The interval for the difference uses the unpooled standard error √(pA(1 − pA)/nA + pB(1 − pB)/nB).

Sample size per variant

Visitors needed per variant at 95% confidence (two-tailed) and 80% power, from n = [zα/2√(2p̄(1 − p̄)) + zβ√(p₁(1 − p₁) + p₂(1 − p₂))]² ÷ (p₂ − p₁)²:

Baseline rateRelative lift to detectTarget rateVisitors per variant
2%+20%2.4%21,109
5%+10%5.5%31,234
5%+20%6.0%8,158
10%+5%10.5%57,763
10%+10%11.0%14,751
20%+10%22.0%6,510

Halving the effect you want to detect roughly quadruples the sample you need, which is why small sites should test bold changes rather than tiny tweaks.

Common A/B testing mistakes

  • Peeking: checking results daily and stopping at the first significant p-value can push the real false-positive rate far above 5%. Fix the sample size first.
  • Too short: run tests for whole weeks so weekday and weekend visitors are both represented, even if the sample size is reached sooner.
  • Many metrics or variants: the more comparisons you make, the more likely one is significant by chance. Pick one primary metric and correct for multiple variants.
  • Sample ratio mismatch: if a 50/50 split delivers very uneven visitor counts, check the tracking before trusting the result.
  • Significant is not the same as important: look at the confidence interval for the uplift and ask whether the low end would still be worth shipping.

Frequently asked questions

What does statistically significant mean in an A/B test?

It means the observed difference would be unlikely if the two versions really converted at the same rate. At 95% confidence, a result is significant when the p-value is below 0.05. It does not prove the variant is better by exactly the observed amount; the confidence interval shows the plausible range.

What is a p-value?

The p-value is the probability of seeing a difference at least as large as yours if there were truly no difference. A p-value of 0.03 means such a result would happen about 3% of the time by chance alone.

Should I use a one-tailed or two-tailed test?

Use two-tailed when you want to detect a change in either direction, which is the safer default. A one-tailed test only asks whether B is better than A; it reaches significance sooner but cannot detect that B is worse.

Can I stop the test as soon as it becomes significant?

Repeatedly checking and stopping at the first significant result (peeking) inflates false positives. Decide the sample size in advance with the Sample size tab and run the test to that size, ideally over whole weeks.

Why use a Bonferroni correction with several variants?

Each extra comparison is another chance of a false positive. Bonferroni divides the significance level by the number of comparisons, for example 0.05 ÷ 3 ≈ 0.0167 for three variants against one control, so the overall error rate stays near 5%.

What is statistical power?

Power is the probability of detecting a real effect of a given size. 80% power means a true uplift of that size would be found significant 4 times out of 5. Low observed power means a non-significant result is inconclusive rather than evidence of no effect.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Conversion Rate CalculatorCalculate e-commerce conversion rate, revenue per visitor and goals.CTR CalculatorCalculate click-through rate and compare it with industry benchmarks.Standard Deviation CalculatorStandard deviation, variance, mean, median, mode and quartiles.CPM CalculatorSolve CPM, cost, impressions, CTR and CPC for ad campaigns.Churn Rate CalculatorCalculate customer churn and retention rates and convert monthly churn to annual.ROAS Calculator (Return on Ad Spend)Calculate ROAS, break-even ROAS and profit for each ad channel.Statistical Power CalculatorPower or required sample size for t-tests, proportions and correlations, with a power curve.Z-Test CalculatorOne-sample, two-sample and proportion z-tests with z, p-value, decision and shaded curve.Weighted Average CalculatorCalculate a weighted mean from values and weights, step by step.Average CalculatorMean, weighted average, median, sum, min and max of any list.Z-Score CalculatorZ-score from a value, mean and SD, plus percentile and p-value; or the value from z.Probability CalculatorFind and, or, not, conditional and at-least-once probabilities from P(A) and P(B).Permutation and Combination CalculatorCalculate nPr and nCr, with or without repetition, as exact big numbers.Mean Median Mode CalculatorFind the mean, median, mode, range, min, max, sum and count of a list of numbers.Confidence Interval CalculatorConfidence interval and margin of error for a mean or a proportion, with steps.Sample Size CalculatorHow many survey responses you need for a given confidence level and margin of error.Percentile CalculatorValue at any percentile, percentile rank of a score, quartiles, IQR and outliers.Correlation Coefficient CalculatorPearson r and Spearman rank correlation with significance and interpretation.Average Order Value CalculatorAverage order value from revenue and orders, plus the revenue impact of raising AOV.Binomial Distribution CalculatorBinomial probabilities P(X = k), at most, at least or between, with mean, variance and chart.Normal Distribution CalculatorNormal probabilities P(X < x), between two values and inverse percentiles, on a shaded bell curve.Poisson Distribution CalculatorPoisson probabilities for a rate λ: exactly k, at most, at least or between, with a chart.T-Test CalculatorOne-sample, two-sample (Welch/pooled) and paired t-tests with p-value and CI.Chi-Square CalculatorChi-square goodness-of-fit and independence tests with p-value and expected counts.P-Value CalculatorOne- or two-tailed p-values from z, t, chi-square or F statistics, with critical values.Variance CalculatorSample and population variance and standard deviation with a step-by-step deviations table.Five Number Summary CalculatorMin, Q1, median, Q3, max, IQR and fences of a data set, with a box plot.Outlier CalculatorFind outliers with 1.5×/3× IQR fences, z-scores or modified z-scores; get the cleaned data.Geometric Mean CalculatorGeometric, harmonic, arithmetic and quadratic means compared, or average growth from % changes.Expected Value CalculatorExpected value, variance and standard deviation from outcomes and their probabilities.One-Way ANOVA CalculatorOne-way ANOVA for 2-10 groups: SS, df, MS, F statistic, p-value, effect size and full table.Bayes Theorem CalculatorPosterior P(A|B) from P(A), P(B|A) and P(B|not A), with a probability tree and table.Box Plot MakerPaste data to draw box-and-whisker plots with quartiles, IQR and outliers. Download PNG or SVG.Coefficient of Variation CalculatorCV % from a dataset (sample or population) with mean, SD and a two-dataset comparison.Critical Value CalculatorCritical values of z, t, chi-square and F for any alpha, tails and degrees of freedom.Dice Probability CalculatorOdds of rolling a sum (exactly, at least, at most) with any dice, plus the full distribution.Effect Size Calculator (Cohen's d)Cohen's d, Hedges' g and Glass's delta from two means, SDs and sample sizes, with CI.Frequency Table GeneratorMake a frequency, relative and cumulative frequency table from numbers or categories.Permutations GeneratorList all permutations of letters, words or items, with k-permutations and repeats, and export them.T Distribution CalculatorStudent's t probabilities and critical values for any df, with the area shaded on the curve.T-Table (Student's t Distribution)Interactive t-table: critical t-values for any df and α, p-values, and a printable full table.Shannon Entropy CalculatorEntropy of text, data or probabilities in bits, nats or hartleys with a frequency table.Histogram MakerPaste numbers, choose bins and get a histogram, frequency table and PNG download.Margin of Error CalculatorSurvey margin of error from sample size, confidence and proportion, with population correction.Moving Average CalculatorSimple, exponential and weighted moving averages of a data series, with table and line chart.Odds Ratio and Relative Risk CalculatorOdds ratio, relative risk, risk difference, 95% CIs and p-values from a 2x2 table.Standard Error CalculatorStandard error of the mean from data or SD and n, plus SE of a proportion, with CIs.Descriptive Statistics CalculatorPaste data and get mean, median, mode, quartiles, SD, skewness, kurtosis and a histogram.Empirical Rule Calculator68-95-99.7 rule ranges from a mean and standard deviation, with a shaded bell curve.Z-Table (Standard Normal Table)Interactive z-table: find the area for any z-score, or the z-score for a probability.Average Rate of Change CalculatorAverage rate of change of f(x), two points or a data table over [a, b], with the secant line.Binomial Expansion CalculatorExpand (a + b)^n with the binomial theorem: every term, Pascal coefficients and any specific term.Combinations GeneratorList every k-combination of your items, with or without repetition, and copy or export them.Covariance CalculatorSample and population covariance of paired X and Y data, with a step table and scatter plot.Grouped Data CalculatorMean, median, mode, variance and standard deviation from class intervals and frequencies.Inverse Normal Distribution CalculatorinvNorm: find the x or z value for a left, right, central or two-tail area, with a shaded curve.
See all 52 Statistics & Probability Calculators →