Not sure which lesson to do first? Find your level and get a plan →

Statistics · Grade 6-8

Random Sampling

Random sampling is a method of selecting individuals from a population where every member has an equal chance of being chosen, so the selection method favors no one and the sample tends to represent the whole population.


Quick Answer

Random sampling is a method of selecting individuals from a population where every member has an equal chance of being chosen, so the selection method favors no one and the sample tends to represent the whole population. Use it when you want a survey or measurement of a few people to stand for a whole group: number everyone on a list, then let a random number generator, not a person, pick who is asked. Because chance does the choosing, no type of person is favored, and a larger random sample usually lands closer to the truth.

Why This Matters

Random selection is what lets 50 answers speak for 800 students. Without it, the people chosen tend to be the easy ones to reach, like friends, early arrivals or volunteers, and their answers tilt the result in a way that more data cannot fix. With it, the remaining error is chance error, which shrinks as the sample grows and can be measured as a margin of error.

Intuitive Explanation

To learn the whole school's favorite lunch, you could ask the first 30 students in the lunch line. But the first students in line might be the ones whose classes end early, or athletes heading to practice. A random sample removes your choices from the process: write every student's name on a slip, mix the slips well, and draw 30. Every student has the same chance, so the method favors no group.

In practice the slips are numbers. Give each of 800 students a number from 1 to 800, then use a random number generator to produce 50 different numbers. If a number repeats or is not on the list, skip it and draw again. Whoever holds the chosen numbers is in the sample, even if they are hard to find. Replacing a hard-to-reach student with someone handy puts your own choice back into the process.

Random does not mean haphazard. Pointing at students in the hallway "at random" feels unplanned, but people tend to pick those who look friendly or are standing alone. A random draw also covers only the list it is drawn from: 20 names drawn from the band list are a fair sample of the band, not of the school. A random sample can still be off by chance, but that error does not lean one way and gets smaller as the sample grows.

Think of it like this. Deal a hand from a well-shuffled deck and you have a random sample: every card has the same chance of being dealt, so a hand of 13 usually has a mix of suits close to the deck's. A single hand can still be lopsided by luck, which is why bigger samples help.

Core idea. Let a chance process choose who is measured from a list of the whole population; then the method favors no group, and the only error left is chance error, which shrinks as the sample grows.


When to Use

Use random sampling when you will measure only part of a group but want a claim about the whole group, such as a school, a town or a factory's output. The signal is a question about all the members with no time to ask each one. If you can measure everyone, take a census instead. If the study gives treatments to groups to compare them, the tool is random assignment, not random sampling.

Tip. Ask: Does a chance process, not a person or the volunteers themselves, decide which members of the population end up in the sample?

How to Recognize It

Before you call a sample random, look at exactly how the people or things were picked from the whole group.

  1. Is there a list or count of the whole population that the picks were made from?

    Yes makes a fair draw possible. If there is no list, or the list leaves people out, some members had no chance at all, which is undercoverage, a kind of Sampling Bias.

  2. Did a random number generator, a well-mixed draw from a hat, or a similar chance tool make the picks?

    Yes fits Random Sampling. If an interviewer picked friendly faces or people chose to join, that is convenience or voluntary response, which points to Sampling Bias.

  3. Is chance being used to choose who gets studied, rather than to split people already in a study into groups?

    Choosing who is studied is Random Sampling. Using chance to split study members into a treatment group and a comparison group is Random Assignment, a different tool.

  4. Is the question about why two fairly drawn samples gave different answers?

    If yes, the method is already random and the gap is chance wobble between samples, which is Sampling Variability. If no, stay with how the picks were made.

Random Sampling vs Sampling Bias vs Random Assignment vs Sampling Variability

All four are about chance or fairness in who ends up in the data. Ask what chance is doing: choosing who is studied, failing to choose fairly, sorting people into groups, or making fair samples disagree.

Random Sampling

Meaning
Random sampling uses a chance process to pick members of the population, so every member has the same chance of being chosen.
Key test
Chance decides who gets into the sample.
Formula
P(chosen)=nN
Example
Draw 50 of 800 student ID numbers with a random number generator, so each student has a 1 in 16 chance.

Sampling Bias

