Slovin’s formula is a quick way to choose a sample size from a population of known size N and a desired margin of error e. It is widely taught in research-methods courses.
n = N ÷ (1 + N e²)
Example: N = 2,000 and e = 5% give n = 2,000 ÷ (1 + 2,000 × 0.0025) = 333.3, rounded up to 334.
Limitations
Slovin’s formula silently assumes 95% confidence and maximum variability (p = 0.5) and cannot be adjusted. Reviewers often prefer Cochran’s formula, which makes these choices explicit and gives the same answer under those assumptions.