Skip to content
LoveToCalc

Definition — what does that mean?

Z test statistic for a proportion

How many standard errors a sample proportion sits from the proportion a hypothesis claims.

In Swedish: Teststatistika för en andel

Z test statistic for a proportion

The relation

z=p̂−p₀p₀(1−p₀)n

How many standard errors a sample proportion sits from a hypothesised proportion: the difference divided by the square root of p₀(1 − p₀)/n.

Solve for

z=1

z equals (0.55 minus 0.5) divided by the square root of ((0.5 times (1 minus 0.5)) divided by 100), equals 0.05 divided by the square root of ((0.5 times 0.5) divided by 100), equals 0.05 divided by the square root of (0.25 divided by 100), equals 0.05 divided by the square root of (0.0025), equals 0.05 divided by 0.05, equals 1

Working6 steps

Practice questions

You are given

  • p̂=0.55
  • p₀=0.5
  • n=100

The formula

z = (p̂ − p₀) / √( p₀ (1 − p₀) / n )

Holds for a random sample with independent answers, when n · p₀ and n · (1 − p₀) are both at least about 10, so that p̂ is roughly normal.

p̂ is the proportion in the sample, p₀ the proportion the null hypothesis states and n the sample size.

A coin tossed 100 times lands heads 60 times: p̂ = 0.6, p₀ = 0.5, so the denominator is √(0.25/100) = 0.05 and z = 0.1/0.05 = 2. Against the 5% two-sided limit 1.96 in the normal table this just rejects a fair coin.

Which proportion goes under the root

Under the root Used for
Test p₀(1 − p₀)/n the null hypothesis is assumed true
Interval p̂(1 − p̂)/n only the sample is known

With p̂ = 0.6 under the root the denominator would be √(0.24/100) = 0.049 and z = 2.04, a different number. In a test the spread is computed as if the hypothesis were true.

Common mistakes

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
zp̂−p₀p₀(1−p₀)n0.55−0.50.5(1−0.5)1001
p̂p₀+zp₀(1−p₀)n0.5+10.5(1−0.5)1000.55
nz²p₀(1−p₀)(p̂−p₀)²1²·0.5(1−0.5)(0.55−0.5)²100

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.