Calculate & Convert

Sample Size Calculator

How many survey responses you need for a target margin of error.

Enter values

%

The formula

n₀ = z² · 0.25 / e² (with finite-population correction when N is known)

Required sample size depends on the confidence you want and the margin of error you can tolerate, not on population size — which is why national polls need only about a thousand responses. Halving the margin of error quadruples the sample, since error falls with the square root.

All calculations run locally in your browser and update instantly as you type.

Example calculations

Common questions this calculator answers — select one to load its values.

Related calculators

Frequently asked questions

Why does it assume a 50% proportion?+
A proportion of 0.5 maximises variance, giving the largest (safest) sample size. If you know the real proportion is far from 50%, you can survey slightly fewer people.
All calculations run locally in your browser. Nothing you type is sent to a server.