Sample Size Calculator
Loading Statistical Engine...
How it Works
01Enter Population Size
Enter the total size of the population you are studying. For very large populations (1M+), the sample size formula converges and population size has minimal effect.
02Set Confidence Level
Choose your required confidence level: 90%, 95%, or 99%. A 95% confidence level means that 95 out of 100 repeated samples would capture the true value.
03Set Margin of Error
Enter your acceptable margin of error (e.g. ±5%). Smaller margins of error require larger sample sizes. Typical surveys use ±3% to ±5%.
04Get Required Sample Size
The calculator uses the Cochran formula to return the minimum sample size needed to achieve the desired confidence level and margin of error.
What is a Sample Size Calculator?

The calculator is grounded in established mathematical and scientific formulas, presented through a clean, intuitive interface that anyone can use without prior technical knowledge. Simply enter your values, and the tool instantly computes your result — with clear labeling so you always know what each input and output represents. We've also included key formula references, so students and learners can understand the math behind the answer.
Whether you need this tool for a one-time calculation or use it regularly as part of your workflow, it's designed to be reliable, accurate, and completely free. No software to install, no account required, and it works seamlessly on any device — desktop, tablet, or smartphone.
Pro Tip: For more relevant tools in the math and science category, try our Calculate Percentage.
How It Works?
The formula
For means: n = (Z × σ / E)²
Where Z = z-score for confidence level (1.645 for 90%, 1.96 for 95%, 2.576 for 99%), p = expected proportion, E = margin of error, σ = population std dev.
Calculation In Practice
n = (1.96² × 0.5 × 0.5) / 0.05²
n = (3.8416 × 0.25) / 0.0025
n = 0.9604 / 0.0025 = 384 respondents needed
Typical Use Cases
Technical Reference
Key Takeaways
Frequently Asked Questions
What is the ?
The calculator is grounded in established mathematical and scientific formulas, presented through a clean, intuitive interface that anyone can use without prior technical knowledge. Simply enter your values, and the tool instantly computes your result — with clear labeling so you always know what each input and output represents. We've also included key formula references, so students and learners can understand the math behind the answer.
Whether you need this tool for a one-time calculation or use it regularly as part of your workflow, it's designed to be reliable, accurate, and completely free. No software to install, no account required, and it works seamlessly on any device — desktop, tablet, or smartphone.
Pro Tip: For more relevant tools in the math and science category, try our Calculate Percentage.
Is Sample Size Calculator free?
Do I need to install anything?
Is Sample Size Calculator accurate?
Does it work on mobile devices?
Do I need to create an account?
How do I use Sample Size Calculator?
Can I save or share my results?
Is my data kept private?
Who typically uses this tool?
Disclaimer
The results provided by this tool are for informational purposes only and do not constitute medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.