How to Calculate the Sample Size for a Survey
Published 9 November 2026 by Kloora Tools
Quick answer: use the free Sample Size Calculator to work out how many survey responses you need for a chosen confidence level and margin of error. It runs in your browser, so nothing you enter is uploaded or stored, and there is no signup.
What is the Sample Size Calculator?
Work out how many survey responses you need for a chosen confidence level and margin of error. People often search for it as "sample size calculator", "survey sample size" or "how many respondents do i need". This free version works on any phone or computer and needs no download.
How to use the Sample Size Calculator
- Open the Sample Size Calculator.
- Enter your values in the fields.
- The results update instantly as you type.
- Note or copy the numbers you need.
How it works
Cochran formula: n = z squared x p x (1 - p) / e squared, where e is the margin of error. For a known population N, the sample is adjusted to n / (1 + (n - 1) / N). Using p = 50 percent gives the largest, safest sample.
Worked example
- Input: Confidence level: 95%; Margin of error (%): 5; Expected proportion (%): 50; Population size (0 for unknown): 0
- Result: Sample size needed: 385; Without population correction: 385
Common uses
- Plan how many people to survey
- Choose a margin of error and confidence level
- Justify the sample size in a report
Second worked example
Here is the same tool with larger numbers, so you can see how the result scales.
- Input: Confidence level: 95%; Margin of error (%): 5; Expected proportion (%): 50; Population size (0 for unknown): 0
- Result: Sample size needed: 385; Without population correction: 385
Tips for the best result
- Check the units and the order of the numbers before you press anything.
- Estimate the answer roughly in your head first, so you can spot an input mistake.
- Keep more decimal places during the work and round only the final answer.
- Try a simple case you already know to confirm the tool does what you expect.
Common mistakes to avoid
- Swapping two inputs, such as base and exponent or x and y.
- Using degrees where radians are expected, or the other way round.
- Rounding too early and carrying the error forward.
- Entering a percentage as a decimal, or a decimal as a percentage.
Sample Size Calculator compared with doing it by hand
| Sample Size Calculator | By hand or in a spreadsheet | |
|---|---|---|
| Speed | Instant, results update as you type | Slow, you rebuild the steps each time |
| Accuracy | Same standard method every time | Easy to slip on a formula or a unit |
| Privacy | Runs in your browser, nothing uploaded | Depends on the software you use |
| Cost | Free, no signup | Free or paid software needed |
Try it now
Open the Sample Size Calculator and try your own numbers or text. If it helps, share it with someone who needs it.
Frequently asked questions
What formula does it use?
Cochran: n = z squared x p x (1 - p) / e squared, then adjusted for a finite population.
What proportion should I use?
Use 50 percent if you do not know, because it gives the largest and safest sample.
What does the Sample Size Calculator do?
Work out how many survey responses you need for a chosen confidence level and margin of error.
How do I use the Sample Size Calculator?
1. Enter your values in the fields. 2. The results update instantly as you type. 3. Note or copy the numbers you need.
Is my data safe when I use the Sample Size Calculator?
Yes. Everything runs in your browser on your own device. Nothing you type or choose is uploaded, stored or shared, and no AI service is used.
Does the Sample Size Calculator work on a phone?
Yes. It works on phones, tablets and computers in any modern browser, with nothing to install.
Do I need an account or a payment to use the Sample Size Calculator?
No. It is free, has no daily limit, no watermark and needs no signup.
What information does the Sample Size Calculator need?
You enter: Confidence level, Margin of error (%), Expected proportion (%), Population size (0 for unknown). The results update instantly as you change any value.
How does the Sample Size Calculator work?
Cochran formula: n = z squared x p x (1 - p) / e squared, where e is the margin of error.
Can I use this for "survey sample size"?
Yes. The Sample Size Calculator is built for exactly that, and it also answers searches such as "sample size calculator" and "how many respondents do i need".
How accurate is the Sample Size Calculator?
It uses the standard method and shows results to a sensible precision. For legal, medical, financial or safety decisions, confirm important numbers with a qualified professional.
Where can I find more free tools like the Sample Size Calculator?
Kloora Tools has over 150 free tools for CVs, PDFs, images, Urdu, calculators and everyday tasks. Browse them all from the home page.
Related free tools
More guides
Percentage Mistakes People Make and How to Avoid Them
Clear examples of the most common percentage errors: discounts, increases, reversing a percentage and the difference between percent and percentage points.
11 November 2026
Sample Size Calculator Free: Steps, Tips and FAQs
Sample Size Calculator Free free and online. Steps, answers to common questions and related searches for the Sample Size Calculator. No signup.
7 November 2026
How to Calculate Mean, Median and Mode
Find the mean, median, mode, range and standard deviation of a list of numbers. Free average calculator (mean, median, mode) with steps and examples.
16 November 2026