How the dice roller works
Choose how many dice to roll (and, in the second roller, how many sides each die has), then press the button. For each die the roller asks your browser's cryptographic random source for a number and maps it onto the faces so that every face from 1 to the number of sides has exactly the same probability. The individual results appear immediately, followed by their sum and their product whenever more than one die is rolled.
Common dice and what they are used for
| Die | Shape | Typical use |
|---|---|---|
| d4 | Tetrahedron | Small weapon damage in role-playing games |
| d6 | Cube | Board games, craps, general chance |
| d8 | Octahedron | Medium weapon damage |
| d10 | Pentagonal trapezohedron | Percentile rolls, some game systems |
| d12 | Dodecahedron | Heavy weapon damage |
| d20 | Icosahedron | Attack and skill checks in tabletop games |
Two d10s read as tens and units make a percentile roll from 1 to 100, and the non-conventional roller can also roll a single d100 directly: set the sides to 100.
Expected results
For a single die with s sides every face has a chance of 1 in s, and the average roll is (s + 1) / 2. For n dice the average total is n × (s + 1) / 2, the lowest total is n and the highest is n × s.
Worked example
Rolling 3d6 can total anything from 3 to 18, with an average of 3 × 3.5 = 10.5. A total of 10 or 11 is the most common outcome, each occurring in 27 of the 216 equally likely combinations, while 3 and 18 each occur in only 1 of 216 combinations, about 0.46 percent.
Why more dice cluster around the middle
With one die every total is equally likely. Add a second and the middle totals gain more ways to occur: a total of 7 on two d6 can be made six ways, while a 2 or a 12 can be made only one way. Add more dice and the distribution of totals takes on the familiar bell shape, which is why game designers use several small dice when they want predictable results and a single large die when they want swings.
Fairness of virtual dice
Physical dice are never perfect. Small differences in weight, edge shape or the way the pips are drilled can bias a die slightly, and large dice such as the d20 are the hardest to balance. A virtual roller built on a cryptographic random source has no such physical flaws, and each roll is independent of the last. A streak of the same number is normal behavior for random rolls, not a sign of a fault.
Custom dice
Use the non-conventional roller for a die with any number of sides from 2 upward. A two-sided die works as a coin flip, a 30-sided die can pick a day of the month and a 52-sided die can pick a card position. This is handy for tabletop homebrew rules, classroom activities and quick decisions.
Tips
- Write down each total if you need a running record of a game session.
- For advantage or disadvantage in a d20 game, roll 2d20 and read the higher or lower die.
- To roll with a bonus, add it to the total yourself, for example a total of 14 plus 3.
Using the roller for games
Role-playing games combine dice into expressions such as 2d6 + 3 for damage or 1d20 + 5 for an attack. Roll the dice here and add the modifier yourself. In many games, rolling the maximum on a die lets you roll again, so keep rolling and note each total. Board games that call for a pair of six-sided dice work the same way: roll two d6 and read the total, remembering that 7 comes up six times as often as 2 or 12.
Probability reference for two six-sided dice
| Total | Ways | Chance |
|---|---|---|
| 2 or 12 | 1 | 2.78% |
| 3 or 11 | 2 | 5.56% |
| 4 or 10 | 3 | 8.33% |
| 5 or 9 | 4 | 11.11% |
| 6 or 8 | 5 | 13.89% |
| 7 | 6 | 16.67% |