Calculators
Sample Size Calculator
Calculate the survey sample size needed for a confidence level and margin of error, with finite population correction and invitations needed at your response rate.
- Runs in your browser
- Nothing uploaded
The tool
Enter your numbers below. Results update as you type, and nothing leaves your browser.
Everything you enter stays on your own machine. Nothing is sent to us or to anyone else, which you can confirm in your browser network tab.
What people use it for
- Customer and employee surveys
- Market research
- Academic studies
- Polling and audits
About this tool
What the Sample Size Calculator does
For estimating a proportion, the sample size is n₀ = z² × p(1 − p) ÷ e², where z is the z-score for the confidence level, p the expected proportion (50% is the cautious choice) and e the margin of error. For small populations, the finite population correction reduces the number needed.
It also works as a survey sample size calculator or a margin of error calculator.
Formula
- n₀ = z² × p × (1 − p) ÷ e²
- n = n₀ ÷ (1 + (n₀ − 1) ÷ N)
- Invitations = n ÷ response rate
Worked example
Using the starting values in the calculator above:
| Input | Value |
|---|---|
| Confidence level | 95% |
| Margin of error | 5% |
| Expected proportion | 50% |
| Population size (0 if very large) | 2,000 |
| Expected response rate | 25% |
| Result | Value |
|---|---|
| Sample size needed | 323 |
| Invitations to send | 1,292 |
| Sample size for an unlimited population | 385 |
| z-score | 1.96 |
| Share of the population | 16.2% |
How to read the result
Use 50% when you do not know the expected proportion; it gives the largest, safest sample.
Sample size does not fix bias: a large sample from the wrong people still gives wrong answers.
Related calculators
- Statistical Power Calculator: Find the sample size per group needed to detect a difference between two means or two proportions, and the power achieved with a given sample.
- Confidence Interval Calculator: Calculate a confidence interval for a mean (t-distribution) or a proportion (Wilson score interval), with the margin of error.
- Molarity Calculator: Calculate the mass of solute to weigh for a solution, the molarity of a solution you made, or the stock volume for a dilution (C₁V₁ = C₂V₂).
- Radioactive Decay and Half-life Calculator: Calculate the amount remaining after a given time from the half-life, the decay constant and mean life, and the time to decay to a target level.
Browse every calculator in Science, Statistics and Everyday Utility Calculators, or talk to us about custom calculators and web tools.
If this is useful, you may also want VAT Calculator, Profit Margin Calculator, Loan Repayment Calculator. For a version built around your own data and branding, see our managed website plans, or browse the full free tools library.
How it compares
| Feature | Sample Size CalculatorFree | Paid calculator apps and spreadsheet add-ins |
|---|---|---|
| Price | Free, no tiers | Typically £6–£20 per month |
| Account required | No account, no email | Sign-up and verification |
| Where your data goes | Stays in your browser | Uploaded to their servers |
| Usage limits | No cap, no watermark | Free-tier caps, ads or watermarks |
| Works on mobile | Yes, mobile-first layout | Varies by product |
Frequently asked questions
Is Sample Size Calculator free to use?
Yes. Sample Size Calculator is completely free, with no account, no download and no usage cap. It is published by Best Web Developer as part of a library of calculators, so you can open it, use it and close the tab without ever entering an email address or payment detail.
How do I use Sample Size Calculator?
Open Sample Size Calculator and it loads directly in the page. It is designed to calculate the survey sample size needed for a confidence level and margin of error, with finite population correction and invitations needed at your response rate. Enter your values or make your selections, and the result updates immediately; there is nothing to install and no account step in between.
Does Sample Size Calculator store or share my data?
No. Everything you type into Sample Size Calculator is processed in your own browser and stays on your device. Nothing is uploaded to our servers, nothing is written to a database, and nothing is sold or shared with advertisers. If you close the tab, the session is gone.
Does Sample Size Calculator work on mobile phones and tablets?
Yes. Sample Size Calculator is built mobile-first and adapts to any screen width, from a small phone to an ultrawide desktop. Controls are sized for touch, the layout never scrolls sideways, and every input can also be reached with a keyboard.
Is Sample Size Calculator available in Arabic?
Yes. Sample Size Calculator ships with an English and an Arabic interface, and you can switch language from the control inside the tool. Numbers and results are formatted for the language you choose, so the page is usable for both audiences without a separate URL.
How accurate is Sample Size Calculator?
Sample Size Calculator applies standard, published formulas to the figures you enter, and shows the result instantly so you can test several scenarios. Treat the output as a planning estimate rather than a certified figure: rounding, local tax rules and your own contract terms can move the final number, so confirm anything binding with a qualified professional.
Can I use Sample Size Calculator for business or client work?
Yes. Sample Size Calculator is free for personal and commercial use, and you can quote its output in quotes, proposals and internal planning documents. If you need the calculation embedded in your own website, branded and connected to your systems, Best Web Developer builds custom versions of exactly this kind of tool.
Need this built for your own business?
Best Web Developer builds custom calculators, tools and AI workflows on your own domain, with your branding, your data and your integrations. Start with managed website plans.
More tools and services
- 1031 Exchange Calculator
- 401(k) Contribution Optimizer
- 529 College Savings Calculator
- A/B Test Significance Calculator
- Accessible Ramp Calculator
- Accounts Payable Aging Calculator
If you would rather someone did this properly for you, we offer Web Design Services and Website Development, SEO Services: Search Engine Optimization, AI Automation Agency.
Questions
Questions about this tool
The things clients actually want to know — costs, timelines, ownership and what happens after launch.
About 385 for a 5% margin at 95% confidence in a large population, fewer for small populations.
The range around a survey result that likely contains the true value at the chosen confidence level.
Only when the sample is a sizeable share of the population.