CalcaTools

Sample Size Calculator

A Sample Size Calculator is a free online tool that solves how many survey respondents using how many survey respondents, statistical sample size, margin of error. Students, teachers, and engineers use it to check homework, prep for exams, and verify hand calculations.

Last updated: June 2026 · Free · No sign-up required

Results

Enter values above and click Calculate to see your result instantly.

Quick reference

Sample size for a large population (50% response):

Margin of error90% conf.95% conf.99% conf.
+/-5%271385664
+/-3%7521,0681,843
+/-2%1,6912,4014,147
+/-1%6,7649,60416,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:

LeverEffect
Lower margin of errorNeeds a larger sample
Higher confidenceNeeds a larger sample
Response near 50%Needs the largest sample (most variance)
Small populationApply the finite population correction

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 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.

Frequently asked questions

How big should my survey sample be?
For a large population at 95% confidence and a +/-5% margin, about 385 responses. Tighter margins need many more.
What is margin of error?
The +/- range around your result. A +/-3% margin means the true value is likely within 3 points of your sample figure.
Why assume a 50% response rate?
p = 0.5 maximizes variance, giving the largest, safest sample size when you don't know the expected proportion.
Does population size matter?
For large populations, barely. For small ones, the finite population correction reduces the required sample.
How does confidence level affect sample size?
Higher confidence (e.g., 99% vs 95%) requires a larger sample to achieve the same margin of error.

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.

Process quality