Population and sample: what is the difference?
Last updated: 2026-11-26
The population is the whole set of items your question is about, and the sample is the subset you actually measured. A number that describes the population is a parameter; a number computed from the sample is a statistic. A question about the two often comes down to which group a number describes.
Start learning No account needed
1. Two groups, two kinds of number
Wikipedia's statistical population article defines a population as "a set of similar items which is of interest for some question or experiment," and its examples go beyond people: all the stars in the Milky Way, or every possible poker hand. The sampling article covers the other half. Sampling picks some members of a population in order to estimate characteristics of all of it, which costs less than measuring everyone, and in some cases measuring everyone is essentially impossible.
The numbers get different names because they describe different groups. The statistic article calls a statistic "any quantity computed from values in a sample" that is used for a statistical purpose, and a population parameter is a characteristic of the population under study. A statistic used to estimate a parameter is called an estimator. The standard case is the sample mean: with suitable sampling, such as random sampling, it estimates the population mean without bias, which means its expected value equals that mean. That is a statement about the average over the possible samples; one sample can land to one side, as the worked example shows.
2. A worked example: eight students, three samples
A study group of 8 students keeps a record of hours studied per week: 4, 7, 2, 9, 5, 6, 3 and 8. The hours are invented for the example. Compute the population mean once, then three samples from it, by hand-sized arithmetic. The script is scripts/population-vs-sample-worked-example.py in the Professor Turing repository:
population: the 8 students, (4, 7, 2, 9, 5, 6, 3, 8)
parameter, the population mean: 44 / 8 = 5.50 hours
sample A (students 1, 2, 3): values (4, 7, 2), statistic (sample mean) = 13 / 3 = 4.33 hours
misses the parameter by 1.17 hours
sample B (students 4, 6, 8): values (9, 6, 8), statistic (sample mean) = 23 / 3 = 7.67 hours
misses the parameter by 2.17 hours
a bigger sample of 5: (4, 7, 9, 5, 6), mean = 31 / 5 = 6.20 hours, still 0.70 from the parameter
census, all 8 students again: mean = 44 / 8 = 5.50, the parameter itself
The parameter is 5.50 hours, one number describing all 8 students. Sample A lands 1.17 hours below it and sample B 2.17 hours above, from the same population. Neither calculation is wrong, since each statistic describes the students it contains. Some samples can happen to hit 5.50, but the census, which measures everyone, is the one that has to give it. Wikipedia's population article notes that small samples in particular can miss the population mean, and that a larger sample makes a close result more likely.
3. Why the statistic moves
Two samples from one population gave two different means because they contain different students. The sampling article describes the aim as a representative sample, one that mirrors its population, so how a sample was picked affects what it can say about everyone else. When some members have no chance of selection, or the chances cannot be worked out, the article calls it nonprobability sampling and says it "does not allow the estimation of sampling errors." The samples here were chosen by hand to show the spread, which works for illustrating arithmetic and would not do for inference.
4. A common misconception: reporting the sample number as the population's
A common slip is quiet: compute 4.33 from three students and write "students study 4.33 hours a week." The number describes the sample; the sentence claims it for the population. Wikipedia's population article describes the step in between: from a representative subset you can estimate the population's parameters using sample statistics. A number reached that way is an estimate, so report it as one. The habit that fixes the slip is naming the group with the number: 4.33 is the mean of students 1 to 3, and 5.50 is the mean of all 8. When a question gives you a number, ask what set it was computed from before you use it.
5. Test yourself
Close this page and answer three questions: what is the population in the worked example and what is one sample; why do samples A and B give different means from the same eight students; and if you measured all 8 students and computed 5.50, is that number a statistic or a parameter? Then reopen the page and compare with the script's census line.
For where samples land in inference, see what is a t test and what is a sampling distribution, which shows what happens to the statistic across many samples. For the subject as a whole, see learn statistics on your own. For how practice checks work, see how to test yourself.
What the sources found, and their limits
Wikipedia, "Statistical population". It defines the population as a set of similar items of interest for a question, gives the Milky Way stars and poker hands examples, states that the population is modelled by a distribution with unknown parameters, that a representative sample lets you estimate those parameters with sample statistics, and that small samples in particular can miss the population mean. Source: Statistical population, read on 2026-11-25.
Wikipedia, "Sampling (statistics)". It defines sampling as picking part of a population in order to learn about all of it, explains why measuring everyone is often impossible, states the representativeness aim, and covers probability and nonprobability designs, noting that nonprobability sampling "does not allow the estimation of sampling errors." Source: Sampling (statistics), read on 2026-11-25.
Wikipedia, "Statistic". It defines a statistic as a quantity computed from sample values, names the mean of sample values as an example, distinguishes the population parameter, introduces the estimator naming, calls the sample mean unbiased for the population mean, and notes that whether an estimator is unbiased can depend on how the sample was selected. Source: Statistic, read on 2026-11-25.
Limits: encyclopedia articles, not course texts. The study group, its 8 hour values and the three samples are invented; the samples were picked by hand to spread around the parameter, so they illustrate the arithmetic and say nothing about random sampling. The page says so.
How Professor Turing helps
Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start.
Bring a stats problem and say which part you can do. Its first reply asks what you already know before it teaches anything. If you report a sample mean as the population's, it asks which group the number came from instead of saying wrong, and when you stay stuck it makes the next step smaller, back to one group and one sum. Later in a session it can offer a short test without help, scored apart from the tutoring, so you can tell what you can do alone from what the tutor carried you through. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.
FAQ
Is the sample mean a parameter or a statistic? A statistic. Wikipedia's statistic article describes a statistic as a number worked out from sample values, and the mean of sample values is its first example. The population mean is the parameter. A statistic used to estimate it is called an estimator, and with suitable sampling, such as random sampling, the sample mean estimates it without bias.
Can a population be objects instead of people? Yes. Wikipedia's statistical population article defines a population as a set of similar items of interest for some question, and its examples include all the stars in the Milky Way and every possible poker hand. In acceptance sampling the population can be one production batch a factory is deciding whether to release.
Start with what you're working on
Tell the tutor which stats topic you are studying and let it ask you the questions.
Start learning No account needed
See also: learn statistics on your own · stratified and cluster sampling · all study guides