Sample Size CalculatorCalculate required sample size for surveys based on confidence level, margin of error, and population.

Sample Size Calculator
Calculate required sample size for surveys based on confidence level, margin of error, and population.
Set Confidence Level
Choose your desired confidence level (e.g., 95%).
Enter Parameters
Set margin of error, population size, and expected proportion.
View Sample Size
See the required sample size with calculation details.
What Is Sample Size Calculator?
The Sample Size Calculator determines how many respondents or observations you need for a statistically valid survey or study. It considers the confidence level (how certain you want to be), margin of error (acceptable range of error), population size (total group being studied), and expected proportion (anticipated result percentage). The calculator uses the standard sample size formula with finite population correction when a population size is provided. This tool is essential for researchers, marketers, and anyone designing surveys or experiments.
Why Use Our Sample Size Calculator?
- Standard statistical formula with finite population correction
- Multiple confidence levels from 80% to 99.9%
- Optional population size for finite population adjustment
- Shows z-score and all calculation parameters
Common Use Cases
Market Research
Determine survey size for customer satisfaction or product research.
Academic Research
Calculate sample size for thesis research or scientific studies.
Quality Control
Determine inspection sample sizes for manufacturing processes.
Public Opinion Polls
Plan polling sample sizes for elections or policy research.
Technical Guide
The sample size formula for infinite population is: n₀ = (Z² × p × (1-p)) / E², where Z is the z-score for the confidence level, p is the expected proportion (0.5 for maximum), and E is the margin of error. For finite populations, apply the correction: n = n₀ / (1 + (n₀-1)/N), where N is the population size. Z-scores: 80% → 1.282, 90% → 1.645, 95% → 1.960, 99% → 2.576. Using p = 0.5 gives the most conservative (largest) sample size. The finite population correction becomes significant when the sample is more than 5% of the population.
Tips & Best Practices
- 1Use p = 50% when you are unsure of the expected proportion — this gives the largest sample
- 2Doubling confidence does not double sample size — the relationship is non-linear
- 3Halving the margin of error quadruples the required sample size
- 4For populations over 100,000, the finite correction has minimal effect
Related Tools

Confidence Interval Calculator
Calculate confidence intervals from summary statistics or raw data with multiple confidence levels.

Z-Score Calculator
Calculate Z-scores and percentiles, or find values from Z-scores using the standard normal distribution.

P-Value Calculator
Calculate p-values from Z or t test statistics with one-tailed and two-tailed options.

Percentage Calculator
Calculate percentages, percentage change, and what percent one number is of another.

Fraction Calculator
Add, subtract, multiply, and divide fractions with automatic simplification.

Scientific Calculator
Full-featured scientific calculator with trigonometry, logarithms, factorials, and more.
Frequently Asked Questions
QWhat is a good sample size?
QWhat confidence level should I use?
QDoes population size matter?
QWhat is margin of error?
QWhy use 50% for expected proportion?
About Sample Size Calculator
Sample Size Calculator is a free online tool from FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration required. No ads. Just fast, reliable tools.







