A/B Proportion Testing Tool

Decision-First Design

Test whether an observed conversion gap exceeds random sampling noise, with decision guidance, confidence bands, and optional revenue estimates.

πŸ‘¨β€πŸ« Professor Mode: Guided Learning Experience

New to A/B testing? Enable Professor Mode for step-by-step guidance through comparing conversion rates between two groups!

QUICK START: Choose Your Path

DATA SOURCE

πŸ“š

Use a Case Study

πŸ’Ό Real Marketing A/B Tests

Select a preset scenario to explore real-world A/B testing situations with authentic marketing metrics and business context.

πŸ“€

Load Data

Upload raw data

Required columns: group (two labels) and conversion (0 or 1).

Drag & Drop raw data file (.csv, .tsv, .txt, .xls, .xlsx)

Two columns: group label and conversion (0 or 1). Up to 5,000 rows (20,000 when signed in).

No raw file uploaded yet.

ENTER YOUR DATA

Group Inputs β“˜

Slide values or type directly into number boxes. Every result reads the number boxes, so a typed value such as 0.036 or 16342 is used exactly. Have counts instead of a rate? Type the conversions: 147 out of 1,250 sets the rate to 0.1176 exactly. The box you typed in last is the one held when you change the sample size.

Confidence Level & Reporting β“˜

Confidence level:
Advanced settings

Apply FPC when population size is known or approximately known. Used for sampling without replacement from a finite population. FPC reduces standard error when sample size is >5% of total population.

The share your test plan assigned to this group (50 for an even split). The diagnostics check the observed arm sizes against it.

YOUR DECISION

⏳

Enter data to see your result

We'll calculate significance and show you what to do next

BUSINESS IMPACT CALCULATOR (OPTIONAL)

