Statistics & Probability
Proportion Survey Precision Sample Size Calculator
Estimate an initial independent sample size for a desired absolute proportion margin of error.
How the calculation works
Unrounded planning sample size = normal_quantile((1+confidence/100)/2)**2*expected_p*(1-expected_p)/margin**2 observations. Whole observations rounded up = ceil(normal_quantile((1+confidence/100)/2)**2*expected_p*(1-expected_p)/margin**2) observations.
Worked example
Example inputs — Confidence level (%): 95; Planning success proportion: 0.5; Desired absolute margin, e.g. 0.05 for five percentage points: 0.05. Expected results — Unrounded planning sample size: 384.1458821 observations; Whole observations rounded up: 385 observations.
Assumptions and limits
Statistical model only: input assumptions and data quality determine whether a result is meaningful. No observational dataset is uploaded. Use dots for decimals and no thousands separators in lists. Normal-approximation planning formula for a large population and simple independent sampling. Does not include nonresponse, clustering, design effect or hypothesis-test power.
Reference and further reading
Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.
Related calculators
- Sample & Population Variance Calculator
- Quartiles, IQR & Tukey Fences Calculator
- Adjusted Skewness & Excess Kurtosis Calculator
- Z-Score & Normal Percentile Calculator
- Normal Interval Probability & Quantile Calculator
Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.