Understand the hypothesis test
Read the test as a model-based comparison
Two-Proportion z-Test. The observed effect is scaled by its null-model uncertainty and located on a reference distribution selected before looking at the result.
1State H₀, the effect, and direction2Calculate the statistic under H₀3Report p-value with effect and interval
Test statistic and reference model
z=(p̂₁−p̂₂)/√[p̂pool(1−p̂pool)(1/n₁+1/n₂)].
Pair the test with an unpooled confidence interval for the magnitude and direction of the difference.
Responsible interpretation
A p-value is not the probability that the null is true, the chance the result occurred ‘by luck,’ or a measure of effect size, importance, replication, bias, or causation.
Required assumption: Groups and trials must be independent and expected cell counts should support the normal approximation.
Quick guide
How to use this calculator
- Enter the observations, probabilities, model parameters, or summary statistics requested by the visible labels.
- Keep every value on the same scale and confirm that the selected sampling relationship, distribution, and tail convention match the question you are investigating.
- Read the result together with its assumptions and interpretation. Statistical output summarizes uncertainty under a model; it does not repair biased data or establish causation.
Calculation method
How the two-proportion z-test calculator works
z=(p̂₁−p̂₂)/√[p̂pool(1−p̂pool)(1/n₁+1/n₂)].
Pair the test with an unpooled confidence interval for the magnitude and direction of the difference.
Worked example
Two-Proportion z-Test example
60/100 versus 45/100 yields a difference of 0.15 before scaling by the pooled standard error.
z=(p̂₁−p̂₂)/√[p̂pool(1−p̂pool)(1/n₁+1/n₂)].
Supported inputs
Precision and limits
Model and design
Groups and trials must be independent and expected cell counts should support the normal approximation.
Numerical scope
Inputs use double-precision numerical methods with guarded domains. Datasets accept up to 10,000 finite plain-decimal values. Extremely large parameters or probabilities deep in a numerical tail may require specialist statistical software.
Interpretation
Pair the test with an unpooled confidence interval for the magnitude and direction of the difference.
Decision boundary
The calculator does not validate how data were collected, diagnose dependence or bias, choose a scientifically meaningful effect, or replace review by a qualified statistician for consequential research, medical, regulatory, safety, or policy decisions.
Privacy
Entered values and calculated results stay in this browser and are not sent to an analytics service.
Continue calculating
Related calculators