Survey sample size calculator

Calculate required sample size with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use required sample size to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Critical z
1.96
Margin of error (proportion)
0.05
Expected proportion
0.5
Required sample size
385

Try another scenario

Critical z
2.156
Margin of error (proportion)
0.05
Expected proportion
0.5
Required sample size
465
Calculation method

Calculation method

Required sample size

roundUp(a × a × c × (1-c) ÷ (b × b))

Symbols and units
a
Critical z
b
Margin of error (proportion)
c
Expected proportion

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Calculation steps and notation

roundUp(x) rounds up to the next whole number. Values within two floating-point rounding units of an integer are treated as that integer.

Assumptions & limits

Assumptions & limits

  • Large-population simple-random-sample approximation. No finite-population correction or design effect is included.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.