Sample Space

The sample space lists all possible outcomes of an experiment, forming the foundation for probability calculations and predictions.

S={all possible outcomes}S = \{ \text{all possible outcomes} \}

Solve a problem with Sample Space

Type the problem. The solver will use Sample Space where Sample Space is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Sample Space takes
SS
Sample Space
SymbolMeaning
SSS represents the sample space, the complete set of all possible outcomes an experiment can produce. It is written as a set using braces, like {1, 2, 3, 4, 5, 6} for a die roll. If S is misread as a single outcome rather than the full set of possibilities, you cannot calculate probabilities or solve probability problems.

When to use it

Start with sample space whenever you need to calculate a probability, count outcomes, or understand what results are possible in an experiment.

Level

Usually taught in: Algebra I

Worked examples

1. Rolling a single die

Problem

List the sample space for rolling a fair six-sided die once.
  1. Possible faces on a standard die\text{Possible faces on a standard die}

    A fair six-sided die has exactly six faces, each showing a different number.

  2. 1,2,3,4,5,61, 2, 3, 4, 5, 6

    We list each possible value the die could show after one roll.

  3. S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}

    The sample space S contains all six equally likely outcomes; the die must land on exactly one of these.

Answer: S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}

This is the sample space because every single possible result (getting 1 through 6) is listed, and no other result is possible. Sample space is complete—nothing is missing and nothing is wrong.

2. Rolling two dice and recording ordered pairs

Problem

