Skip to content
LoveToCalc

Concept — what does that mean?

Populations and samples

The population is the whole group you want to know about, and a sample is the part of it you actually examine. What you calculate from the sample is an estimate of the matching number for the population.

In Swedish: Population och stickprov

What it is

The population is the whole group you want to know about. It need not consist of people: all the screws a machine makes in a week, all the pupils at a school and all the readings a thermometer could give are populations. A sample is the part of the population that is actually examined. Examining the whole population is called a census.

A sample is taken when the population is too large, too costly or impossible to examine in full. A test that pulls a screw until it breaks destroys it, so not every screw can be tested.

Population Sample
Size N n
Mean μ x̄
Standard deviation σ s
Proportion p p̂

The population’s numbers are fixed but usually unknown. The sample’s numbers are calculated from the data and vary from sample to sample.

A school has 600 pupils. 60 pupils chosen at random are asked how they get to school, and 21 cycle. The sample proportion is p̂ = 21/60 = 0.35. Another random sample of 60 pupils might give 18 cyclists (0.30) or 24 (0.40), and the proportion for the whole school is a single number that none of them need hit. How far off a sample tends to land is worked out with the confidence interval for a proportion: for 21 out of 60, the 95% interval runs from about 0.23 to 0.47.

How the sample is chosen decides what can be said:

The first four rely on chance, and there are methods for calculating their uncertainty. The last does not, and then the formulas have nothing to stand on.

Sources of error. The difference between sample and population has two kinds of cause. Sampling error is the random variation between samples, and it shrinks as the sample grows. Systematic errors do not shrink with sample size: the people chosen are not like the population, those who do not answer differ from those who do (non-response), the question steers the answer, or the measurement is wrong.

A large sample does not fix a biased one. Before the 1936 US presidential election, the magazine Literary Digest sent questionnaires to 10 million people and received 2.38 million replies. It predicted 57% for Landon, but Roosevelt won by a wide margin. The addresses came from subscribers, car owners and telephone subscribers, groups that were richer than average during the Depression of the 1930s, and according to later analyses non-response was the main cause of the error.

Why it matters

Common misconceptions

Common questions

When is a census better than a sample? When the population is small, like a class of 25 pupils, and it is just as easy to measure everyone. Then there is no sampling uncertainty to calculate. A sample pays off when the population is large or when measuring destroys what is measured.

How large should the sample be? That depends on how much uncertainty you accept. The sample-size formulas work it out for a chosen margin of error and confidence level. Halving the margin of error takes four times as many answers.

Why divide by n − 1 for a sample? The mean is calculated from the same sample, so the sum of squares around it is slightly too small on average. The denominator n − 1 makes up for that; see the sample variance.

Last reviewed October 22, 2026 ·How pages are reviewed

Calculate it in practice

Statistics and probabilityAll formulas