Skip to content

Sample Size Calculator

Plan the number of usable survey responses for a proportion or percentage. Enter a known population size to account for sampling without replacement.

Free, no sign-up · Last updated

Use 50% if you have no prior estimate.
Leave blank or enter 0 for an unknown or very large population.
US defaults ·

Completed responses needed

385

Achieved margin (percentage points)4.9944507
Uncorrected estimate (before rounding)384.1459
Normal critical value1.959964

This planning calculation assumes a simple random sample without replacement. Count completed usable responses.

Definition

What survey sample size means

Sample size is the number of usable observations included in an estimate. For a survey proportion, the planned count depends on the intended margin of error, confidence level, expected proportion and whether the population is finite.

Count
Completed, usable responses
More precision
A narrower margin needs a larger sample
Population correction
Applies to sampling without replacement

Choose the proportion you want to estimate

A survey might estimate the share of customers who renewed, residents who support a proposal, or parts that pass inspection. Define what counts as a success before setting the expected share. A single questionnaire can include many possible proportions, so plan for the ones that matter most to the analysis.

If a previous survey supplies a useful estimate, check whether its population and question match yours. For subgroup reporting, the overall count does not guarantee precise estimates for small subgroups. Plan enough completed responses within each group whose estimate needs its own target margin.

Balance precision with the available sample

Confidence controls how conservative the normal critical value is. The target margin controls how tight the estimate should be. A higher confidence level or smaller margin needs more data when other inputs stay fixed. Assess what difference would change a decision before choosing a margin.

For a large population, the required response count grows roughly with the inverse square of the margin. Trying several values in the calculator helps show how quickly demands rise. Choose a sample target you can reach and report the precision it supports along with the estimate.

Use a finite population when appropriate

When sampling without replacement from a known list, each newly observed unit accounts for a larger share of the remaining uncertainty as the sample approaches the population size. The finite population correction reflects this. For a small sample drawn from a very large population, the correction has little practical effect.

Enter zero or leave the population blank when it is unknown or when a large-population approximation is sufficient. If you can collect usable outcomes from the whole defined population, there is no sampling error for that population, though measurement problems can still affect the result.

Plan collection around usable responses

Round a calculated fraction of a response up to the next whole person or unit. The achieved margin shows the approximate precision after rounding. Recheck that margin if some collected responses are unusable or if you need to report a smaller subset.

Variation from a simple random sample is only one part of survey quality. Recruiting volunteers, sampling groups as clusters or assigning unequal weights can change the uncertainty and the usefulness of the final estimate. Use a planning method that reflects those features when they are part of your design.

Step-by-step example

At 95% confidence, plan for a 5-percentage-point margin and a 50% expected proportion, with and without a known population of 1,000.

StepResult
Unrounded large-population estimate384.1459 responses
Large-population target385 responses
Target for a population of 1,000278 responses
Estimated margin with 278 responses±4.9967 percentage points

Formulas used

Large-population planning estimate

n₀ = z² × p(1 − p) ÷ e²

z is the two-sided normal critical value, p is the expected proportion and e is the target margin. Express p and e as fractions of one.

Round the final result up to a whole response.

n₀
unrounded large-population sample size
z
two-sided normal critical value
p
expected proportion as a fraction
e
target margin as a fraction

Example: At 95% confidence, a 5-point margin and a 50% expected proportion give n₀ = 384.1459, so 385 responses are needed before any finite population correction.

Finite population correction

Corrected count = n₀ ÷ [1 + (n₀ − 1) ÷ N], where N is the population size.

Round after applying the correction.

n₀
unrounded large-population sample size
N
population size

Example: With the same inputs and a population of 1,000, the calculator rounds up to 278 responses. The resulting margin is about 4.9967 percentage points.

When the answer can mislead

  • A large volunteer sample can still systematically miss people who would answer differently.
  • Compute a separate target for any subgroup that needs its own precision.
  • When the expected proportion is near zero or one, check whether a normal approximation is appropriate.

Questions

What counts as the population size?

It is the number of eligible units you intend to describe, such as the current members of a club or all households in a study area. Count the sampling units rather than the number of invitations. If several people in one household are measured, clarify which unit your result will represent.

Why use 50% as the expected proportion?

For a fixed sample size, sampling variation in a proportion is greatest when the underlying proportion is one-half. Using that value gives a conservative planning count if you have little prior evidence. A reliable pilot or previous survey can suggest a different proportion for the outcome you intend to estimate.

What does a margin of five percentage points mean?

It describes an absolute distance on the percentage scale. A five-point margin around an estimate of forty percent would extend from thirty-five to forty-five percent under a symmetric approximation. Enter five in the margin field. Reducing the target usually requires more completed responses.

Does the sample size tell me how many invitations to send?

It gives the number of usable responses needed. Fewer people may respond than you invite. Use your expected response rate to plan outreach separately and consider who is likely to respond. A low or uneven response rate can introduce bias despite meeting the target count.

Can this plan a sample for an experiment?

This calculator plans the precision of a single proportion estimated from a simple random sample. Comparing groups or detecting a treatment effect requires a power calculation tailored to the outcome, effect size and study design. Those questions use different inputs and may require substantially different numbers of observations.

Sources

  1. University of Florida Extension: Sample size for a proportion and finite populations
Last updated How we check
Embed this calculator
Cite this calculator

Sample Size Calculator. CalculatorLab. https://calculatorlab.site/calculators/sample-size-calculator/. Last updated .