Estimate a simple-random-sample size for a population proportion and chosen margin of error.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The initial size is z²p(1−p) ÷ e², where e is absolute margin and z comes from the confidence level. A supplied finite population reduces it to n ÷ (1 + (n−1)/N), after which the result rounds upward.
Margin of error percent: 5 Confidence level: 95
Sample size: 385 Z value: 1.96 Population proportion: 0.5
Survey plans size respondent targets, quality audits choose defect samples, and prevalence studies compare the conservative 50% assumption with prior evidence.