Intermediate

One-Proportion z-Test Calculator

Run a one-proportion z-test to decide whether your observed success rate differs significantly from a hypothesized population proportion.
Number of observed successes
Total number of trials
Value under the null hypothesis (0–1)

Alternative hypothesis

z statistic
1.6330

Fail to reject H₀ at α = 0.05

Sample proportion (p̂)
0.48
Standard error
0.049
p-value
0.1025
Decision
Not significant
zTest statistic z on the standard normal distribution (±1.96 critical at α = 0.05)
Step by step
  1. 1

    Sample proportion p̂ = x / n

    48 ÷ 100 = 0.48
  2. 2

    Standard error SE = √(p₀(1−p₀)/n)

    √(0.4 × (1 − 0.4) ÷ 100) = 0.04899
  3. 3

    z statistic

    (0.48 − 0.4) ÷ 0.04899 = 1.6330
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

A one-proportion z-test compares a sample proportion p̂ = x/n to a hypothesized p₀ using z = (p̂ − p₀)/√(p₀(1−p₀)/n). The p-value comes from the standard normal distribution for your chosen one- or two-tailed alternative; if it falls below 0.05 you reject the null hypothesis that p = p₀.

Formula
z = (p̂ − p₀) / √(p₀(1 − p₀) / n), where p̂ = x / n
How this is calculated

Enter the number of successes x, the sample size n, and the hypothesized population proportion p₀ under the null hypothesis H₀: p = p₀. The sample proportion is p̂ = x / n, and the standard error of the test uses the null value: SE = √(p₀(1 − p₀) / n). The test statistic z = (p̂ − p₀) / SE measures how many standard errors the observed proportion sits from p₀.

The p-value comes from the standard normal distribution via the CDF Φ, computed here with an error-function (erf) approximation. For a two-tailed alternative (p ≠ p₀) the p-value is 2(1 − Φ(|z|)); for a right-tailed test (p > p₀) it is 1 − Φ(z); for a left-tailed test (p < p₀) it is Φ(z). The null hypothesis is rejected when the p-value is below the conventional significance level α = 0.05, which corresponds to critical z-values of about ±1.96 for a two-tailed test.

The normal approximation assumes a reasonably large sample — a common guideline is that both n·p₀ and n·(1 − p₀) are at least about 5 to 10. It requires independent observations and 0 < p₀ < 1, and x must lie between 0 and n. For very small samples or extreme proportions an exact binomial test is preferable.

Frequently asked questions

Use it when you have a single categorical sample (success/failure) and want to test whether its true proportion equals a specific hypothesized value, such as comparing an observed defect rate to a quality target.

Under the null hypothesis the true proportion is assumed to be p₀, so the sampling distribution of p̂ has standard error √(p₀(1 − p₀)/n). Using p₀ gives the test statistic its correct null distribution.

A p-value below 0.05 means the observed proportion is unlikely to have arisen by chance if the true proportion were p₀, so you reject H₀ and conclude the proportion differs (in the direction specified by your alternative).

Also known as

one proportion z test
proportion test
z test for proportion
population proportion test
1 prop z test
single proportion test
hypothesis test proportion

APA

TG we-Calculate Editorial Team. (2026). One-Proportion z-Test Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/one-proportion-z-test-calculator

Chicago

TG we-Calculate Editorial Team. "One-Proportion z-Test Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/one-proportion-z-test-calculator.

IEEE

TG we-Calculate Editorial Team, "One-Proportion z-Test Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/one-proportion-z-test-calculator

BibTeX

@misc{wecalculate_one_proportion_z_test_calculator, title = {One-Proportion z-Test Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/one-proportion-z-test-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?