Probability Basics

Conditional Probability and Why Order Matters

Learn how the chance of an event changes when you know something else has happened, using card draws without replacement and simple worked examples.

On this page
  1. A quick note before the math
  2. What “conditional” means
  3. Drawing cards without replacement
  4. What changes if the card goes back
  5. Why order matters
  6. How this relates to slot-style games
  7. Practical takeaways

A quick note before the math

Slots and other casino games are games of chance with a built-in house edge. Nothing in this article, or in any probability calculation, is a way to beat them, and most players lose money over time. The goal here is to understand how chances change when information changes, an idea that also shows up in everyday life. Only gamble money you can afford to lose, and remember that gambling is age-restricted or illegal in many places.

What “conditional” means

A conditional probability is the chance of one event given that another event is known to have happened. It is written P(A | B) and read “the probability of A given B.”

The idea is simple: new information can shrink the list of possibilities. If you know a card drawn from a standard 52-card deck is a face card (jack, queen or king, 12 cards in all), the chance it is a king is no longer 4/52. It is 4/12, or 1/3, because you are now only considering the 12 face cards.

The general method is to count only within the situation you know to be true:

P(A | B) = (outcomes where A and B both happen) / (outcomes where B happens)

Drawing cards without replacement

Cards are the classic example because each draw changes what is left in the deck.

Suppose you draw two cards from a shuffled 52-card deck, keeping the first. What is the chance that both are aces?

  • The first card is an ace: 4/52, which simplifies to 1/13.
  • Given that the first was an ace, three aces remain among 51 cards, so the second is an ace with probability 3/51, which simplifies to 1/17.

To find the chance of both, multiply: 4/52 × 3/51 = 12/2652 = 1/221, roughly 0.45%.

Notice that the second fraction depends on the first result. If the first card had not been an ace, the question about two aces would already be settled. That dependence is what makes the events conditional rather than independent.

A second example: two hearts

There are 13 hearts in the deck. The chance that both of two cards are hearts is 13/52 × 12/51 = 156/2652 = 1/17, about 5.9%. Compare that with the 1/16 you would get by wrongly treating the second draw as if the first card had been returned: 13/52 × 13/52 = 1/16, which is 6.25%. The difference looks small but is real, and it grows as the deck gets smaller.

What changes if the card goes back

If you replace the first card and reshuffle, the deck is back to its original state. The second draw has the same chance as the first, whatever happened before. That is the definition of independent events. The idea of two draws having nothing to do with each other is the contrast that makes conditional probability worth studying: a draw without replacement has memory, a draw with replacement does not.

Why order matters

The title has two meanings, and both matter.

Order of the draws

In the examples above, the chance of the second card depends on what came first. You can still compute the chance of “both aces” in either order and get the same answer. What changes is how you reason through it: you must always condition the later draw on the earlier ones.

Order of the condition

The second meaning is subtler. P(A | B) is generally not equal to P(B | A).

Take a single card drawn from a full deck:

  • P(king | face card) = 4/12 = 1/3. Among face cards, one in three is a king.
  • P(face card | king) = 4/4 = 1. Every king is a face card.

The two conditional probabilities are very different, even though they involve the same two events. Mixing them up is a common reasoning error. It appears when people hear that “most winners did X” and take it to mean “most people who do X win.” The first statement concerns a group chosen because they won; the second concerns a group chosen by behavior. Keeping track of which group you are conditioning on avoids this trap.

How this relates to slot-style games

A card game that uses a physical deck without reshuffling has memory: what has been dealt changes what can come next. Because of this, the topic of fair shuffling matters for card games.

A slot machine works differently. Its outcomes come from random number generators, and each spin is independent of the last, so earlier spins give no information about the next one. The deck-style reasoning above does not carry over. A machine that “has not paid in a while” is not more likely to pay, which is a common mistake among the cognitive biases that shape risky choices.

Conditional reasoning also helps with claims made about odds. A statement like “players who reach the bonus round usually win more” might be true simply because the bonus round pays out, not because anything the player did made it more likely. Asking “given what, exactly?” is a good habit when reading any probability claim.

Practical takeaways

  • Conditional probability is a probability calculated inside a narrower set of possibilities.
  • Drawing without replacement makes later draws depend on earlier ones, and drawing with replacement removes the dependence.
  • P(A | B) and P(B | A) usually differ, so check which one a statement refers to.
  • Games with no memory, such as spins driven by a random number generator, do not behave like a deck of cards.

If gambling ever feels like more than entertainment, set limits before you start and consider talking to a national problem-gambling helpline or a local health service.

The complete guide to probability basics

Probability Basics: How to Think About Chance
Read the guide

Keep exploring

Guides from other topics

All topics →