Calcsite / Statistics / Sample Size Calculator
Statistics

Sample Size Calculator

Determine the sample size needed for a target margin of error.

Sample Size

How this calculator works

Larger samples shrink the margin of error — this calculates how many observations you need to hit a target precision.

Formula

n = (z × stdev ÷ margin)²