Skip

Sample Size Calculator

Sample Size Calculator: free, instant and precise. Enter your values and the results update live.

What if? Simulation

The curve recalculates the result for every value of the chosen input, all others unchanged. The dot is your current case.

Formula shown and computed in your browser. Updated November 2026.

Full calculator on Kalqo

Formula

n₀ = z²·p(1-p)/e² ; n = n₀ / (1 + (n₀-1)/N)

Worked example

With these values

Population size
10,000
Confidence level
95
Margin of error (%)
5

The calculator gives

Sample size
370

These values are only an illustration. Replace them with yours in the form above.

How "Sample size" changes with "Population size"

Population sizeSample size
5,000357
8,000367
10,000370
12,000373
15,000375

All other values stay as in the example.

How to use this calculator

Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.

Read the guide

Questions

How is the result calculated?

The calculator applies this rule: n₀ = z²·p(1-p)/e² ; n = n₀ / (1 + (n₀-1)/N)

Is it free?

Yes. It is free, needs no account, and works on phone and desktop.

Are my numbers stored?

Everything runs in your browser. Nothing you type is sent to a server.