Sample Size Calculator | Find required sample size for confidence & margin
Last updated: June 2026 · Free · No sign-up required
Enter values above and click Calculate to see your result instantly.
Quick reference
Sample size for a large population (50% response):
| Margin of error | 90% conf. | 95% conf. | 99% conf. |
|---|---|---|---|
| +/-5% | 271 | 385 | 664 |
| +/-3% | 752 | 1,068 | 1,843 |
| +/-2% | 1,691 | 2,401 | 4,147 |
| +/-1% | 6,764 | 9,604 | 16,588 |
functions Shows the working, not just the answer
For students and teachers, the final number is only half the value. Every math tool here exposes the formula it applied, the intermediate steps, and the rounding rule, so you can follow along, check your homework, or use the answer in a proof or report with confidence.
calculate Accurate to the spec
Calculations use 64-bit floating point with sensible rounding for the domain (currency to 2 decimals, percentages to 4 decimals, algebra to 6 significant figures). Where exact rational arithmetic matters — fractions, factorials, simplification — we use a dedicated BigNumber path so 1/3 + 1/6 returns ½, not 0.49999.
school Free for classroom use
Educators are welcome to link to any math calculator on CalcaTools from a class site, Google Classroom, or worksheet. The pages are mobile-friendly, free, ad-supported (so we can keep them free) and have no sign-up wall — students just click and use them in class or at home.
tips_and_updates Pair with the spoke articles
Below the calculator we link a small set of plain-English explainer pages — "What is a percentage?", "Why does PEMDAS matter?", and so on. They cover the underlying concept in 4–6 short paragraphs. Read those before the calculator if the topic is new, or after if you want the extra context.
Interpretation guide
What changes the required size:
| Lever | Effect |
|---|---|
| Lower margin of error | Needs a larger sample |
| Higher confidence | Needs a larger sample |
| Response near 50% | Needs the largest sample (most variance) |
| Small population | Apply the finite population correction |
lightbulb Worked example
Result: The calculator instantly applies the formula n = z^2 x p(1-p) / e^2; then correct for finite population: n_adj = n / (1 + (n-1)/N) and returns the result with appropriate precision.
What this means: Read the result in the context of what you are measuring. The step-by-step breakdown lets you confirm the math and understand which input most affects the outcome.
Formula & methodology
Formula: n = z^2 x p(1-p) / e^2; then correct for finite population: n_adj = n / (1 + (n-1)/N)
The Sample Size Calculator is built on a well-established calculation method. It uses the formula n = z^2 x p(1-p) / e^2; then correct for finite population: n_adj = n / (1 + (n-1)/N) to turn your inputs into a reliable result. Determines how many survey respondents you need for statistically reliable results. Enter your population size, desired confidence level — 90%, 95%, or 99% — and the margin of error you can accept, and the tool returns The steps are shown on the page so you can follow the reasoning from input to output.
The calculator finds the minimum number of responses needed for results within your chosen margin of error at a given confidence level. It uses the standard formula with p = 0.5 (the most conservative, highest-variance assumption) unless you supply an expected proportion. For small or known populations it applies the finite population correction so you don't over-sample. Tighter margins and higher confidence both demand larger samples.
Authoritative source: Wolfram MathWorld
Frequently asked questions
Explore the full statistics toolkit
Every CalcaTools statistics calculator — descriptive measures, probability distributions, hypothesis tests, confidence intervals, and Six Sigma process metrics — with step-by-step workings on each result.
Center & spread
- Statistics Calculator | Compute Mean, Median, Mode & Quartiles
- Mean Median Mode Calculator | Get mean, median, mode & count
- Variance Calculator | Calculate variance from data samples
- Standard Deviation Calculator | Compute mean, variance & std dev
- Absolute Deviation Calculator | Compute absolute deviation
- Coefficient of Variation Calculator | CV from SD & mean
- Percentile Range Calculator | Get Spread Between Two Percentiles
- Percent Deviation Calculator | Percent deviation from reference
Distributions
Hypothesis tests
Scores, intervals & samples
- Z-Score Calculator | Compute Standard Score and Percentile
- Confidence Interval Calculator | Get mean & proportion CIs
- Population Proportion Calculator | Estimate Proportion: SE & CI
- Upper and Lower Bound Calculator | Bounds from value & unit
- Mean Squared Error Calculator | MSE between obs & preds
- Coefficient Of Determination Calculator | Report R² & Regression