Sample Size Calculator

How many responses you need for a survey.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Sample size calculator

This tool finds the survey sample size you need for a target margin of error and confidence level. It is built for researchers, marketers and students planning a poll or A/B test who need to know how many responses make the result statistically reliable.

How it works

It uses Cochran’s formula for estimating a proportion:

n₀ = z² · p · (1 − p) ÷ e²

where z is the critical value for your confidence level, p is the expected proportion, and e is the margin of error as a decimal. When you supply a total population N, the finite-population correction is applied:

n = n₀ ÷ ( 1 + (n₀ − 1) ÷ N )

The result is rounded up to a whole number of respondents.

Example

95% confidence (z = 1.96), 5% margin (e = 0.05), proportion 50% (p = 0.5), population unknown:

n₀ = 1.96² × 0.5 × 0.5 ÷ 0.05² ≈ 384.16 → 385 respondents

Add a population of 5,000 and the correction trims it to roughly 357. All maths runs in your browser.

Ad placeholder (rectangle)