Meaning
Sampling bias is a selection method that keeps favoring some kinds of members, so results lean the same way each time.
Key test
The method, not luck, tilts the result, and a bigger sample keeps the tilt.
Example
Surveying the first 50 students in the lunch line over-counts early arrivals.

Random Assignment

Meaning
Random assignment uses chance to decide which group each person joins after the people in the study are already chosen.
Key test
Chance sorts people who are already in the study into groups.
Example
A coin flip sends each of 30 volunteers to the new app or to the usual way of studying.

Sampling Variability

Meaning
Sampling variability is the chance difference between results of fair random samples taken from the same population.
Key test
Two fair samples disagree, and nobody did anything wrong.
Example
One random sample of 100 students says 54% want a later start; a second says 49%.

Formula & Notation

Worked Examples

Example 1 — Draw a sample with random numbers

Easy

A school has 800 students, numbered 001 to 800. You need a random sample of 50. A random digit generator gives these first three-digit groups: 512, 093, 874, 512, 307. Which students are chosen so far, and how do you continue?
Show the steps and the answer
  1. Take 512: it is between 001 and 800, so student 512 is chosen.

    Every number from 001 to 800 matches exactly one student, so each student has the same chance of coming up.

  2. Take 093: student 93 is chosen.

    Leading zeros keep every label three digits long, so the generator's three-digit groups map onto the list.

  3. Skip 874: no student has that number.

    Numbers beyond 800 are not on the list, so you ignore them rather than bending them to fit a student.

  4. Skip the second 512, then take 307.

    A student can be in the sample only once, so repeats are thrown away.

  5. Keep drawing until 50 different students are chosen, then survey exactly those students.

    The chance process, not the surveyor, must decide every member of the sample.

Answer: So far students 512, 93 and 307 are chosen; continue, skipping numbers above 800 and repeats, until there are 50.

Takeaway: Number the whole population, let random numbers choose, and skip anything off the list or already chosen.

Example 2 — Random, but from the wrong list

Standard

A student wants to know what share of the school's 800 students would take a new music class. She draws 20 names at random from the 60-person band list, and 15 say yes. She reports: "75% of the school would take the class." Is this a random sample of the school?
Show the steps and the answer
  1. Name the list used: the band list of 60, not the full list of 800.

    A random draw can only represent the group whose names were in the draw.

  2. Compute what the data do show: 1520=75% of the sampled band members.

    Within the band, every member had an equal chance, so 75% is a fair estimate for the band.

  3. Ask whether band members differ from other students on this question: they almost certainly like music more.

    The other 740 students had zero chance of being chosen, so their views are missing in a way that pushes the result up.

  4. Fix the design: draw 20 or more numbers from 001 to 800 instead.

    Only a list that covers the whole population gives every student the same chance.

Answer: No. It is a random sample of the band, so it supports "about 75% of band members would take the class", but not a claim about the whole school.

Takeaway: Random selection works only within the list you draw from; the list must cover the whole population you want to describe.

Example 3 — Find the mistake: swapping in friends

Application

Tom draws 50 students at random to ask "Do you play a school sport?" Eight of them are absent, so he asks 8 friends from his soccer team instead. Of the 42 randomly chosen students who answered, 21 said yes; all 8 friends said yes. Tom reports 2950=58%. Find the mistake and correct it.
Show the steps and the answer
  1. Spot the swap: 8 of the 50 people were chosen by Tom, not by chance.

    Replacing randomly chosen people with handy ones turns part of the sample into a convenience sample.

  2. See the effect: the random students give 2142=50%, while adding 8 teammates raises it to 2950=58%.

    His friends all play soccer, so they tilt the answer toward yes; the 8-point jump comes from his choice, not from the school.

  3. Fix it: interview the 8 absent students when they return, or draw 8 new random numbers to replace them.

    Either way, chance still decides who answers, so no type of student is favored.

Answer: Tom's 58% is tilted by his teammates. The 42 random students give about 50%; he should reach the 8 absent students or replace them with new random picks.

Takeaway: Once chance has chosen the sample, never swap in convenient people; follow up with the chosen ones or draw replacements randomly.

