Stratified Sampling

November 13, 2026
Stratified Sampling

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.


What Is Stratified Sampling?

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:

  • Production batches.
  • Manufacturing lines or shifts.
  • Product models or specifications.
  • Sizes, colors, or material types.
  • Suppliers or component sources.
  • Different production locations.

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]


How Does Stratified Sampling Work?

A stratified sampling procedure generally involves five steps:

  1. Define the complete population.
  2. Identify the characteristics that should be used to divide the population.
  3. Establish separate strata with clear boundaries.
  4. Determine how many samples should be selected from each stratum.
  5. Select and inspect the samples within each group.

The key planning decision is how to divide the population and how to allocate the required sample quantity.

Step 1: Define the Population

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.

Step 2: Identify Relevant Stratification Characteristics

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 characteristicPossible reason for grouping
Production batchDifferent material batches or production conditions
Manufacturing lineDifferences in equipment, setup, or operators
Production shiftChanges in working conditions or process settings
Product modelDifferent specifications or construction
Size or colorDifferent materials, components, or finishing processes
SupplierDifferent sources of raw materials or components

The goal is to create groups that are internally identifiable and collectively cover the population.

Step 3: Divide the Population into Strata

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:

ColorQuantity
Black400
Navy300
Grey200
Beige100
Total1,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.

Step 4: Allocate the Sample Quantity

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 Stratified Sampling

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:

  • (nh) = sample quantity allocated to a particular stratum
  • (n) = total required sample size
  • (Nh) = population size of that stratum
  • (N) = total population size

Example: Proportionate Allocation Across Product Colors

A shipment contains 1,000 garments in four colors. The inspection plan requires 80 samples.

The population distribution is:

ColorPopulation quantityPopulation share
Black40040%
Navy30030%
Grey20020%
Beige10010%
Total1,000100%

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:

ColorPopulation quantitySample quantity
Black40032
Navy30024
Grey20016
Beige1008
Total1,00080

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 Stratified Sampling

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:

  • A particular batch has a history of quality problems.
  • A specific product model has more complex inspection requirements.
  • Certain colors or materials are more prone to defects.
  • The inspection objective requires a minimum level of coverage for every group.
  • The buyer wants to examine a higher-risk group more closely.

Example: Additional Coverage for a Higher-Risk Batch

Suppose a shipment contains three production batches:

BatchPopulation quantityPopulation share
Batch A50050%
Batch B30030%
Batch C20020%
Total1,000100%

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:

BatchPopulation quantityProportionate allocationRevised allocation
Batch A5004032
Batch B3002420
Batch C2001628
Total1,0008080

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]


Step 5: Select Samples Within Each Stratum

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:

  1. Identify all 400 black garments.
  2. Assign each garment a unique number.
  3. Generate 32 unique random numbers.
  4. Locate the corresponding garments.
  5. Inspect them according to the agreed criteria.

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.


Applications in Manufacturing Quality Control and Product Inspection

Stratified sampling can be applied whenever a population contains identifiable groups that may differ in quality, specifications, or production conditions.

1. Different Production Batches

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.

2. Different Manufacturing Lines or Shifts

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.

3. Different Product Models and Specifications

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.

4. Different Sizes, Colors, or Materials

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.

5. Different Suppliers or Component Sources

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.


Practical Example: Stratified Sampling in a Pre-Shipment Inspection

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:

  • Total quantity: 2,400 units.
  • Product sizes: Small, Medium, and Large.
  • Production batches: Batch A and Batch B.
  • Inspection scope: Appearance, dimensions, assembly, functionality, and packaging.

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:

StratumProduct group
1Small — Batch A
2Small — Batch B
3Medium — Batch A
4Medium — Batch B
5Large — Batch A
6Large — 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.


Stratified Sampling vs. Simple Random Sampling

Both methods are probability-based sampling approaches, but they differ in how the population is handled before selection.

AspectSimple random samplingStratified sampling
Population structureTreated as one populationDivided into separate groups
Sample selectionRandomly selected from the entire populationSelected separately within each stratum
Group representationDepends on chancePlanned coverage for each defined stratum
Planning requirementsRequires a defined population and sampling frameAlso requires reliable subgroup information
Best suited forRelatively uniform populationsPopulations with meaningful subgroups
Main limitationSome groups may receive limited representation by chanceGrouping 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.


Common Mistakes in Stratified Sampling

Poorly designed strata or inappropriate sample allocation can reduce the usefulness of stratified sampling.

Common mistakes include:

1. Creating Irrelevant Groups

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.

2. Overlooking Small Groups

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.

3. Using Inaccurate Population Records

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.

4. Selecting Samples Based on Convenience

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.

5. Ignoring Allocation Differences When Interpreting Results

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.

6. Creating Too Many Strata

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.


The Role of Third-Party Inspection in Stratified Sampling

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.


Frequently Asked Questions

1. What is the main purpose of stratified sampling?

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.

2. What is the difference between proportionate and disproportionate stratified sampling?

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.

3. Is stratified sampling the same as cluster sampling?

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.

4. Can random sampling be used within each stratum?

Yes. Random sampling is commonly used to select individual items within each stratum. This approach is known as stratified random sampling.

5. When is stratified sampling better than simple 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.

6. Does stratified sampling determine the AQL sample size?

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.



Sources & References

[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


TradeAider

نمِ عملك مع خدمة TradeAider