Lost the dice for a board game, or need a number from 1 to 6? This roller throws up to six fair six-sided dice that tumble and land like real ones, and shows the total, a chart of every number, and your last 15 rolls.
Roll a die with a tap, a click, or the R key
Tap the dice, press Roll, or press Space, Enter, or R on a keyboard. The dice hop, tumble, and settle with one face toward you, and the result appears above them: You rolled a 4 for one die, or the total and every value, such as 4 + 5 = 9, for several.
Each face is fixed the moment you roll. On the way down, every cube makes two or three turns one way and one or two the other, with a small twist at the end, and none of that changes the number. With reduced motion turned on in your system settings, the dice skip the tumble and fade in on their faces.
Is this dice roller fair?
Yes, and the arithmetic shows why. Each die asks the cryptographic generator built into your browser for a 32-bit value, one of 4,294,967,296. Six doesn't divide that number evenly: 2^32 mod 6 = 4, so a plain remainder would give four of the faces one extra way to come up. Those top 4 values are redrawn whenever they appear, which leaves exactly 715,827,882 values for each face and a chance of exactly 1 in 6. Throwing back the leftovers like this is called rejection sampling.
No roll depends on the ones before, and no die affects another, so a 6 is just as likely straight after a 6 as at any other time. With several dice, each one gets its own draw.
Rolling up to six dice at once
Under Dice per roll, choose any number from 1 to 6. When you change it, the result line tells you the range of totals: 2 to 12 for two dice, 3 to 18 for three, and up to 6 to 36 for six. Five and six dice sit in two rows of three.
With several dice, the result shows the total first and every value underneath. When you roll two dice and they match, the roll is marked as doubles, which matters in games such as Backgammon. All the dice here are standard six-sided dice; for other ranges, such as 1 to 20, the random number generator picks any whole number.
Laid out like a real die
On a standard die, opposite faces add up to seven: 1 is opposite 6, 2 is opposite 5, and 3 is opposite 4. These dice follow the same layout, so when a 1 faces you, the 6 is on the back. Because none of 1, 2, and 3 is opposite another, those three faces meet at one corner on every standard die. The single pip of the 1 is red, as on many real dice.
Totals, averages, and the number chart
Three tiles above the dice show how many rolls you've made, the last total, and Average die, the average of every single die you've rolled. A fair die averages 3.5, so over many rolls that number drifts toward 3.5, and the total of several dice averages 3.5 times the number of dice: 7 for two dice and 10.5 for three.
The chart under Settings and stats has a bar for each number from 1 to 6, counting every die across every roll. In a short session the bars can look far from even. That's normal, and over hundreds of rolls they level out. Recent rolls lists your last 15 rolls, newest first, with the total for each roll of two or more dice.
Dice odds: totals, doubles, and sixes
One die is simple: every number has a 1 in 6 chance, about 16.7%. Totals of two or more dice aren't evenly spread, because some totals can be made in more ways:
- Two dice: 7 can be made 6 ways out of 36, a 16.7% chance. 6 and 8 each have 5 ways, and 2 and 12 have just 1 way each, a 2.8% chance.
- Three dice: 10 and 11 are the most likely totals, at 12.5% each.
- Six dice: 21 is the most likely total, at about 9.3%, and all six showing different numbers happens only 1.5% of the time.
- Five dice: all five the same comes up 1 time in 1,296, the roll behind the Yacht in Yacht Dice.
Waiting for a six: chances over several rolls
Many games make you wait for one number, such as a 6 to get a piece out. The chance of at least one 6 grows with every roll, but more slowly than people expect: 30.6% in two rolls, 51.8% in four, and 66.5% in six. Even after six rolls, about one time in three there's still no 6.
Seeing every number takes longer still. On average it takes 14.7 rolls of one die before all six faces have come up at least once, which is why the chart can still show an empty bar after a dozen rolls.
Roll a die for board games, classrooms, and decisions
Use it when the dice from a board game have gone missing, when you're playing on the go, or when a game needs more dice than you own. Teachers use it for probability experiments: roll 60 times as a class and compare each bar on the chart with the expected 10. It also makes a fair choice between up to six options: number them, roll one die, and go with the result. At a game night, a phone in the middle of the table works for everyone, and the recent rolls list settles any argument about what was rolled.
Touch, the R key, and screen readers
All three ways of rolling throw the same fair dice:
- Touch or mouse: tap or click the dice themselves, or the Roll button below them.
- Keyboard: Space, Enter, and R all roll while the dice are in view, as long as focus isn't on another button.
- Screen readers: the dice button says what it does, such as Roll the 3 dice, each result is read out, and every chart bar and recent roll has its numbers in words.
Dice through history, and the birth of probability
Dice are among the oldest gaming tools. Possibly the oldest known dice were found with a backgammon-like game at the Burnt City, an archeological site in south-eastern Iran, and date from about 2800 to 2500 BCE.
Dice also helped start the math of chance. In 1654, the gambler Antoine Gombaud, known as the Chevalier de Méré, brought questions about his bets to Blaise Pascal, and Pascal's letters with Pierre de Fermat laid the groundwork of probability theory. One of de Méré's bets, at least one six in four rolls of a die, wins 51.8% of the time. Another, at least one double six in 24 rolls of two dice, wins only 49.1%.
What the roller saves on this device
There's no account to make. The page has to load over the internet, but from then on your browser rolls the dice itself, and your rolls aren't sent to a server.
What the roller keeps, in this browser's local storage, is short: how many dice you roll, your roll count, the tally behind each chart bar, and your last 15 rolls. The privacy policy lists what the site stores. The round arrow beside Roll wipes only the recent rolls, and Reset stats clears the rest while keeping your number of dice.