Skip to main content

CalcDune

Home / Math Calculators / Sample Size Calculator

Sample Size Calculator

Estimate the sample size needed for a survey given confidence level and margin of error.

Sample Size Calculator

Estimate the sample size needed for a survey given confidence level and margin of error.

Parameters
How this is calculated

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.

About This Calculator

Estimate the sample size needed for a survey given confidence level and margin of error.

Formula

n = (Z^2 x p x (1-p)) / e^2, with finite population correction applied if a population size is given.

How the Sample Size Calculator Works

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.

Sample Size Calculator illustration — estimate the sample size needed for a survey given
Sample Size Calculator — free online calculator

How to Use the Sample Size Calculator

  1. Fill in the fields in the Sample Size Calculator — it only asks for the numbers the calculation actually needs.
  2. Review your entries for typos; a misplaced decimal is the most common cause of surprising results.
  3. Get your answer immediately, along with a detailed breakdown of how it was computed.
  4. Experiment freely — try different values to check your work to see how each input moves the result.

Understanding Your Results

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.

How the Calculation Works

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.

Sample Size FAQs

Is the Sample Size Calculator free to use?

Yes — the Sample Size Calculator is completely free, with unlimited calculations and no sign-up required.

Does it show the steps, or just the answer?

Both. You get the final answer plus the step-by-step working, so you can follow — and learn — the method.

How accurate is the Sample Size Calculator?

The calculation follows the standard mathematical procedure exactly. If an answer surprises you, double-check your inputs for typos or misplaced decimals.

Do I need to create an account?

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.