Skip to content
FiftyCalc Free calculators for all 50 states

Sampling Distribution of the Sample Proportion Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the population proportion p, the sample size n and a value of the sample proportion to get the mean and standard error of p̂, its z-score and the probabilities below and above that value.

Result

Sample figures

P(p̂ < value)—

Mean of p̂ —

  • Standard error of p̂—
  • z-score of the value—
  • P(p̂ > value)—
  • n × p (expected successes)—
  • n × (1 − p) (expected failures)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Sampling Distribution of the Sample Proportion Calculator

Population proportion (p, 0 to 1): enter a number from 0 to 1. Prefilled example: 0.4.

Sample size (n): enter 1 or more. Prefilled example: 100.

Value of the sample proportion (p̂, 0 to 1): enter a number from 0 to 1. Prefilled example: 0.45.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Population proportion (p, 0 to 1): enter a number from 0 to 1.
  2. Sample size (n): enter 1 or more.
  3. Value of the sample proportion (p̂, 0 to 1): enter a number from 0 to 1.
  4. Read the result: P(p̂ < value); the panel also shows Mean of p̂, Standard error of p̂, z-score of the value, P(p̂ > value), n × p (expected successes) and n × (1 − p) (expected failures).

How this calculator works

The sample proportion p̂ = x ÷ n of a random sample has mean p and standard error √(p(1 − p) ÷ n). For a large enough sample its distribution is close to normal (central limit theorem), so z = (p̂ − p) ÷ SE and P(p̂ < value) = Φ(z).

Textbooks accept the normal approximation when both n × p and n × (1 − p) are at least 10 (some use 5); the two counts are shown so you can check. Sampling without replacement from a small population also needs the finite population correction, not applied here.

The formula

  1. Se=p×(1−p)n
  2. Z=x−pSe
  3. B=normcdf⁡(Z,0,1)
Symbols used in the formula
SymbolMeaning
pPopulation proportion (p, 0 to 1)
nSample size
xValue of the sample proportion (p̂, 0 to 1)
SeStandard error of p̂
Zz-score of the value
BP(p̂ < value)
normcdf(x, m, s)the probability that a Gaussian variable with mean m and standard deviation s is at most x (mean zero and standard deviation one without m and s).

Worked example

Population proportion (p, 0 to 1)0.4
Sample size (n)100
Value of the sample proportion (p̂, 0 to 1)0.45
Standard error of p̂0.049
z-score of the value1.0206
P(p̂ > value)0.1537
n × p (expected successes)40
n × (1 − p) (expected failures)60
  1. Se=0.4×(1−0.4)100=0.0489898
  2. Z=0.45−0.40.0489898=1.02062
  3. B=normcdf⁡(1.02062,0,1)=0.846283

P(p̂ < value) 0.8463

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

If p = 0.4 and n = 100, what is the standard error of p̂?

√(0.4 × 0.6 ÷ 100) = 0.049. The chance that p̂ is below 0.45 is about 0.846 (z = 1.0206).

Why does the standard error shrink as n grows?

Because n is under the square root in the denominator: four times the sample size halves the standard error.

Questions answered

Related calculators