applets.

Dice Odds

← All apps

About Dice Odds

Pick how many dice (1 to 10) and what kind, from a four-sided d4 to a twenty-sided d20. ROLL throws them once. SIMULATE throws them up to a million times and draws a bar for every total, with the expected share of each total drawn over the top as a line, so you can watch the rolls settle onto it. WHAT ARE THE CHANCES? gives the exact odds of any total, or of at least or at most a total, and how often it really came up. Switch to Highest die to look at the biggest single die instead of the total. Click a bar on the chart to ask about that total. Keys: R rolls, 1 to 9 and 0 set the number of dice.

THE STORY

Dice are among the oldest gaming tools there are. The Royal Game of Ur, from ancient Mesopotamia, was played with four-sided, pyramid-shaped dice, and cube-shaped dice have been found in ancient Egypt and in the cities of the Indus Valley.

Working out the odds came much later. Gerolamo Cardano, an Italian doctor, mathematician and keen gambler, wrote a book on games of chance in the 1500s, but it was not published until 1663, long after he died. By then the subject had already started properly: in 1654 the Chevalier de Méré, a French writer and gambler, asked Blaise Pascal about a puzzle. Betting on at least one six in four throws of one die was a winner over time, so why did betting on at least one double six in 24 throws of two dice seem to lose? Pascal wrote to Pierre de Fermat about this and another of de Méré's problems, and their letters are usually counted as the start of probability theory. (De Méré was right to worry: at least one six in four throws comes up 51.8% of the time, but at least one double six in 24 throws only 49.1%.)

Adding more dice brings in the bell curve. Abraham de Moivre showed in 1733 that the totals of many coin tosses follow a bell-shaped curve, and Pierre-Simon Laplace took the idea much further. It is now called the central limit theorem: add up enough independent random numbers, each with a limited spread (dice qualify), and their totals make a bell.

HOW IT WORKS

Why is 7 the most likely total with two dice? There are 36 ways two dice can land (6 × 6), and 6 of them make 7: 1+6, 2+5, 3+4, 4+3, 5+2 and 6+1. Only one way makes 2 (1+1) and only one makes 12 (6+6). So 7 comes up 1 time in 6, while 2 or 12 come up just 1 time in 36.

The exact odds are counted the same way for any dice: start with one die (one way for each face), then for each extra die add it to every total so far. That counts every way to make every total exactly, even with ten d20s, which can land in over ten million million ways. The highest die is easier: the chance all the dice show at most 5 is (5/6) to the power of the number of dice, and so on.

The simulation uses a fast random number generator (xoshiro128**) seeded from your browser's secure random numbers, and each die is rolled without favouring any face. One die is flat: every face is equally likely. Two make a triangle. Three or more make a bell, and the more dice, the closer it gets to the smooth normal curve you can turn on over the chart.

FURTHER WATCHING AND READING

Dice
Kind
Look at
TOTAL
–

TOTALS

Rolled Expected

SIMULATE

Rolls

WHAT ARE THE CHANCES?

WHY A BELL?