Two-arm proportion sample planner
Use a normal approximation for equally sized independent arms and round the required sample per arm upward. Review your assumptions.
The example value has been entered. Check it immediately or change the value.
Input is processed in the browser. Refreshing returns a sample value.
Instructions and example
With p₂=p₁+δ and p̄=(p₁+p₂)/2: n=ceil((zα√(2p̄(1−p̄))+zβ√(p₁(1−p₁)+p₂(1−p₂)))²/δ²).
Baseline 10%, difference 2 percentage points, and z=1.96 and 0.84 require 3837 per arm.
The difference is percentage points, not relative lift. Enter z assumptions for significance and power; no continuity correction is applied.
Frequently asked questions
Is the experiment difference a relative lift?
The difference is percentage points, not relative lift. Enter z assumptions for significance and power; no continuity correction is applied.
How large is each arm under the public experiment assumptions?
Baseline 10%, difference 2 percentage points, and z=1.96 and 0.84 require 3837 per arm.
Calculation criteria and reference materials
- Georgia Tech — Comparing two proportions
Reference for the model and assumptions, not a guarantee of results.
Verification of calculation criteria: · Calculation·verification principles · Report errors