Analytics consent

We would like to measure how the free tools are used so we can improve them. Analytics is off until you choose. You can accept or decline — declining does not limit the free tools in any way, and you can change your mind later.

Current state: not decided — analytics is off

Sample Size Calculator

Find the sample size you need for your survey or study. Enter the population size, confidence level, margin of error and expected proportion.

Required sample size for 95% confidence and ±5% margin of error

385

n ≈ 385 (uncorrected: 385)

What this means

A sample of 385 respondents gives the required precision at the 95% confidence level and ±5% margin of error, assuming an expected proportion of 50%.

This calculation assumes simple random sampling.

Show the working

Formula: n₀ = Z²·p(1−p)/E²

Values: Z = 1.96 · p = 0.5 · E = 0.05

Substitution: n₀ = 1.96² × 0.5 × (1 − 0.5) / 0.05² = 384.16

Calculation: n₀ = 384.16

Result: n₀ → 385

Rounding: Rounded up to 385 (never down) because you need at least that many observations.

Assumptions
  • Simple random sampling from the target population.
  • Expected proportion p = 0.5 (50%); 0.50 maximizes the required sample size when no better estimate exists.
  • Margin of error 5% and 95% confidence level are chosen in advance.
Limitations
  • This formula does not account for design effects (clustering/stratification) or nonresponse; real surveys may require a larger sample.
  • The result is a target, not a guarantee — achieved precision depends on the actual proportion observed.
How to report it

A sample size of 385 respondents was required at a 95% confidence level and 5% margin of error.

How sample size works

Sample size is the number of respondents or observations you need to collect so your results are precise enough to act on. The more people you sample, the smaller your margin of error — but the higher your fieldwork cost.

The calculation uses four inputs. The confidence level is how sure you want to be that the true value lies within your margin of error (95% is the standard). The margin of error is the maximum acceptable sampling error. The expected proportion is your best guess at the true percentage — 50% is the safest choice because it maximises the required sample. The population size is the total group you are sampling from; leave it blank when the population is effectively unlimited.

If you know the population size, the result is adjusted with the finite-population correction, which slightly reduces the sample you need.

The formula

n₀ = z²·p(1−p) ÷ e², then n = n₀ ÷ (1 + (n₀−1) ÷ N)

z is the z-score for the chosen confidence level (1.96 for 95%), p is the expected proportion, e is the margin of error, and N is the population size. The result is always rounded up to a whole number — you cannot interview a fraction of a respondent.

Worked example

A study with a population of 10,000

For 95% confidence, a 5% margin of error and an expected proportion of 50%: n₀ = 1.96² × 0.25 ÷ 0.05² = 384.16, so 385. With the finite-population correction: 384.16 ÷ (1 + 383.16 ÷ 10,000) = 370.0, so you need a sample of about 370.

Frequently asked questions

What confidence level should I use?

95% is the standard choice for most research and gives a z-score of 1.96. Use 90% for exploratory work or 99% when the stakes are high and you need more precision.

Why is 50% the default expected proportion?

p(1−p) is largest when p = 0.5, so 50% produces the biggest sample size. It is the safest assumption when you do not know the true proportion, because it never under-samples.

Why is the result rounded up?

The formula produces a minimum sample size. Rounding up guarantees you collect at least that many, since you cannot survey a fraction of a respondent.

Related research methods

  • Survey Sampling
  • Hypothesis Testing

When to use this tool

Use this when you are planning data collection and need to decide how many responses or observations are required to estimate a population value within an acceptable margin of error.

Assumptions

  • Random sampling or a sampling frame you can reason about.
  • A specified confidence level (commonly 95%).
  • A stated margin of error you are willing to accept.

Limitations

  • A larger sample only reduces sampling error — it does not fix non-response bias, measurement error, or a biased sampling frame.
  • The result is an estimate; the true value will usually differ by some amount within the margin of error.

How to interpret the result

The calculator returns the minimum sample size needed under your assumptions. Using fewer respondents increases the actual margin of error; using more narrows it, with diminishing returns.

How to report the result

Report the confidence level, the target margin of error, and the assumed expected proportion (or variability) alongside the resulting sample size.

Next steps in your analysis

Built by PanelRoster

PanelRoster is an enterprise operations management platform for organizations coordinating distributed teams, assignments, workflows, quality assurance and operational execution.

Explore PanelRoster