Skip to content

Two-Proportion z-Test Calculator

Test whether two independent proportions differ. Enter the number of successes and the sample size for each group, choose a hypothesis direction, and get the pooled proportion, z statistic, and p-value.

Alternative hypothesis

Inputs

Group 1

≥ 1

Group 2

≥ 1

Results

Enter a value to see results.

Intermediate values

\begin{aligned} z &= \dfrac{\hat{p}_1 - \hat{p}_2}{\sqrt{\hat{p}(1 - \hat{p})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} \\ &= \dfrac{(?) - (?)}{?} \\ &= ? \end{aligned}
\begin{aligned} p &= P(|Z| > |z|) \\ &= \Phi(z)\ \text{combined per tail} \\ &= ? \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?