Sample Size Calculator
Calculate required sample size for surveys from population, confidence level, and margin of error.
By Konstantin Iakovlev · Updated April 2026 · Source: Khan Academy
Required Sample
370
Infinite Pop.
385
Parameters
| Sample Size (finite pop.) | 370 |
| Sample Size (infinite pop.) | 385 |
| Z-value | 1.960 |
| Margin of Error | 5.0% |
| Proportion | 50.0% |
Use the Sample Size Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.
Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.
How It Works
Before fielding a survey, you need to know how many responses will make the results trustworthy rather than noise. The right sample size lets your findings stand in for the whole target population with a known degree of confidence. As decisions in fields from AI development to climate research lean ever harder on data through 2026, getting that number right is what separates a defensible conclusion from a guess.
For a population proportion that you cannot pin down in advance, the working formula is n = (Z² × p × (1-p)) / E². Here n is the sample size you are solving for, Z is the Z-score tied to your chosen confidence level, p is the estimated population proportion, and E is the margin of error you are willing to accept. Analysts frequently set p at 0.5, because that value assumes maximum variability and therefore yields the most conservative, safest sample size. When the population is finite rather than effectively unlimited, a correction factor trims the requirement.
One assumption worth dropping is that a bigger population always demands a proportionally bigger sample. Past a certain threshold the required size levels off and barely moves, no matter how large the population grows. Your confidence level and margin of error do the real work: tightening either one, by demanding more confidence or a narrower margin, pushes the sample higher and drives up the cost and time the survey will take.
Example: 2026 Global AI Adoption Survey
- 1 Imagine you're conducting a global survey in 2026 to understand the adoption rate of new AI technologies among businesses. Your target population is 500,000 businesses worldwide. You want to be 95% confident in your results with a 3% margin of error.
- 2 Using the calculator, you would input: Population Size = 500,000, Confidence Level = 95%, and Margin of Error = 3%. The calculator applies the Z-score for 95% confidence (1.96) and assumes a population proportion (p) of 0.5.
- 3 The calculated sample size required for your survey would be approximately 1067 businesses.
- 4 This means you need to survey at least 1067 businesses to be 95% confident that the actual global AI adoption rate among businesses falls within +/- 3% of your survey's findings. This sample size is relatively small compared to the large population, demonstrating the power of statistical sampling for accurate insights.
Source: Khan Academy · Last updated: April 2026
Frequently Asked Questions
How many survey responses do I need?
What affects required sample size?
What is a good margin of error for a survey?
You might also need
Percentage Calculator
Calculate percentages three ways: what is X% of Y, X is what % of Y, and percentage change from X to Y.
Fraction Calculator
Add, subtract, multiply, and divide fractions. Results shown as fraction, mixed number, and decimal.
Standard Deviation Calculator
Calculate mean, variance, and standard deviation (population and sample) from a data set.