List the sample space for rolling two fair six-sided dice, recording the result of the first die and then the second die as an ordered pair.
  1. First die outcomes:{1,2,3,4,5,6},Second die outcomes:{1,2,3,4,5,6}\text{First die outcomes:} \{1, 2, 3, 4, 5, 6\}, \quad \text{Second die outcomes:} \{1, 2, 3, 4, 5, 6\}

    Each die independently shows one of six values.

  2. 6×6=366 \times 6 = 36

    Since the two rolls are independent (each die is rolled separately), multiply the outcome counts: the total number of ordered pairs is 36.

  3. S={(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(2,1),(2,2),,(6,6)}S = \{(1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (2,1), (2,2), \ldots, (6,6)\}

    Each outcome is written as an ordered pair (first die, second die); this systematic listing preserves which die showed which number.

Answer: S={(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(2,1),(2,2),,(6,6)} with 36 total outcomesS = \{(1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (2,1), (2,2), \ldots, (6,6)\} \text{ with } 36 \text{ total outcomes}

Using ordered pairs is important: the pair (3,5) is different from (5,3), even though both represent one 3 and one 5. If we listed only sums like {2, 3, 4, ..., 12}, we would lose information about which die showed which number, and we could not correctly count how many ways to roll a 7.

3. Video game with level-dependent point rewards

Problem

In an online game, you roll a die to determine your level (Level 1, 2, or 3) and then roll again to see whether you defeat the enemy (Success or Fail). Defeating enemies at different levels gives different points: 10 points at Level 1, 20 at Level 2, 30 at Level 3. List the sample space of all possible (level, outcome) pairs.
  1. Level options:{1,2,3},Combat outcomes:{S,F}\text{Level options:} \{1, 2, 3\}, \quad \text{Combat outcomes:} \{S, F\}

    The level die has three faces (Level 1, 2, 3), and the combat die has two outcomes (Success or Fail).

  2. 3×2=63 \times 2 = 6

    The level roll and combat roll are independent events, so multiply: 3 levels times 2 outcomes equals 6 total possibilities.

  3. S={(1,S),(1,F),(2,S),(2,F),(3,S),(3,F)}S = \{(1,S), (1,F), (2,S), (2,F), (3,S), (3,F)\}

    Each outcome pairs a level with a combat result; different levels will give different point rewards if you succeed.

Answer: S={(1,S),(1,F),(2,S),(2,F),(3,S),(3,F)}S = \{(1,S), (1,F), (2,S), (2,F), (3,S), (3,F)\}

The sample space captures all possible combinations of level and combat outcome. Once you have S, you can later ask: 'What is the probability of succeeding at Level 3?' (one favorable outcome out of 6) or calculate expected points based on the probability of each outcome and its reward value.

Common mistakes

Where Sample Space usually goes wrong
Answer came out wrong
When rolling two dice, the sample space is {2,3,4,5,6,7,8,9,10,11,12}\{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12\}.
The sample space must use ordered pairs: S={(1,1),(1,2),,(6,6)}S = \{(1,1), (1,2), \ldots, (6,6)\} with 36 outcomes. If you want a sample space of sums, you are studying a different experiment than rolling two dice individually.
For flipping a coin twice, the sample space is $\{HH, HT, TT\}$ because there are three types of results: two heads, one of each, or two tails.
The correct sample space is S={HH,HT,TH,TT}S = \{HH, HT, TH, TT\} with 4 outcomes. Track each position separately to avoid merging distinct outcomes.
The sample space for a fair die is S={1:0.167,2:0.167,3:0.167,4:0.167,5:0.167,6:0.167}S = \{1 : 0.167, 2 : 0.167, 3 : 0.167, 4 : 0.167, 5 : 0.167, 6 : 0.167\}.
The sample space is only S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. Probabilities (P=1/6P = 1/6 for each) are assigned in the next step, not written in the sample space itself.
The mistakeWhy it is wrongThe fix
When rolling two dice, the sample space is {2,3,4,5,6,7,8,9,10,11,12}\{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12\}.This lists possible sums, not individual outcomes. Multiple different rolls produce the same sum (like (1,6)(1,6) and (2,5)(2,5) both sum to 7), so listing only sums loses critical information about which combinations exist.The sample space must use ordered pairs: S={(1,1),(1,2),,(6,6)}S = \{(1,1), (1,2), \ldots, (6,6)\} with 36 outcomes. If you want a sample space of sums, you are studying a different experiment than rolling two dice individually.
For flipping a coin twice, the sample space is $\{HH, HT, TT\}$ because there are three types of results: two heads, one of each, or two tails.This forgets that HT (heads first, tails second) is different from TH (tails first, heads second). Order matters when outcomes come from sequential events.The correct sample space is S={HH,HT,TH,TT}S = \{HH, HT, TH, TT\} with 4 outcomes. Track each position separately to avoid merging distinct outcomes.
The sample space for a fair die is S={1:0.167,2:0.167,3:0.167,4:0.167,5:0.167,6:0.167}S = \{1 : 0.167, 2 : 0.167, 3 : 0.167, 4 : 0.167, 5 : 0.167, 6 : 0.167\}.Sample space lists outcomes, not probabilities. Mixing outcomes with their probabilities conflates two separate steps: first identify S, then assign probabilities afterward.The sample space is only S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. Probabilities (P=1/6P = 1/6 for each) are assigned in the next step, not written in the sample space itself.

Tips and when to use something else

  • Always start by writing down the sample space before attempting any probability calculation. Sample space is the foundation—without it, you cannot organize your thinking or count outcomes correctly.
  • When listing outcomes, use a systematic method: make a table, draw a tree diagram, or list outcomes in order (like (1,1),(1,2),,(6,6)(1,1), (1,2), \ldots, (6,6)). This prevents missing outcomes or double-counting.
  • For complex experiments, use the Fundamental Counting Principle: if an experiment has independent stages, multiply the number of outcomes at each stage to find the total size of S without listing every single outcome. For example, rolling 3 dice gives 63=2166^3 = 216 outcomes.
  • Reserve the Fundamental Counting Principle for counting outcomes efficiently; use Sample Space for listing and organizing outcomes explicitly. Small sample spaces list completely; large ones can be described using multiplication.

Frequently asked questions

What is the difference between a sample space and an outcome?
An outcome is a single result—like rolling a 3 on a die or flipping heads on a coin. The sample space is the complete set of ALL possible outcomes, like S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\} for a die or S={H,T}S = \{H, T\} for a coin. Every outcome belongs in the sample space, and the sample space is complete when it includes everything that could possibly happen in that experiment.
Do all outcomes in a sample space have to have equal probability?
No. Sample space only lists what outcomes CAN happen; it does not assign probabilities. For example, if a die is weighted or biased, some faces might be more likely than others, but the sample space is still S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. Probabilities come after you have identified the sample space, and they can be any values as long as they add up to 1.
What is the difference between sample space and favorable outcomes?
Sample space SS is every possible outcome of an experiment. Favorable outcomes are the specific outcomes you care about for a particular question. For rolling a die, S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}, but if you only care about rolling an even number, the favorable outcomes are {2,4,6}\{2, 4, 6\}. Favorable outcomes are always a subset of SS—they must come from SS.
Can a sample space consist of just one outcome?
Yes. If an experiment has only one possible result, the sample space contains just that one element. For example, if you choose the top card from a face-up deck where you know exactly which card is on top, S={that card}S = \{\text{that card}\}. However, in typical probability problems, sample spaces have multiple outcomes because that's what makes probability meaningful—you need at least two possible outcomes to have uncertainty.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18