Where You'll See It

  • Choosing a class lunch poll fairly

    To learn the whole grade's favorite lunch, you put every student's ID in a generator and pick 30 at random — not the first 30 in the lunch line, who might all be early-arriving athletes.

  • Drawing raffle tickets

    A raffle where every ticket has the same chance of being drawn is random sampling in action; tipping the bin to grab tickets from the top would break the equal-chance rule.

  • Quality-checking cookies on a line

    A factory tests every cookie whose serial number a random generator selects, so each cookie has an equal chance of being checked, instead of only testing the easy-to-reach ones at the front.

Common Mistakes

  1. The slip: Grabbing whoever happens to be nearby is 'random enough.'

    Why it's tempting: It feels unplanned and arbitrary, so students call it random.

    Instead: Random sampling needs a formal chance process (like a random number generator) where every member has a known, equal chance. Convenience sampling is biased, not random.

  2. The slip: Letting people volunteer for the sample is random because anyone can join.

    Why it's tempting: It seems fair since the door is open to everyone.

    Instead: Volunteers self-select, so people with strong opinions are over-represented (voluntary response bias). In true random sampling, the researcher's chance process picks who is included, not the participants.

  3. The slip: A bigger sample automatically fixes a bad sampling method.

    Why it's tempting: More data feels more trustworthy.

    Instead: If the selection method is biased, a larger sample just gives a more precise wrong answer. Representativeness comes from randomness in HOW you choose, not from sheer size.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Ms. Lee puts the names of all 30 students in her class into a hat, mixes them, and draws 6 names. What is the chance that one particular student is chosen?

    Hint: Compare the number of names drawn with the number of names in the hat.

  2. A club has 60 members: 45 seventh graders and 15 eighth graders. A random sample of 12 members is drawn. About how many eighth graders would you expect in the sample?

    Hint: Find what fraction of the club is in eighth grade, then take that fraction of 12.

  3. A school numbers its 400 students from 001 to 400. To pick 5 at random, read this line of random digits three at a time: 12745 03880 92400 25631. Skip any number above 400 and any repeat. Which students are chosen?

    Hint: Ignore the spaces, split the digits into groups of three, and check each group against 400.

  4. A list of 300 student IDs is in alphabetical order. Jada rolls a 10-sided die to pick a starting number from 1 to 10, then takes every 10th student after that. How many students does she get, and does every student have the same chance of being picked?

    Hint: Divide the list length by the step size. Then think about how the starting point is chosen.

  5. A school website poll asks visitors to click a button to vote for a new mascot, and 850 people vote. Is this a random sample of the students, or an example of sampling bias?

    Hint: Ask who decided which people ended up in the sample.

  6. Mia drew 10 names at random from the 200 students in her grade to ask about bedtimes. Two chosen students were absent, so she wrote: "I asked the next two students who walked by instead. It is still a random sample." Correct her reasoning.

    Hint: Who chose the two replacement students: chance, or Mia?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

If I close my eyes and point at names on a list, is that random?

Not quite. Fingers drift toward the middle of a page, toward names you recognize, or away from crowded spots, so some names get picked more often than others. A truly random method gives every name the same chance, which is why statisticians number the list and let a random number generator or a well-mixed draw make the picks. What counts is not whether it felt unplanned but whether every member had an equal chance.

Can a random sample still turn out lopsided?

Yes. Pick 10 students at random from a school that is half boys and half girls, and about 1 time in 18 you will get 8 or more girls. That is luck, not bias, and it becomes rarer as samples get bigger. Random sampling makes the method fair; it does not promise that every single sample will look like the population.

Do I need to sample a big share of the population for the results to be good?

Usually not. What matters most is how many people you sample, not what fraction of the population that is. A random sample of 1,000 people gives about the same precision for a city of 100,000 as for a country of 100 million, as long as the population is much bigger than the sample. That is why national polls can ask only about a thousand people and still be useful.

Learning Path

Random Sampling

You are here

Next →

Margin of Error
Start from Population vs Sample (the whole group and the part you measure) and Sampling Bias (how a careless choice tilts results). Random sampling is the fix: let chance pick, so the method favors no one. Next, Margin of Error measures how far a random sample's result is likely to fall from the population's true value.

See Also