Ad Space — Top Banner

Sample Size Formula

Formula for calculating the minimum sample size needed for surveys and research studies at a given confidence level and margin of error.

The Formula (Infinite Population)

n = (z² × p × (1 - p)) / e²

With Finite Population Correction

n_adj = n / (1 + (n - 1) / N)

Variables

SymbolMeaning
nRequired sample size
zZ-score for desired confidence level
pExpected proportion (use 0.5 if unknown)
eMargin of error (as a decimal)
NTotal population size
n_adjAdjusted sample size for finite population

Z-Values for Common Confidence Levels

Confidence LevelZ-Value
80%1.282
85%1.440
90%1.645
95%1.960
99%2.576

Quick Reference

Margin of Error95% Confidence99% Confidence
±1%9,60416,590
±3%1,0681,844
±5%385664
±10%97166

Example

How many people should you survey for ±5% margin at 95% confidence?

z = 1.960, e = 0.05, p = 0.5 (unknown proportion)

n = (1.96² × 0.5 × 0.5) / 0.05²

n = (3.8416 × 0.25) / 0.0025

n = 0.9604 / 0.0025 = 385 responses needed


Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.