Stockertim Dictionary · Marketing · Technology
Sample size
Also called base size, number of respondents
In short
The number of respondents or observations a study collects, which sets how precise its estimates are and how small a difference it can reliably detect.
- Intermediate
- Concept
- Checked
In detail
Sample size is the count of people, households or other units whose answers or results a study records, often written as n or called the base. It matters because every estimate drawn from a sample is uncertain, and the uncertainty shrinks as the sample grows. Researchers express this as a margin of error: the range around a figure within which the true value for the whole population probably lies.
The relationship is not a straight line. The margin of error falls with the square root of the sample, so halving it requires roughly four times as many respondents. For a simple random sample of about 400, a result near fifty per cent carries a margin of roughly five percentage points either side at the 95% confidence level commonly used; with 1,600 respondents it is closer to two and a half points.
Subgroups are where samples run thin. A survey of 1,000 people may be comfortable overall, yet the young urban renters inside it may number fifty, and a gap of a few points between two groups that small is usually noise. The same logic applies to experiments: a test meant to detect a small uplift needs large groups, and the analyst sets their size from the smallest difference worth knowing before the test starts.
Size is about precision, not bias. A large sample drawn from the wrong people gives a precise answer to the wrong question, so the way respondents are chosen matters at least as much as how many there are.
Formula
Margin of error ≈ 1.96 × √(p × (1 − p) / n)
- p
- the proportion found in the sample, written as a decimal
- n
- the sample size
- 1.96
- the multiplier for the commonly used 95% confidence level
Worked example
A survey of 400 people finds that 48% bought a product last month; within it, 120 people live alone and 60% of them bought.
- Margin for the whole sample: 1.96 × (0.48 × 0.52 / 400)^0.5 = 0.049
- Margin for those living alone: 1.96 × (0.6 × 0.4 / 120)^0.5 = 0.088
The overall figure is about 48% plus or minus 5 points; the subgroup figure is about 60% plus or minus 9 points.
In practice
Research proposals state the planned sample and the smallest subgroup that will be reported. Experiment planners calculate the group sizes needed before launch, and official statisticians publish confidence intervals beside their estimates.
Watch out
- The formula assumes a simple random sample; quota and online samples carry extra uncertainty that it does not capture.
- Doubling a sample narrows the margin by only about 30%, not by half.
Learn it properly
- Testing a chart idea on paper first15 min lesson Free course: Charts in context: technical analysis and its limits
- Bias and fairness testing15 min lesson Free course: Human resources and AI
- Bias and fairness15 min lesson Free course: AI ethics and responsible AI
- Brand tracking and health metrics5 min lesson Free course: Brand management
- Choosing an HR AI vendor: due diligence15 min lesson Free course: Human resources and AI
Official sources
- Sample sizes required · National Institute of Standards and Technology
- Sample size and data quality · US Census Bureau
- Uncertainty and how we measure it · Office for National Statistics
Facts last checked on 3 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.