Population vs Sample: A Complete How-To Guide for Understanding Statistical Data Collection

Every data-driven decision starts with one question. Are you looking at all the data, or only part of it? That is the difference between a population and a sample. Get it wrong and you may use the wrong formula, report false precision, or draw conclusions that do not hold.

This guide explains population vs sample in plain terms. It covers the symbols, the formulas, the main sampling methods, a checked worked example and how to choose a sample size.

What is a population in statistics?

A population is the complete set of items, people or events you want to draw conclusions about. It is defined by your question, not by its size. A population can be small, such as the 12 machines on one production line, or very large, such as every invoice your company will ever issue.

A number that describes a population is called a parameter. The population mean (μ) and the population standard deviation (σ) are parameters. In most real projects, parameters are unknown because measuring every member is too slow, too costly or impossible.

What is a sample in statistics?

A sample is a subset of the population that you actually measure. A number that describes a sample is called a statistic. The sample mean (x̄) and the sample standard deviation (s) are statistics. You use statistics to estimate parameters. For more on this link, see our guide to parameter vs statistic.

Key takeaways

  • The population is everything you want to know about. The sample is what you measure.
  • Parameters describe populations. Statistics describe samples.
  • Sample formulas divide by n - 1. Population formulas divide by N.
  • A good sample is random and large enough. A bigger biased sample does not help.

Population vs sample: comparison table

FeaturePopulationSample
DefinitionEvery member of the group of interestA subset drawn from the population
Describing numberParameterStatistic
Size symbolNn
Mean symbolμ (mu)x̄ (x-bar)
Standard deviation symbolσ (sigma)s
Proportion symbolpp̂ (p-hat)
Variance formulaσ² = Σ(x - μ)² / Ns² = Σ(x - x̄)² / (n - 1)
UncertaintyNone from sampling (only measurement error)Sampling error, shown by a margin of error
Cost and timeHigh, sometimes impossibleLower and faster

Examples of populations and samples

QuestionPopulationSample
What is the average handling time in our contact centre this month?Every call handled this month300 calls picked at random from the call log
How long do our components last?Every component made from this design10 components tested to failure
Are customers satisfied with delivery?All customers who received an order this quarterCustomers who answered a survey sent to a random list
How many training hours did our 15 supervisors complete?All 15 supervisorsNot needed: measure all 15

The last row matters. When the population is small and easy to reach, measure all of it. Sampling is a tool for when a census is not practical.

When to use population data and when to sample

Use the whole population when:

  • The group is small and every record is easy to reach.
  • The data already exists in a system, such as all orders in an ERP report.
  • Every item matters, such as safety-critical parts that need 100% inspection.

Use a sample when:

  • The population is large or still growing, such as future production.
  • Testing destroys the item, such as strength or life testing.
  • Time or budget is limited and an estimate with a known margin of error is enough.

Sampling methods

MethodHow it worksWhen to use it
Simple random samplingEvery member has an equal chance of selectionYou have a full list of the population
Stratified samplingSplit the population into groups, then sample each group in proportionGroups differ, such as day and night shifts
Systematic samplingPick every kth item after a random startItems flow in order, such as parts off a line
Cluster samplingPick whole groups at random, then measure everyone in themThe population is spread across many sites
Convenience samplingMeasure whatever is easiest to reachAvoid for decisions: high risk of bias

Worked example: estimating a population mean from a sample

Worked example

This is an illustrative example. A factory wants to know the average life of a new electronic component. Life testing destroys the part, so the team tests a random sample of 10 parts to failure. The results in hours are:

2,450, 2,380, 2,510, 2,420, 2,490, 2,470, 2,400, 2,530, 2,440, 2,460

Step 1: Sample mean. The total is 24,550 hours. x̄ = 24,550 / 10 = 2,455 hours.

Step 2: Sum of squared deviations. Subtract 2,455 from each value, square the result and add them up. The total is 20,250.

Step 3: Sample standard deviation. s² = 20,250 / (10 - 1) = 2,250. s = square root of 2,250 = 47.4 hours.

