
When a production lot contains products from different batches, models, colors, or manufacturing lines, selecting samples from the entire population without considering these differences may leave some groups underrepresented.
Stratified sampling addresses this issue by dividing a population into smaller, identifiable groups before selecting samples. It helps ensure that relevant groups are included in the inspection and allows quality results to be examined both within individual groups and across the overall population.
This method is useful in manufacturing quality control, incoming material inspection, and third-party product inspection, particularly when products or production conditions vary within the population.
This guide explains how stratified sampling works, how to define groups, how to allocate sample quantities, and how to apply the method in practical quality control and inspection situations.
Stratified sampling is a probability sampling method in which a population is divided into separate subgroups, known as strata, before samples are selected from each group.
The strata are formed according to characteristics relevant to the inspection or quality control objective. Examples include:
After the population has been divided, samples are selected from each stratum. Random sampling is commonly used within individual strata.
The main purpose is to ensure that the selected sample covers the relevant groups rather than relying on a single selection process across the entire population.
For example, a shipment may contain 1,000 products in four colors. If one color accounts for 70% of the shipment, a simple random sample may include relatively few units from the remaining colors. Stratified sampling allows each color to be represented according to a defined allocation method.
The method is particularly useful when the groups are meaningfully different or when the inspection objective requires separate information about each group. [1]
A stratified sampling procedure generally involves five steps:
The key planning decision is how to divide the population and how to allocate the required sample quantity.
First, establish exactly which products or production units are included.
For product inspection, the population may be a finished-goods lot or a shipment ready for inspection.
For manufacturing quality control, it may include all units produced during a particular production run, shift, or defined period.
The population should have a clear quantity and scope. If products from different orders or production periods are included, determine whether they belong to the same inspection population.
Not every difference between products requires a separate stratum.
The grouping characteristics should be relevant to the inspection objective and should help reveal meaningful quality variation.
For example:
| Stratification characteristic | Possible reason for grouping |
|---|---|
| Production batch | Different material batches or production conditions |
| Manufacturing line | Differences in equipment, setup, or operators |
| Production shift | Changes in working conditions or process settings |
| Product model | Different specifications or construction |
| Size or color | Different materials, components, or finishing processes |
| Supplier | Different sources of raw materials or components |
The goal is to create groups that are internally identifiable and collectively cover the population.
Each product should belong to the appropriate stratum according to the selected grouping characteristic.
For example, a shipment of 1,000 garments may contain four colors:
| Color | Quantity |
|---|---|
| Black | 400 |
| Navy | 300 |
| Grey | 200 |
| Beige | 100 |
| Total | 1,000 |
These four colors form the strata for the sampling process.
If the inspection objective is to evaluate differences between production batches as well as colors, the population may need to be organized by both characteristics. In that case, each relevant batch-color combination can be treated as a separate stratum, provided the population records allow the groups to be identified reliably.
Avoid creating too many small strata without a clear reason. Excessive grouping can make sample allocation and inspection coordination unnecessarily complicated.
Once the strata are defined, determine how many samples should be selected from each group.
Two common allocation approaches are proportionate allocation and disproportionate allocation.
These approaches serve different purposes and should be selected according to the inspection objective.
Proportionate allocation assigns samples to each stratum according to its share of the total population.
Larger groups receive more samples, while smaller groups receive fewer samples.
The sample quantity for each stratum can be calculated using:
nh = n × (Nh / N)
Where:
A shipment contains 1,000 garments in four colors. The inspection plan requires 80 samples.
The population distribution is:
| Color | Population quantity | Population share |
|---|---|---|
| Black | 400 | 40% |
| Navy | 300 | 30% |
| Grey | 200 | 20% |
| Beige | 100 | 10% |
| Total | 1,000 | 100% |
Using proportionate allocation:
Black: 80 × (400 /1,000) = 32
Navy: 80 × (300 / 1,000) = 24
Grey: 80 × (200 / 1,000) = 16
Beige: 80 × (100 / 1,000) = 8
The resulting sample distribution is:
| Color | Population quantity | Sample quantity |
|---|---|---|
| Black | 400 | 32 |
| Navy | 300 | 24 |
| Grey | 200 | 16 |
| Beige | 100 | 8 |
| Total | 1,000 | 80 |
This approach reflects the population distribution and can be useful when the objective is to obtain an overall assessment of the shipment.
However, a smaller stratum may receive only a few samples. If the inspection needs to evaluate every color independently, this allocation may not provide enough information about the smaller groups.
Disproportionate allocation assigns sample quantities that do not directly follow the population proportions.
A smaller group may receive more samples than its share of the population would normally justify. This can be useful when:
Suppose a shipment contains three production batches:
| Batch | Population quantity | Population share |
|---|---|---|
| Batch A | 500 | 50% |
| Batch B | 300 | 30% |
| Batch C | 200 | 20% |
| Total | 1,000 | 100% |
The inspection plan requires 80 samples.
Proportionate allocation would assign 40, 24, and 16 samples respectively.
However, previous inspection findings indicate that Batch C has a higher incidence of assembly defects. The buyer therefore decides to allocate additional samples to this batch:
| Batch | Population quantity | Proportionate allocation | Revised allocation |
|---|---|---|---|
| Batch A | 500 | 40 | 32 |
| Batch B | 300 | 24 | 20 |
| Batch C | 200 | 16 | 28 |
| Total | 1,000 | 80 | 80 |
The revised allocation gives Batch C more inspection coverage.
This may help investigate the higher-risk batch, but the results should be interpreted carefully. Because the sample allocation no longer reflects the population proportions, the unadjusted combined defect rate should not automatically be treated as an unbiased estimate of the overall shipment defect rate.
When an overall population estimate is required, the different stratum sizes and sampling fractions should be taken into account. [1]
After determining the sample quantity for each group, the actual items must be selected.
Random sampling is commonly used within each stratum.
For example, if 32 black garments need to be selected from a group of 400, the inspector can:
The same procedure is repeated for the other colors.
This combination is known as stratified random sampling. It ensures that each defined group receives the planned coverage while avoiding subjective selection within the groups.
Stratified sampling can be applied whenever a population contains identifiable groups that may differ in quality, specifications, or production conditions.
Products manufactured in separate batches may use different raw materials, component lots, machine settings, or production conditions.
Sampling each batch separately helps identify whether quality issues are concentrated in a particular production group.
For example, a factory produces 3,000 metal brackets across three batches. If each batch uses a different material delivery, stratified sampling can ensure that all three batches are represented in the inspection.
A factory may operate several production lines or work shifts.
Even when the finished products share the same specifications, differences in equipment condition, process settings, or working conditions may affect product quality.
By treating each line or shift as a separate stratum, quality teams can compare the inspection results and identify potential differences.
A product order may contain multiple models with different designs, components, or functional requirements.
For example, an order of electric fans may include several models with different motor specifications and control panels.
Stratified sampling can help ensure that each model receives appropriate inspection coverage rather than allowing the most common model to dominate the sample.
For apparel, furniture, and consumer goods, different variants may involve different materials, dimensions, finishing processes, or components.
A garment order containing multiple colors and sizes is one example. Certain colors may require different dyeing processes, while different sizes may involve different measurements and stitching patterns.
Stratified sampling can help include the relevant variants in the inspection.
A finished product may contain components obtained from different suppliers.
If supplier performance varies, the quality team may want to examine components or finished products associated with each source separately.
Stratification can help distinguish these groups and provide a clearer basis for investigating quality differences.
A buyer orders 2,400 storage boxes in three sizes from a Chinese manufacturer. The products are manufactured in two production batches and packed into separate cartons.
The inspection objective is to evaluate finished-product quality before shipment.
The inspector first reviews the order and confirms the population:
Because the order contains different sizes and production batches, the inspector and buyer determine that both characteristics should be considered when selecting samples.
The population can be divided into six strata:
| Stratum | Product group |
|---|---|
| 1 | Small — Batch A |
| 2 | Small — Batch B |
| 3 | Medium — Batch A |
| 4 | Medium — Batch B |
| 5 | Large — Batch A |
| 6 | Large — Batch B |
The inspection plan establishes the total sample quantity. Samples are then allocated across the six groups according to the agreed approach.
Within each group, the inspector uses random selection to identify the actual units for inspection.
During the inspection, the results are recorded against the corresponding size and batch. If dimensional defects are concentrated in one batch, the buyer can identify which production group requires further investigation.
This approach provides more detailed information than treating all 2,400 products as one undifferentiated population.
Both methods are probability-based sampling approaches, but they differ in how the population is handled before selection.
| Aspect | Simple random sampling | Stratified sampling |
|---|---|---|
| Population structure | Treated as one population | Divided into separate groups |
| Sample selection | Randomly selected from the entire population | Selected separately within each stratum |
| Group representation | Depends on chance | Planned coverage for each defined stratum |
| Planning requirements | Requires a defined population and sampling frame | Also requires reliable subgroup information |
| Best suited for | Relatively uniform populations | Populations with meaningful subgroups |
| Main limitation | Some groups may receive limited representation by chance | Grouping and allocation require additional planning |
Stratified sampling is not automatically better than simple random sampling. Its value depends on whether the selected strata are relevant to the inspection objective and whether the population can be divided accurately.
Poorly designed strata or inappropriate sample allocation can reduce the usefulness of stratified sampling.
Common mistakes include:
Dividing products into groups that have no meaningful relationship to the inspection objective may add complexity without improving the results.
Best practice: Use characteristics that may influence product quality or that the inspection specifically needs to cover.
A small production batch or less common product variant may receive too few samples under proportionate allocation.
Best practice: Review whether each group needs a minimum level of inspection coverage. If necessary, consider disproportionate allocation.
If batch quantities, product variants, or production records are incorrect, sample allocation may not reflect the actual population.
Best practice: Reconcile production and packing records before defining the strata.
Even after dividing the population into strata, choosing only easily accessible products within each group can introduce selection bias.
Best practice: Use a random selection procedure within each stratum.
Disproportionate allocation can give more attention to a particular group, but the resulting combined sample may not reflect the overall population distribution.
Best practice: Report findings by stratum and consider population proportions when calculating overall estimates.
Excessive grouping can make sample allocation difficult and produce very small samples in individual groups.
Best practice: Keep the grouping structure practical and relevant to the quality risks being evaluated.
During third-party product inspection, stratified sampling can help ensure that different production batches, product models, colors, or other relevant groups are included in the inspection.
The inspector first confirms the defined inspection lot and reviews available production or packing information. Based on the agreed inspection scope, the population can be divided into relevant groups and samples allocated accordingly.
For example, during a pre-shipment inspection of mixed-color garments, stratified sampling can help ensure that each color is represented. Random selection within each group can then be used to identify the actual garments to inspect.
At TradeAider, product inspections are conducted according to the agreed service scope and buyer requirements. Depending on the inspection stage, services include Pre-Production Inspection (PPI), During Production Inspection (DUPRO), and Pre-Shipment Inspection (PSI). Inspection findings can be documented by product type, batch, or other relevant identification details to help buyers review the results.
Learn more about TradeAider's third-party quality inspection services.
The main purpose is to ensure that relevant subgroups within a population are represented in the sample. It is particularly useful when quality may vary across batches, product models, production lines, or other identifiable groups.
Proportionate stratified sampling allocates samples according to each group's share of the total population. Disproportionate stratified sampling assigns different sample quantities based on other considerations, such as risk, group importance, or the need for additional coverage.
No. Stratified sampling divides the population into groups and selects samples from every stratum. Cluster sampling divides the population into clusters and selects only some clusters for examination, with the sampling procedure then depending on the design. The two methods have different selection structures and purposes.
Yes. Random sampling is commonly used to select individual items within each stratum. This approach is known as stratified random sampling.
It can be more suitable when the population contains meaningful subgroups that need separate representation or evaluation. If the population is relatively uniform and there is no need to examine specific groups independently, simple random sampling may be sufficient.
No. Stratified sampling determines how a population is divided and how samples are selected from each group. AQL sampling plans establish sample sizes and acceptance or rejection criteria. If both are used, the allocation and selection procedure should be clearly defined and consistent with the applicable inspection plan.
[1] U.S. Environmental Protection Agency (EPA). Selecting a Sampling Design. https://www.epa.gov/quality/selecting-sampling-design
[2] U.S. Environmental Protection Agency (EPA). Guidance on Choosing a Sampling Design for Environmental Data Collection: for Use in Developing a Quality Assurance Project Plan (EPA QA/G-5S). https://www.epa.gov/sites/default/files/2015-06/documents/g5s-final.pdf
[3] International Organization for Standardization (ISO). ISO 2859-1: Sampling Procedures for Inspection by Attributes — Part 1: Sampling Schemes Indexed by Acceptance Quality Limit (AQL) for Lot-by-Lot Inspection. https://www.iso.org/standard/77582.html