Sample Size
Sample size is the number of observations selected for a study or survey. For estimating a population proportion, confidence level, expected proportion and target margin of error determine an approximate starting sample under random-sampling assumptions.
Precision and confidence in survey planning
n_{0} = \frac{z^{2}p(1 - p)}{e^{2}}n = \frac{n_{0}}{1 + \left( n_{0} - 1 \right)/N}n₀ is the uncorrected required size; z is the selected confidence critical value; p expected proportion on a 0–1 scale; e desired margin of error on 0–1 scale; N optional population size; n corrected estimate. The app rounds the final result upward to a whole observation.
Choose a survey design scenario
Select Confidence level 90%, 95% or 99%. Enter Margin of error and Expected proportion as percentages; optionally expand Population size (optional). Press Calculate after setting a positive margin and a proportion strictly between 0% and 100%.
Reading the estimated required count
The app displays Required sample size (rounded up) and Uncorrected sample size. It uses a finite-population correction when Population size is supplied. A warning notes that nonresponse, clustering, design effects and weighting are outside the simple calculation.
Why 50% is often conservative
The product p(1−p) reaches its maximum at p=0.5, yielding the largest uncorrected proportion sample for fixed z and e.
The product p(1−p) reaches its maximum at p=0.5, yielding the largest uncorrected proportion sample for fixed z and e.
Precision costs observations
A smaller margin of error needs substantially more observations: reducing e by half multiplies n₀ by approximately four under the same other assumptions.
A smaller margin of error needs substantially more observations: reducing e by half multiplies n₀ by approximately four under the same other assumptions.
Planning fieldwork
The computed n estimates completed observations, not invitations sent. Anticipated response rates and sample design can require additional recruitment or design-effect adjustments.
The computed n estimates completed observations, not invitations sent. Anticipated response rates and sample design can require additional recruitment or design-effect adjustments.
A finite population
When a population size N is specified, the correction reduces the simple sample target; assess whether the sampling assumptions and population definition match the intended survey.
Quick answers
What does 5% margin mean here?
Enter 5 in the Margin of error percentage field; the formula uses e=0.05.
Why is 50% expected proportion useful?
It maximizes p(1−p) and gives a conservative simple estimate.
Does the output include nonresponse adjustment?
The app’s displayed warning says the formula does not account for nonresponse.
How are fractional counts handled?
The required size is rounded up to an integer.
