Skip to main content
Istibana
All guides

Sample size with the Stephen Thompson formula (free calculator)

Last updated: 25 November 2026

Enter your population size and get the sample size instantly with the Stephen Thompson formula, plus the Krejcie & Morgan table, how many people to invite, and when you need statistical power instead.

Population 1,000, 95% confidence, 5% marginn = 278

Calculate your sample size

Leave it at 0.5 if you don’t know it; it gives the largest safe sample.

How many of the people you invite will actually answer?

Required sample size
278
Stephen Thompson formula, rounded up
Send the survey to
278
For a very large or unknown population
385

The formula and its symbols

n = N × p(1 − p) ÷ [(N − 1) × (d² ÷ z²) + p(1 − p)]

N is the population size, z the standard score for the confidence level (1.96 at 95%), d the margin of error (0.05) and p the expected proportion (0.5 when unknown).

Always round up: a sample is never a fraction and never rounded down.

The Krejcie & Morgan table is the same formula

The Krejcie & Morgan (1970) table is built on essentially the same formula, so it gives the same numbers at 95% confidence and a 5% margin. One value may differ by one because of rounding.

95% confidence, 5% margin, p = 0.5
Population NSample n
10080
200132
300169
500217
1000278
2000322
5000357
10000370
100000384

When this formula is not enough

The Thompson formula answers one question: how many people do I need to represent a mean or a proportion in the population? If your study compares groups or tests a relationship, the question becomes: how many people do I need to detect the effect if it exists? Statistical power (G*Power) answers that, not the formula.

Standard G*Power values, two-tailed
Test (medium effect, power 0.80, α = .05)Required sample
Independent-samples t-test, d = 0.564 per group
One-way ANOVA, 3 groups, f = 0.25159 in total
Pearson correlation, r = 0.384

How to write it in your methods chapter

The study population comprised 1,000 students. The sample size was determined with the Stephen Thompson formula at a 95% confidence level and a 5% margin of error, giving 278 participants. Expecting a response rate of about 60%, the survey was sent to 464 people.

Common mistakes

  • Using 384 for every study; it applies only to very large populations, and a small population needs a smaller sample.
  • Forgetting non-response: if you need 278 answers, 278 invitations will not be enough.
  • Citing the formula as evidence of power for a test of differences or relationships.
  • Claiming the sample “represents the population” when it is a convenience sample, not a random one.
Sample size with the Stephen Thompson formula (free calculator) | Istibana