Sample size calculator
Find a minimum survey sample or estimate the margin of error with finite-population correction.
Get started
- Use the example values or enter your own measurements.
- Calculate, then copy the result or download the available details.
Example
Input
95% confidence, 4% margin, 35% proportion, N = 1,000Expected result
354 samplesGood to know
The calculation runs in your browser. Use consistent units in fields with no explicit unit.
Calculation method
The initial size is z²p(1−p)/e². For a finite population, divide that size by 1 + (initial size−1)/N and round up. The error calculation uses the same proportion and finite-population model.
Calculation mode
Find sample size
- Confidence level · %
- Margin of error · %
- Population proportion · %
- Population size (0 for unlimited)
Find margin of error
- Confidence level · %
- Sample size
- Population proportion · %
- Population size (0 for unlimited)