If the team had wrongly used the population formula, they would divide by 10 and get 2,025, giving 45.0 hours. The population formula understates the spread when you only have a sample.

Step 4: Standard error. SE = s / square root of n = 47.4 / 3.162 = 15.0 hours.

Step 5: 95% confidence interval. With 9 degrees of freedom, the t value is 2.262. Margin of error = 2.262 x 15.0 = 33.9 hours. The interval is 2,455 plus or minus 33.9, which is 2,421 to 2,489 hours.

Interpretation: the team can be 95% confident that the true average life of all components (the population mean μ) lies between about 2,421 and 2,489 hours.

How to choose a sample size

For a proportion, a common formula is n = z² x p(1 - p) / E², where z is the value for your confidence level, p is your best guess of the proportion, and E is the margin of error you can accept.

Worked example

This is an illustrative example. A team wants to estimate the share of invoices with errors to within plus or minus 5% at 95% confidence. They have no prior estimate, so they use p = 0.5, which gives the largest sample.

n = 1.96² x 0.5 x 0.5 / 0.05² = 3.8416 x 0.25 / 0.0025 = 384.2, so round up to 385 invoices.

If the population is only 2,000 invoices, apply the finite population correction: n = 385 / (1 + (385 - 1) / 2,000) = 385 / 1.192 = 323 invoices.

Two points stand out. First, the required sample barely changes once the population is large. Second, precision costs a lot: halving the margin of error to 2.5% roughly quadruples the sample size.

Common mistakes to avoid

  • Using the wrong formula: use n - 1 for sample variance and standard deviation. In Excel, STDEV.S is for samples and STDEV.P is for populations.
  • Treating a statistic as exact: always report a confidence interval or margin of error with a sample estimate.
  • Convenience samples: measuring only the easy items, such as the first shift, can bias the result.
  • Non-response bias: people who answer a survey may differ from people who do not.
  • Defining the population loosely: "customers" is vague. "Customers who placed an online order between 1 July and 30 September" is clear.

Population vs sample in Lean Six Sigma

In the Measure phase of DMAIC, teams write a data collection plan that states the population, the sampling method and the sample size. In the Analyse phase, hypothesis tests use sample data to make claims about the population. Control charts treat each subgroup as a sample of an ongoing process. Process capability indices such as Pp and Ppk depend on whether you use overall or within-subgroup standard deviation. Understanding population vs sample underpins all of these tools, along with descriptive statistics and our descriptive statistics calculator.

Next steps

Sampling, confidence intervals and the difference between parameters and statistics are taught in the Lean Six Sigma Yellow Belt online training. To plan data collection and run hypothesis tests on real projects, move on to the Lean Six Sigma Green Belt online training. For sample size planning in designed experiments, see the Lean Six Sigma Black Belt online training.

Frequently asked questions

What is the difference between a population and a sample?

A population is every item you want to draw conclusions about, such as all claims lodged this year. A sample is the smaller group you actually measure, such as 200 of those claims.

Is a population or a sample bigger?

The population is always at least as large as the sample, because the sample is drawn from it. If you measure every member, your sample is the population and you have a census.

Why do we divide by n - 1 for a sample?

The sample mean sits closer to the sample data than the true population mean does. Dividing by n - 1 instead of n corrects this, so the sample variance is an unbiased estimate of the population variance.

What symbols are used for population and sample?

Population: mean μ, standard deviation σ, size N, proportion p. Sample: mean x̄, standard deviation s, size n, proportion p̂.

How does sample size relate to population size?

For large populations, the sample size you need depends mainly on the precision and confidence you want, not on the population size. About 385 gives plus or minus 5% at 95% confidence for a proportion, whether the population is 100,000 or 10 million.

When does population size matter?

When the sample is a large share of the population, often above 5%. Then the finite population correction reduces the sample size needed.

Is a parameter from a population or a sample?

A parameter describes a population. A statistic describes a sample. We use statistics to estimate parameters.