TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is stratified sampling? Definition, steps and an example

Stratified sampling splits a population into groups that share a trait, then samples from each group, so small groups are not missed by chance. Steps, allocation methods and a worked example.

Lin Zhou Reviewed by Emma Collins Also called stratified random sampling Last updated Nov 4, 2026 Glossary

Quick answer

Stratified sampling is a sampling method that divides a population into non-overlapping groups (strata) based on a shared trait, then draws a random sample from each group, so every group is represented in the sample.

Formula: Proportionate: nₕ = n × Nₕ / N; weight wₕ = Nₕ / nₕ

What is stratified sampling?

Stratified sampling divides a population into groups that do not overlap, called strata, based on a trait such as plan, country or device. You then draw a random sample from each group. Because every group is sampled on purpose, a small group cannot be left out by chance, and estimates are usually more precise than a simple random sample of the same size.

The four steps

  1. Pick the trait that splits the population into groups that differ on what you are measuring.
  2. Assign everyone to exactly one stratum. The strata must cover the whole population with no overlap.
  3. Decide how many to sample in each stratum (allocation, below).
  4. Draw a simple random sample within each stratum and combine the results, using weights if needed.

Proportionate vs disproportionate allocation

A team wants 400 customer interviews from 10,000 users (sample numbers):

PlanUsersProportionate sampleEqual sampleWeight (equal)
Free7,00028013352.6
Pro2,50010013318.8
Business500201343.7
Total10,000400400
  • Proportionate: each stratum gets the same share it has in the population (Free is 70%, so 280 of 400). Results combine directly.
  • Disproportionate (here, equal): small strata get more interviews than their share, so you can say something reliable about Business customers. To estimate an overall figure, weight each answer by stratum size ÷ stratum sample size, for example 7,000 ÷ 133 = 52.6 for Free.

A simple random sample of 400 would include about 20 Business users on average, and sometimes far fewer.

Stratified vs other methods

MethodHow it picksBest when
Simple randomAnyone, with equal chanceThe population is fairly uniform
StratifiedSome from every groupGroups differ and some are small
ClusterA few whole groups, everyone in themGroups are similar and reaching everyone in a group is cheap
SystematicEvery k-th item in a listYou have an ordered list and no repeating pattern in it

Why it matters in analytics

Stratifying is not only for surveys. When you read a metric by stratum (conversion by device, retention by plan), you avoid an average that hides opposite trends in different groups and you can spot a confounding variable. It also protects against samples made of only active or loud users, a form of survivorship bias.

Drawing a stratified sample in TapCub

In Segments, create one rule segment per stratum with a property condition (for example plan = Business). Rule segments also support a random bucket condition, so you can combine "plan = Pro" with a random bucket to get a random subset of that plan. Open each segment's members with View users to get the list for outreach. Note that segments only contain identified people; anonymous visitors have no profile.

Was this explanation clear?

We use your answers to fix and expand this page.

Lin Zhou

Product Experience Specialist

Writes about product experience, practical workflows, and growth, turning complex processes into clear steps for everyday decisions.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is an example of stratified sampling?

Interviewing 400 customers chosen so that Free, Pro and Business plans each have the right share, instead of picking 400 at random and risking almost no Business customers.

What is the difference between stratified and cluster sampling?

Stratified sampling takes some members from every group. Cluster sampling picks a few whole groups and studies everyone in them.

When should you use stratified sampling?

When the population has groups that differ on what you are measuring and some groups are small, such as plan tiers, regions or device types.

Do I need weights with stratified sampling?

Only when the allocation is not proportional. If a small group is oversampled, weight each response by the group size divided by its sample size to estimate the overall figure.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics