One-sample Proportion Test

Test whether a population proportion equals a hypothesized value using a z-test.

One-sample Proportion z-test

Tests whether a population proportion equals a hypothesized value p₀. With x successes in n trials, p̂ = x ÷ n and z = (p̂ − p₀) ÷ √(p₀(1−p₀)/n).

Inputs

  • Successes x, trials n
  • Null proportion p₀
  • Alternative: p < p₀, p > p₀, or p ≠ p₀
  • Significance level α

Assumptions

  • Independent Bernoulli trials
  • Normal approximation: expected successes np₀ and failures n(1−p₀) at least ~10

Example

Suppose x=52, n=100, p₀=0.50. Then p̂=0.52 and SE=√(0.5×0.5/100)=0.05. z=(0.52−0.50)/0.05=0.40. Two-tailed p-value≈2×(1−Φ(0.40))≈0.689.

How to use the One-sample Proportion Test

Follow these steps to get accurate results with the one-sample proportion test.

  1. 1

    Enter your values

    Fill in the required input fields above. Units can be changed where available.

  2. 2

    Click Calculate

    Press the calculate button to compute results instantly in your browser.

  3. 3

    Review your results

    View the computed outputs and use related calculators for deeper analysis.