Sample Size Calculator

Calculate the optimal sample size for your research with precision and confidence. Determine how many participants you need for surveys, experiments, and statistical studies.

Expected proportion (0-1). Use 0.5 for maximum variability if unknown.
Desired margin of error as percentage (e.g., 5 for ±5%).
Statistical confidence in your results.
Total population size. Leave blank for large/infinite populations.
Known or estimated population standard deviation.
Maximum acceptable margin of error.
Statistical confidence in your results.
Tip: If σ is unknown, use a pilot study or literature estimates.
Expected effect size. Small=0.2, Medium=0.5, Large=0.8
Probability of detecting the effect if it exists.
Maximum acceptable Type I error rate.
Direction of expected difference.
Quick Examples
Survey
95% confidence, 5% margin
Clinical Trial
80% power, medium effect
Market Research
90% confidence, 3% margin
Sample Size Results
Required Sample Size
-
Adjusted Sample Size
-
Confidence Level
-
Margin of Error
-
Formula Used
Sample Size Recommendations