Probability Basics

The Math Behind Gaming: Understanding Probability and Strategy

Learn the core ideas of probability, from counting outcomes to expected value, and see how they shape the choices players make in dice, card and video games.

On this page
  1. Probability as a number between 0 and 1
  2. Combining events
  3. The “at least once” shortcut
  4. Expected value
  5. Why long runs behave differently from short ones
  6. From numbers to decisions
  7. Where the maths stops

Probability as a number between 0 and 1

Probability puts a number on how likely something is. An impossible event has a probability of 0, a certain one has 1, and everything else falls in between. Players usually meet these numbers as fractions or percentages: a one-in-six chance is the same as about 16.7 percent.

In most games, the simplest way to find a probability is to count. List every equally likely outcome, then count the ones you care about. A standard six-sided die has six faces, so the chance of rolling a four is 1/6. A standard deck has 52 cards and 4 aces, so the chance that the top card is an ace is 4/52, or 1/13, which is roughly 7.7 percent.

The counting only works if the outcomes really are equally likely. A loaded die, a poorly shuffled deck or a video game that quietly adjusts its odds breaks the assumption, and the arithmetic then describes a game you are not actually playing.

Combining events

Most interesting questions involve more than one event. Two rules cover a large share of them.

When events are independent, meaning one does not affect the other, you multiply. The chance of two sixes on two separate dice is 1/6 × 1/6 = 1/36.

When events are mutually exclusive, meaning only one can happen, you add. The chance of rolling a one or a two on a single die is 1/6 + 1/6 = 2/6 = 1/3.

Dependence changes the numbers. If you draw two cards from a deck without putting the first back, the second draw depends on the first. The chance of two aces in a row is 4/52 × 3/51 = 12/2652, which simplifies to 1/221, or about 0.45 percent. Card games are full of this effect, which is why card probabilities shift as cards leave the deck.

The “at least once” shortcut

A common question is how likely something is to happen at least once in several tries. It is usually easier to calculate the chance it never happens and subtract from 1.

The chance of not rolling a six on one die is 5/6. Over four rolls, the chance of no six at all is (5/6)^4 = 625/1296. So the chance of at least one six is 1 − 625/1296 = 671/1296, which is about 51.8 percent. Notice that four tries at a one-in-six chance does not make success certain, nor even very likely. It is a bit better than a coin flip.

Expected value

Expected value is the average result you would get if you could repeat a situation many times. You find it by multiplying each outcome by its probability and adding the results.

Take a simple points game: you roll one die, gain 10 points on a six, and lose 2 points on any other number. The expected value is (1/6 × 10) + (5/6 × −2) = 10/6 − 10/6 = 0. On average the game neither gives nor takes points, so it is fair in the long run. Change the penalty to 3 points and the expected value becomes 10/6 − 15/6 = −5/6, about −0.83 points per roll, which tells you the game leans against you.

Expected value is an average, not a prediction. On any single roll you will gain 10 or lose 2, never 0. That gap between average and actual result is what makes games feel uncertain.

Why long runs behave differently from short ones

The law of large numbers says that as the number of trials grows, the average result tends to move toward the expected value. Ten coin flips can easily give seven heads. Ten thousand flips will typically land much closer to half.

This does not mean the coin “owes” you tails after a streak of heads. Each flip is independent, and the chance of heads stays 1/2. The average settles because new results swamp the early ones, not because the past gets corrected.

From numbers to decisions

Knowing the probabilities is only half the picture. Strategy is the habit of using them when you choose between actions. A reasonable player asks three questions: what can happen, how likely is each outcome, and how much does each outcome matter to me?

Some choices are mostly arithmetic. Once you know the dice odds, you can see that a move needing a seven on two dice succeeds more often than one needing a ten, so a player with a choice can favour the first. Other choices need judgement, because outcomes are not worth the same to everyone. A player who is far behind may rationally accept a long shot that a leader would avoid, which is a question of risk assessment rather than pure maths.

It also helps to judge a decision by the information you had when you made it, not by how it turned out. A sound choice can lose and a poor one can win. Over many plays, the sound choices tend to come out ahead, but any single result says little. This is the heart of the difference between luck and skill: skill shows up in the quality of repeated decisions, luck in the part you cannot control.

Where the maths stops

Probability cannot tell you what other people will do, and it cannot make a game fair if it was not designed that way. Real opponents adapt, information is often hidden, and some games are built so that the average result is against the player. In those cases, no amount of calculation turns a losing expected value into a winning one, and outcomes in any single session stay uncertain. If real money is involved, treat the maths as a way to understand what you are risking, not as a promise of anything.

For tabletop, card and video games played for fun, the practical gain is more modest and more reliable: you understand why things happen, you make steadier choices, and you stop reading meaning into streaks that chance alone produces.

Keep exploring

Guides from other topics

All topics →