Two-Proportion Z-Test Calculator
Compare two independent binomial success rates with a pooled two-sided Z test and expected-count diagnostic.
YOUR SHORTCUTS
Continue where you left off
Recently used
Your favorites
These shortcuts remember only calculator names on this device, not the values you enter.
Two-Proportion Z-Test Calculator
View complete schedule
ⓘ Calculated locally in your browser. Results depend on the values and units you enter.
Interactive mathematical graph
The axes, points and dimensions are recalculated from the values you enter.
Enter valid values to draw this graph.
Interpretation:
Graph data (accessible table)
| Reference | X | Y |
|---|
What changes if one input changes?
41: 0.104058693475897 p-value · 45: 0.0284596376527878 p-value · 50: 0.00389254974145229 p-value
This combination has no safe comparable results. Check the inputs above or select another value.
How this calculator works
For two independent groups, the null hypothesis is pA=pB. The pooled proportion is (successesA+successesB)/(totalA+totalB). The Z statistic divides the difference in observed rates by the pooled standard error; the two-sided p-value is from the standard normal distribution. All counts must be nonnegative integers, totals positive and successes no greater than totals. The tool deliberately rejects groups with fewer than 5 expected successes or failures under the pooled model because a normal approximation may be unreliable. Use an exact method for sparse observations; a p-value alone is not evidence of a causal effect.
Worked example
Engine-checked example
This example uses the values shown below, not your current entries.
- Group A successes
- 45
- Group A total trials
- 100
- Group B successes
- 30
- Group B total trials
- 100
Frequently asked questions
Does this work for A/B conversion testing?
Only when observations are independent and the expected success/failure counts are sufficient; repeated exposures require other methods.
Is it a one-sided or two-sided test?
Two-sided: either direction of a difference is considered.
Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.
Was this calculator helpful?
Your feedback helps you keep track of useful tools on this device.
Your selection stays in this browser. No public vote count is shown.
Prefer EverydayCalc on Google
Opens Google source preferences. Availability and placement are determined by Google; this does not guarantee higher rankings.