Learn how to test whether a sample proportion significantly differs from a known population value — with formulas, conditions, and a free interactive calculator.
Hypothesis testing for a single proportion is a cornerstone technique in inferential statistics. It helps you assess whether a sample proportion significantly differs from a known or assumed population proportion — without needing to measure the entire population.
Common real-world applications include:
A sampling distribution centered on the null hypothesis value — the basis of the z-test for proportions.
Every hypothesis test begins with two competing statements about the population proportion p:
The population proportion equals a specific value, e.g. p = 0.50. This is the claim we are testing against.
The proportion is different, greater than, or less than the null value. Determines whether your test is two-tailed, right-tailed, or left-tailed.
| Test Type | H₀ | H₁ | Tail |
|---|---|---|---|
| Two-sided | p = p₀ | p ≠ p₀ | Both tails |
| Right-sided | p ≤ p₀ | p > p₀ | Right tail |
| Left-sided | p ≥ p₀ | p < p₀ | Left tail |
Before applying the z-test, verify that your sample satisfies the normal approximation conditions. If these fail, the test results will be unreliable.
The z-test relies on the normal approximation to the binomial — valid only when the conditions above are met.
Once conditions are satisfied, compute the z-statistic to measure how many standard errors your sample proportion is away from the hypothesized value:
p̂ sample proportion
p₀ hypothesized proportion
n sample size
The resulting z-value is then compared to a critical value from the standard normal table, or converted directly to a p-value — both of which the calculator below handles automatically.
The p-value tells you the probability of observing a result at least as extreme as yours, assuming H₀ is true. The smaller it is, the stronger the evidence against the null hypothesis.
| p-value | Evidence against H₀ | Decision |
|---|---|---|
| p < 0.01 | Very strong | Reject H₀ |
| 0.01 ≤ p < 0.05 | Strong | Reject H₀ |
| 0.05 ≤ p < 0.10 | Moderate | Context-dependent |
| p ≥ 0.10 | Weak or none | Fail to reject H₀ |
A typical calculator output showing the z-statistic, p-value, and rejection decision.
Remember: failing to reject H₀ does not prove it is true — it simply means your sample did not provide sufficient evidence against it.
Enter your values below to instantly compute the z-statistic, p-value, and decision. No manual calculations needed.
Enter your sample size (n), number of successes (x), hypothesized proportion (p₀), significance level (α), and tail direction. The calculator returns the full result.
Single proportion hypothesis testing is one of the most widely used tools in statistics. Whether you're analyzing survey results, quality control data, or clinical outcomes, it gives you a principled framework for deciding whether your sample tells a meaningful story.
Always check your conditions before running the test, choose the correct tail direction for your research question, and remember that statistical significance is not the same as practical importance.
Use the free calculator above to run your test instantly, or explore more tools at statistical-calculators.site.