Z-score and P-value calculator for proportions

Enter numbers to return a z-score to test whether the difference between two independent proportions is significant at the 95% confidence level

Percentage 1

Percentage 2

Sample size 1

Sample size 2

Click here to calculate again

How to calculate P-value

Enter two percentages (1-100), and the size of the samples they are from, from two independent samples.

What is a Z-test?

A two proportion z-test allows you to compare two proportions to see if they are the same. The null hypothesis (H0) for the test is that the proportions are the same. The alternative hypothesis (H1) is that the proportions are different.

This calculator uses the standard confidence level of 95%; if your z-score is over 1.96 (or less than -1.96), then the difference between the percentages is statistically significant at the 95% level. This corresponds to a p-value of 0.05 or less (see diagram below).

Another way to say this is that we can reject the null hypothesis with a 95% confidence level.

Your Z-score is

A corresponding p-value is calculated from your z-score.

Your P-Value is



Normal Distribution