Two-Proportion Z-Test Calculator
z = (p̂₁ − p̂₂) / √(p̄(1 − p̄)(1/n₁ + 1/n₂)).
Test whether two independent sample proportions differ significantly. Pooled estimate p̄ = (x₁ + x₂)/(n₁ + n₂); z = (p̂₁ − p̂₂) / √(p̄(1−p̄)(1/n₁ + 1/n₂)). Reports the standardised statistic and its absolute value (compare to 1.96 for two-sided 5 %).
How to use this calculator
- Fill in the inputs above using the units you already have.
- Values update automatically as you type — no submit button needed.
- Hover any result row for the underlying formula and intermediate values.
Formula
z = (p̂₁ − p̂₂) / √(p̄(1−p̄)(1/n₁ + 1/n₂))
In depth
Test whether two independent sample proportions differ significantly. Pooled estimate p̄ = (x₁ + x₂)/(n₁ + n₂); z = (p̂₁ − p̂₂) / √(p̄(1−p̄)(1/n₁ + 1/n₂)). Reports the standardised statistic and its absolute value (compare to 1.96 for two-sided 5 %).
Spot an issue or have a suggestion?
Our editors read every message. If the math looks off, tell us the inputs you used and what you expected.