Sample Size Calculator
Estimate survey response counts from confidence, precision, and population assumptions.
Updated
Monthly active users, beta testers, customers. Use 1,000,000+ for "infinite" populations.
Estimate of the population share with the trait. Leave at 50% for the most conservative sample.
Outreach planning (optional)
Use a response-rate assumption based on similar outreach, if available.
Required sample
—
Enter population, confidence, and margin, then Calculate.
Why this matters
p = 0.5 gives the largest normal-approximation sample. N is population size; for an effectively infinite population, n = n₀.
Planning a survey sample
Choose the precision the decision needs, then check recruitment, time, and cost. Sample size affects sampling uncertainty; it does not make a biased or unrepresentative survey reliable.
The formula
For a large population, n₀ = Z² × p(1−p) / E², rounded up.
- Z is the confidence critical value: about 1.645 for 90%, 1.96 for 95%, and 2.576 for 99%.
- p is the expected proportion. Use 0.5 when unknown for the largest normal-approximation sample.
- E is the margin as a proportion: five percentage points is 0.05.
For sampling without replacement from a finite population N, use n = n₀ / (1 + (n₀−1)/N). The calculator treats populations of one million or more as effectively infinite.
NIST explains the normal-approximation sample formula. The calculation plans a single proportion; use the A/B planner to compare two variants.
Confidence and margin of error
A method producing 95% confidence intervals covers the true population proportion in 95% of repeated samples under its assumptions. Higher confidence needs a larger sample at the same margin.
The margin describes precision. A result of 60% with a five-percentage-point margin gives an interval from 55% to 65%. Choose a margin narrow enough for your decision rather than assigning one automatically to pricing, features, or exploratory work.
Responses, invitations, and time
If you need 400 responses and assume a 20% response rate, plan about 2,000 invitations. Use response history from a similar audience and method; the actual rate may differ. The timeline is a scenario based on the tool's collection-rate assumptions, not a guarantee of when responses will arrive.
Check who the survey represents
More responses do not fix selection bias, nonresponse bias, or misleading questions. AAPOR recommends reporting the sampling method and whether precision estimates account for the study design.
If you need to compare subgroups, plan their precision separately. A 400-person sample split equally across four groups gives only 100 responses per group. This formula also does not set a required number of qualitative interviews.