πŸ’° Calculate potential revenue impact (optional - only if you're testing a monetized action)

When to use this calculator:

  • βœ… You're testing a change that directly affects revenue (e.g., checkout flow, pricing display, purchase button)
  • βœ… You know the average transaction value
  • βœ… You want to estimate the financial impact of implementing the winning variant

When NOT to use this calculator:

  • ❌ You're testing brand awareness, engagement, or other non-monetized actions
  • ❌ The test doesn't directly connect to revenue (e.g., newsletter signups, social shares)
  • ❌ You don't have reliable transaction value data

Many A/B tests track engagement, awareness, or other non-revenue outcomes. Skip this calculator when your test has no direct dollar metric.

E.g., visitors, customers, trials, units sold

VISUAL EVIDENCE

The fan charts show the uncertainty around your estimates. Narrower fans = more precision.

Proportions Fan Chart

Difference Fan Chart

Chart Settings
Range (%):
Range:

DETAILED STATISTICAL RESULTS

Show detailed statistical output

APA-Style Statistical Reporting

Managerial Interpretation

Summary Table

Measure Label Proportion / Ξ” CI Lower CI Upper n

OVERVIEW & WHAT THIS TOOL SOLVES

When Variant B converts at 4.8% vs. Control A's 4.2%, declaring victory on raw percentages alone is a classic marketing trap: random traffic luck regularly produces 0.6-point swings in small samples. A/B Proportion Testing evaluates whether the conversion gap between two independent groups exceeds sampling noise, pairing exact pooled/unpooled z-tests with confidence intervals and an optional dollar ROI calculator.

🎯 Questions It Answers

  • Did Variant B genuinely beat Control A's conversion or click-through rate, or could random traffic variation explain the gap?
  • What is the confidence interval for the percentage-point lift (Ξ” = Pβ‚‚ βˆ’ P₁)?
  • What is the projected incremental revenue and net dollar impact of rolling out the winning variant?

πŸ“‚ What Data You Need

  • Summary Counts or Rates: Conversions (x₁, xβ‚‚) or proportions (P₁, Pβ‚‚) and sample sizes (n₁, nβ‚‚) for Control and Treatment
  • Raw CSV Upload: Individual visitor rows with a group column and a binary 0/1 conversion column
  • Optional Settings: Benchmark difference Ξ”β‚€, finite-population correction (FPC), and business ROI inputs

πŸ’‘ What You'll Discover

  • Two-Proportion z-Test: Pooled SE test when Ξ”β‚€ = 0 (or unpooled when testing against a non-zero hurdle Ξ”β‚€)
  • Unpooled Confidence Interval: Plausible range of percentage-point lift (Wald or Wilson/Newcombe options)
  • Business Impact Readout: Projected incremental conversions and revenue range across your target rollout volume
πŸ” Key Nuances & Common Traps to Watch For
  • Why the Test Pools Under Hβ‚€: Ξ” = 0, but the CI Does Not: Under a zero-difference null hypothesis, both groups share one population rate PΜ„. Pooling yields the exact score test (zΒ² = χ²). For the confidence interval, or when testing a non-zero benchmark (Ξ”β‚€ β‰  0), the two rates can differ, so the standard error remains unpooled.
  • Don't Peek Daily Without Adjustment: Checking p-values every morning and stopping the moment p < 0.05 inflates your false-positive rate from 5% to 20%+. Commit to your sample size upfront using the Sample Size A/B Calculator.
  • Relative Lift vs. Percentage Points: Moving from 2.0% to 2.5% is a +0.5 percentage-point absolute difference, which is a +25% relative lift. Always state which one you are reporting to stakeholders.
πŸ“ Under the Hood: Model Equations & Variable Definitions

1. Pooled Two-Proportion z-Test (Default Hβ‚€: Ξ” = 0)

\[ P_1 = \frac{x_1}{n_1}, \quad P_2 = \frac{x_2}{n_2}, \quad \bar{P} = \frac{x_1 + x_2}{n_1 + n_2}, \quad z_{\text{pooled}} = \frac{P_2 - P_1}{\sqrt{\bar{P}(1 - \bar{P})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} \]

πŸ’¬ Read it in plain English: To test whether two groups share the same true conversion rate, pool total conversions over total visitors to compute PΜ„. Then divide the observed rate gap (Pβ‚‚ βˆ’ P₁) by the pooled standard error.

x1, x2
Group Conversion CountsYOUR DATA β“˜
Observed number of successes (conversions, clicks) in Control (1) and Variant (2).
n1, n2
Group Sample SizesYOUR DATA β“˜
Total visitors or impressions assigned to Control (1) and Variant (2).
P1, P2
Observed Group ProportionsOUTPUT β“˜
Sample conversion rates x₁/n₁ and xβ‚‚/nβ‚‚.
PΜ„
Pooled Proportion under Hβ‚€ESTIMATED β“˜
Combined conversion rate (x₁ + xβ‚‚)/(n₁ + nβ‚‚) assuming both groups share one rate.
zpooled
Pooled Score z-StatisticINFERENCE β“˜
Standard-normal test statistic for Hβ‚€: Pβ‚‚ βˆ’ P₁ = 0 (its square equals Pearson’s χ²).

2. Non-Zero Benchmark z-Test (Ξ”β‚€ β‰  0) & Unpooled Confidence Interval

\[ \Delta = P_2 - P_1, \qquad z_{\text{unpooled}} = \frac{\Delta - \Delta_0}{\sqrt{\frac{P_1(1 - P_1)}{n_1} + \frac{P_2(1 - P_2)}{n_2}}}, \qquad \text{CI}_{1-\alpha} = \Delta \pm z_{1-\alpha/2}\sqrt{\frac{P_1(1 - P_1)}{n_1} + \frac{P_2(1 - P_2)}{n_2}} \]

πŸ’¬ Read it in plain English: For confidence intervals and non-zero hurdle tests (Ξ”β‚€ β‰  0), each group keeps its own variance P_i(1 βˆ’ P_i)/n_i. That keeps the interval widths tied to the conversion rate observed in each arm.

Ξ”
Observed Proportion LiftOUTPUT β“˜
Difference in sample conversion rates: Pβ‚‚ βˆ’ P₁.
Ξ”0
Minimum Benchmark HurdleYOUR DATA β“˜
Hypothesized proportion difference under Hβ‚€ (non-zero uses unpooled SE).
SEunpooled
Unpooled Standard ErrorESTIMATED β“˜
Standard error √[P₁(1βˆ’P₁)/n₁ + Pβ‚‚(1βˆ’Pβ‚‚)/nβ‚‚] used for confidence intervals and Ξ”β‚€ β‰  0.
z1βˆ’Ξ±/2
Critical Normal QuantileINFERENCE β“˜
Standard-normal critical value (e.g., 1.96 for a 95% two-sided interval).

DIAGNOSTICS & ASSUMPTIONS

View diagnostic checks

Diagnostics will appear after you enter data.