Estimate the sample size needed for a survey given confidence level and margin of error.
Estimate the sample size needed for a survey given confidence level and margin of error.
n = (Z^2 x p x (1-p)) / e^2, with finite population correction applied if a population size is given.
Estimate the sample size needed for a survey given confidence level and margin of error.
n = (Z^2 x p x (1-p)) / e^2, with finite population correction applied if a population size is given.
Estimate the sample size needed for a survey given confidence level and margin of error.
With our free Sample Size Calculator, you can estimate the sample size needed for a survey given confidence level and margin of error without spreadsheets or guesswork. It’s built for understanding the method behind an answer and preparing for exams alike: type in your numbers, get an instant result with a transparent breakdown, and adjust inputs to compare scenarios. Also try the Average Calculator, or browse all Math Calculators.

The breakdown is the real value here. Each intermediate step is shown, so you can pinpoint exactly where a hand calculation went wrong — or confirm that it went right.
For exam preparation, try solving the problem yourself first, then use the Sample Size Calculator to verify. Active practice beats passive reading every time.
Formula: n = (Z^2 x p x (1-p)) / e^2, with finite population correction applied if a population size is given.
The Sample Size Calculator applies this formula the instant you type — no manual math needed. Every figure in the results can be traced back to this calculation.
Yes — the Sample Size Calculator is completely free, with unlimited calculations and no sign-up required.
Both. You get the final answer plus the step-by-step working, so you can follow — and learn — the method.
The calculation follows the standard mathematical procedure exactly. If an answer surprises you, double-check your inputs for typos or misplaced decimals.
No. Every calculator on CalcDune works without registration, and your inputs are never sent to our servers or stored.
Further reading: Khan Academy, the free Khan Academy learning platform, offers deeper background on this topic.
Find the average (mean) of a list of numbers.
Use calculator →Calculate a confidence interval for a sample mean.
Use calculator →Quickly find the mean, median, mode and range of a data set.
Use calculator →Calculate the p-value for a given z-score and test type.
Use calculator →Calculate the number of permutations (nPr) or combinations (nCr).
Use calculator →Calculate the combined probability of two events (AND / OR).
Use calculator →