Sample space in AP Statistics
In AP Statistics, the sample space is the complete list of every possible outcome of a chance process, often written as S. Every event is a subset of the sample space, and when outcomes are equally likely, P(event) = (outcomes in the event) ÷ (total outcomes in the sample space).
This definition is part of Fiveable's AP Statistics review, which also has guided practice questions.
What is the Sample space?
The sample space (usually labeled S) is the full set of every possible outcome of a random process. Flip one coin and S = {H, T}. Roll a six-sided die and S = {1, 2, 3, 4, 5, 6}. Roll that die twice and the sample space jumps to 36 ordered pairs, like (1, 1), (1, 2), and so on up to (6, 6).
Think of the sample space as the denominator's home base. Before you can say how likely something is, you need to know everything that could happen. An event is just some chunk of that list, like "the sum is 8" or "at least one defective item." A sample space can be small and finite (a coin flip), large and finite (choosing a 3-person committee), or infinite (measuring a wait time). The one hard rule is that it has to be complete. Every possible outcome appears, and nothing that can't happen sneaks in.
Why the Sample space matters in AP® Statistics
Sample space is a building block of Topic 2.4, Introduction to Probability. That topic is where you first learn to treat probability as the long-run relative frequency of an outcome and to compute probabilities by counting. Almost every probability calculation after that leans on it. Equally likely outcomes, complements, the probability rules, and conditional probability all start from the question "what's in S?" If you get the sample space wrong (miss outcomes, double-count, or ignore order when order matters), every number after that is wrong too. For the full topic, including probability rules and simulation, head to the 2.4 Introduction to Probability study guide.
Keep studying AP® Statistics Unit 2
Official unit cheatsheet
open one-pagerHow the Sample space connects across the course
Event (Topic 2.4)
An event is a subset of the sample space. If S is the whole menu, an event is the dishes you're actually ordering. For two dice rolls, "sum of 8" is the five outcomes (2,6), (3,5), (4,4), (5,3), (6,2) picked out of all 36.
Outcome (Topic 2.4)
An outcome is one single result of the chance process, and the sample space is the collection of all of them. Defining outcomes carefully matters. With three inspected items, "DND" and "NDD" are different outcomes, which is why S has 2 × 2 × 2 = 8 elements.
Probability (Topic 2.4)
When outcomes are equally likely, probability is just a fraction built from the sample space. The count of outcomes in the event goes on top, and the count of outcomes in S goes on the bottom. That's how a sum of 8 on two dice becomes 5/36.
Probability rules and the complement (Topic 2.4)
The probabilities of all outcomes in the sample space must add to exactly 1, and no single probability can be below 0 or above 1. That's why a probability of 1.25 is automatically impossible. It also means P(not A) = 1 − P(A), because A and its complement split the sample space completely.
Is the Sample space on the AP® Statistics exam?
No released FRQ has used "sample space" verbatim, but the idea is baked into nearly every probability question you'll see. On multiple choice it shows up in a few predictable ways.
- Identify a valid or invalid element. Say an engineer classifies 3 items as defective (D) or non-defective (N). A valid outcome is any 3-letter string of D's and N's, like DNN. Something like "DD" or "DNDN" is NOT in the sample space because it has the wrong number of items.
- Count S to build a probability. For a fair die rolled twice, S has 36 equally likely ordered pairs, and 5 of them sum to 8, so P = 5/36.
- Count S with combinations. Choosing 3 people from 5 women and 4 men gives C(9,3) = 84 equally likely committees. Exactly 2 women means C(5,2) × C(4,1) = 40 committees, so P = 40/84 = 10/21.
- Check that a probability assignment is legal. A value like 1.25 breaks the rules, so the assignment must contain an error.
On FRQs, writing out or describing the sample space (a list, a table, or a tree diagram) is a clean way to show your work so the grader can follow how you got your numerator and denominator.
The Sample space vs Event
The sample space is everything that can happen. An event is some of what can happen. For one die roll, S = {1, 2, 3, 4, 5, 6}, while the event "roll an even number" is just {2, 4, 6}. A quick check is that the sample space always has probability 1, but an event's probability can be anything from 0 to 1.
Key things to remember about the Sample space
The sample space is the complete list of every possible outcome of a chance process, and it is often written as S.
An event is a subset of the sample space, so you always define S first and then pick out the outcomes that match the event.
When outcomes are equally likely, the probability of an event equals the number of outcomes in the event divided by the number of outcomes in the sample space.
Rolling a die twice gives 36 ordered outcomes, so order matters and (2,6) and (6,2) count as two different outcomes.
The probabilities of all outcomes in a sample space must add to 1, and any single probability outside 0 to 1, like 1.25, is invalid.
Tables, tree diagrams, and organized lists are reliable ways to build a sample space without missing or double-counting outcomes.
Frequently asked questions about the Sample space
What is a sample space in AP Statistics?
A sample space is the set of all possible outcomes of a chance process. For one coin flip it's {H, T}, and for one die roll it's {1, 2, 3, 4, 5, 6}. It's covered in Topic 2.4, Introduction to Probability.
Is a sample space the same thing as an event?
No. The sample space is every possible outcome, and an event is a subset of those outcomes. Rolling a die, S = {1, 2, 3, 4, 5, 6}, but the event "roll greater than 4" is only {5, 6}.
Does order matter when writing a sample space?
It depends on the process. For a die rolled twice, order matters, so (3,5) and (5,3) are separate outcomes and S has 36 elements. For choosing a committee of 3 from 9 people, order doesn't matter, so S has C(9,3) = 84 outcomes.
How many outcomes are in the sample space for 3 items each labeled defective or non-defective?
There are 2 × 2 × 2 = 8 outcomes: DDD, DDN, DND, NDD, DNN, NDN, NND, and NNN. Anything with more or fewer than 3 letters, like DD, is not a valid element.
Can a sample space be infinite?
Yes. If the chance process measures something continuous, like how long you wait for a bus, there are infinitely many possible outcomes. Most AP counting questions use finite sample spaces, though, like dice, coins, and committees.
Keep studying AP Statistics
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
AP Statistics hub
Review units, study guides, and course resources.
AP-style practice
Check this vocabulary in multiple-choice context.
FRQ practice
Apply key concepts in written AP responses.
Score calculator
Estimate the exam score you are working toward.
Cheatsheets
Review the highest-yield facts before practice.
Practice exam
Put the full course together before test day.