Is the true proportion different from a claimed value? Enter the number of successes, the sample size and p₀. Alongside the classic z-test, you get the exact binomial p-value, which is reliable even for small samples.
z = (p̂ − p₀) ÷ √(p₀(1 − p₀) ÷ n)
The z-test is accurate when n·p₀ and n(1 − p₀) are both at least 10. The calculator warns you when they aren’t.
Example
58 of 100 customers prefer the new design. Testing H₀: p = 0.5 gives z = (0.58 − 0.5) ÷ 0.05 = 1.6 and a two-tailed p = 0.110. The exact binomial p is 0.133. Neither is significant at α = 0.05.