Utility Tools

Two dice and a coin: why seven wins, and why a streak proves nothing

A fair die or coin is the simplest random machine there is, yet it fools people every day. This guide uses all 36 outcomes of two dice, the famous 17th-century gambling puzzle and a 5,000-flip experiment to show what chance really does.

By the Toolcloak team8 October 20264 min read
In this article
  1. One die: simple, and boring on purpose
  2. Two dice: counting the 36 outcomes
  3. A gambler’s puzzle from the 1600s
  4. The coin has no memory
  5. What really settles down
  6. Quick practice

Every board game, every cricket toss and every “heads or tails” argument rests on the same idea: some outcomes are equally likely, so counting them gives you the odds. Counting is easy. What goes wrong is intuition, which finds patterns in streaks and believes that luck must “even out” in the next roll.

One die: simple, and boring on purpose

A fair die has six faces, each with the same chance of landing up: 1 in 6, or about 16.7%. That means each number is “due” no more often than any other. Add a second die and things become interesting, because the total is no longer equally likely.

Roll one or several dice or flip a coin. Roll a few hundred times and watch the totals build up the shape described below.Open Dice Roller & Coin Flip

Two dice: counting the 36 outcomes

Treat the two dice as different (say one red, one blue). There are 6 × 6 = 36 equally likely pairs. The table below shows the total for every pair. Look along the diagonals: each diagonal has the same sum, and the middle one is the longest.

Total of two dice, for every combination
Red die123456
1234567
2345678
3456789
45678910
567891011
6789101112

Columns show the blue die. Darker means the total is more likely. The ringed cell is a 1 and a 6, which makes 7.

How many of the 36 outcomes give each total
1223344556675849310211112

The totals form a triangle: 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1. Seven has six ways and is the most likely total.

Chance of each total (%)
Total 2
2.8%
Total 3
5.6%
Total 4
8.3%
Total 5
11.1%
Total 6
13.9%
Total 7
16.7%
Total 8
13.9%
Total 9
11.1%
Total 10
8.3%
Total 11
5.6%
Total 12
2.8%

A total of 7 comes up about one roll in six. A total of 12 (double six) comes up about one roll in thirty-six.

Where the 36 outcomes sit
16 of 36Totals 6, 7 and 844% of all rolls land in these three
2 of 36Totals 2 and 12Only 5.6% of rolls, one way each
6 of 36Any double1+1 up to 6+6: one roll in six

The middle of the range collects most of the outcomes, which is why 6, 7 and 8 come up so often in dice games.

A gambler’s puzzle from the 1600s

A French nobleman, the Chevalier de Méré, noticed that he made money betting on at least one six in four rolls of a die, but lost on at least one double six in 24 rolls of two dice. The two bets sound similar, since 4 is to 6 as 24 is to 36. The reason they are different is that “at least one” is easiest to count through its opposite: no success at all.

Chance of at least one six in four rolls
  1. 1Chance of no six on one roll5 out of 6, which is about 0.833.
  2. 2Chance of no six in all four rolls(5/6)⁴ = 0.482, because the rolls are independent.
  3. 3Flip it around1 − 0.482 = 0.518, so a six turns up 51.8% of the time.
Out of 100 games of each bet, how many are won?
  • Win: a six in 4 rolls51.8%
  • Lose48.2%

A small edge for the player, enough to win steadily over many games.

The double-six bet in 24 rolls
  • Win: a double six in 24 rolls49.1%
  • Lose50.9%

Barely under half. Chance of no double six per roll is 35/36, and (35/36)²⁴ = 0.509. Pascal and Fermat solved this around 1654, which helped start probability theory.

The coin has no memory

Suppose a fair coin lands heads five times in a row. Many people feel tails is now “due”. It is not. Each flip is independent: the coin does not know what happened before. The chance of five heads in a row before you start is small, but the chance of a sixth head after five is just 50%.

Chance of a run of heads in a row, from the start (%)
1 head
50%
2 heads
25%
3 heads
12.5%
5 heads
3.13%
8 heads
0.39%
10 heads
0.1%

Each extra head halves the chance. Five in a row is 3.1%, ten in a row is about 0.1%. Rare, but across many flips you will see them.

What really settles down

A coin was flipped by computer in an experiment, 5,000 times with a fixed seed so the result is repeatable. The share of heads wandered at first, then calmed down:

Share of heads after more and more flips (%)
Share of headsFair value 50%
0%12.5%25%37.5%50%62.5%10501005001,0005,00049.8%

This is the law of large numbers: the share of heads gets closer to 50% as flips grow.

The common mistake is to think the count of heads and tails must also even out. It does not have to. A lead of 40 extra heads after 1,000 flips is 52% heads, but after 100,000 flips it is only 50.02%, even though the gap is exactly the same. Chance does not correct the past; it simply buries it under new flips.

Quick practice

  1. What is the chance of a total of 9 on two dice? 4 of 36, which is 11.1%.
  2. Which two totals are equally likely as 5? 9, since both have 4 ways.
  3. After four tails in a row, what is the chance the next flip is heads? 50%.
  4. What is the chance of at least one head in 3 flips? 1 − (1/2)³ = 87.5%.

Randomness has a shape, and counting reveals it. For where randomness meets security, read about UUID collisions and password entropy.

Questions people ask

What is the most likely total with two dice?

Seven. It can happen in 6 of the 36 ways, which is 16.7%.

What is the chance of rolling a double six?

1 in 36, or about 2.8%.

Is a coin more likely to land tails after many heads?

No. Each flip is independent. A fair coin is always 50:50, no matter what came before.

What is the chance of rolling at least one six in four rolls?

About 51.8%. The chance of no six at all is (5/6)⁴ = 48.2%, so at least one six is the rest.

What is the law of large numbers?

As the number of trials grows, the average result (such as the share of heads) approaches the true probability. It does not mean the raw counts must even out.

Are online dice rollers truly random?

They use a pseudo-random number generator, which is fine for games. Anything that needs true unpredictability, such as passwords, should use a cryptographically secure source.