Raosoft Sample Size Calculator

This Raosoft sample size calculator uses the same inputs and formula as the Raosoft tool to tell you how many survey responses you need. Enter your margin of error, confidence level, population size and expected response distribution to get the recommended sample size.

50% gives the most conservative (largest) sample size.

Checks on your data

  • Sample-size formulas assume a simple random sample and that most invited people respond. Non-response or a convenience sample can bias the results by far more than the margin of error suggests.

Results

Recommended sample size
306
20.4% of the population
Without population correction
385
z critical value
1.96
Population size used
1500
Margin of error
± 5 %
Confidence interval for a result of 50%
45 % to 55 %
Sample size vs margin of error (N = 1500, 95% confidence)
050010001500246810youMargin of error (±%)
Sample size by confidence and margin of error (N = 1500, response distribution 50%)
Margin of error90%95%99%
± 1%122812981376
± 2%7969241102
± 3%501624828
± 5%230306461
± 10%6591150
Show step-by-step solution
  1. x = z² × p(1 − p) = 1.96² × 0.5 × 0.5 = 0.960365.
  2. n = N·x ÷ ((N − 1)·e² + x) = 1500 × 0.96036 ÷ ((1499) × 0.0025 + 0.96036) = 305.99.
  3. Round up to 306.
InputsMargin, confidence, population, distribution
Typical±5% at 95% needs about 385
Conservative setting50% distribution
AddsTable and chart

What Is Raosoft Sample Size?

The sample size for a survey depends on four things: how much error you can accept (margin of error), how confident you want to be, how large the population is, and how split you expect the answers to be. Setting the response distribution to 50 % is the conservative choice because it gives the largest sample.

The calculator also shows the sample size without the finite population correction, the z critical value used, and the margin of error implied by the result. A lookup table and chart let you compare several margins and confidence levels at once.

The sections below show the formula, define each variable, work through an example and answer questions such as what happens when the population is very large and how to treat low response rates.

How to Use the Raosoft Sample Size Calculator

  1. Enter the margin of error you can live with, for example 5%.
  2. Pick the confidence level (95% is standard).
  3. Enter the size of the population, or leave it at a large default if it is unknown or very large.
  4. Leave the response distribution at 50% unless you have good evidence about the likely split.
  5. Use the result as the number of completed responses you need, and plan for non-response.

Raosoft Sample Size Formula

Sample size with finite population

n=N x(N−1)e2+x,x=z2 p(1−p)n=\frac{N\,x}{(N-1)e^2+x},\quad x=z^2\,p(1-p)

Margin of error for a given n

e=zp(1−p)n⋅N−nN−1e=z\sqrt{\frac{p(1-p)}{n}\cdot\frac{N-n}{N-1}}

Raosoft Sample Size Variables Explained

SymbolMeaningNotes
nRecommended sample sizeRounded up
NPopulation sizeUse a large number if unknown
EMargin of errorAs a proportion, e.g. 5 % = 0.05
zCritical value for the confidence level1.96 for 95 %
pExpected response distribution50 % is the most conservative

Raosoft Sample Size Worked Example

Using the example values (press “Load example” above to try them):

  1. x = z² × p(1 − p) = 1.96² × 0.5 × 0.5 = 0.960365.
  2. n = N·x ÷ ((N − 1)·e² + x) = 1500 × 0.96036 ÷ ((1499) × 0.0025 + 0.96036) = 305.99.
  3. Round up to 306.

Result: Recommended sample size = 306.

Understanding the four inputs

A “±5% at 95% confidence” statement means: if you repeated the survey many times, in 95 out of 100 the true population percentage would be within 5 points of the percentage you observed.

What each input means
InputMeaningTypical value
Margin of errorHow far the sample result may be from the true value3% to 5%
Confidence levelHow sure you want to be that the true value lies within the margin95%
Population sizeNumber of people in the group you want to describeKnown or large
Response distributionExpected share answering a particular way50% when unknown

Why more responses give diminishing returns

Precision improves with the square root of the sample size. Moving from ±10% to ±5% costs about three times as many responses; moving from ±5% to ±2.5% costs four times more again. The chart shows how steeply the curve climbs as the margin shrinks, which is why most surveys stop around ±3% to ±5%.

Does the population size matter?

Only when it is small. Once the population exceeds about 20,000 the required sample hardly changes: it is around 377 for ±5% at 95% whether the population is 20,000 or 20 million. For a population of a few hundred the required sample is a large share of it, so enlarge your effort to reach most of them.

Things the formula does not handle

  • Non-response: if only 30% of invitations are answered, invite about three times as many people as the sample size.
  • Bias: a large sample drawn from the wrong people is still wrong.
  • Subgroups: if you need results for subgroups, size each separately.
  • Clustered designs: cluster sampling needs a design-effect adjustment (see the Cochran calculator).

Where Raosoft Sample Size Is Used

Planning a survey

Deciding how many completed responses to aim for before you start collecting.

Customer and employee surveys

Choosing a sample size for a finite group of customers or staff.

Comparing precision targets

Seeing how much a tighter margin of error or higher confidence level adds to the sample.

Checking an existing sample

Finding the margin of error your achieved sample size gives.

Common Raosoft Sample Size Mistakes to Avoid

  • Always report the margin of error and confidence level with survey results.
  • Round up.
  • Increase the sample for subgroup comparisons.
  • When in doubt use 50% for the response distribution.

Raosoft Sample Size Terms and Definitions

Response distribution
The expected percentage of respondents giving a particular answer; 50% is the most conservative choice.

Raosoft Sample Size FAQs

How do I use the Raosoft sample size calculator?

Enter your margin of error, confidence level, population size and expected response distribution. The tool returns the number of responses needed.

What is a good sample size for a survey?

For ±5% at 95% confidence, about 385 completed responses for a large population. Smaller populations need fewer.

Why is the response distribution 50% by default?

Because it maximises the variability p(1 − p), so the resulting sample size works whatever the true split turns out to be.

Does this match the original Raosoft results?

The formula is the same, so results should agree for the same inputs. Small differences can arise from rounding.

What if I don’t know my population size?

Use a large number. Above about 20,000 the result barely changes.

How many people should I invite?

Divide the sample size by the response rate you expect. With a 20% response rate you need five times as many invitations as responses.

Related calculators

Last updated 2026-11-09. See our disclaimer.