What do d4, d6 and d20 mean?
Tabletop games describe dice with a simple code. The letter “d” stands for die, and the number after it is how many sides it has. A d6 is the ordinary cube from board games, a d20 is the 20-sided die used for attack rolls and checks in Dungeons & Dragons, and a d100 (also called percentile dice) gives a number from 1 to 100. A number in front tells you how many dice to roll, so 3d6 means three six-sided dice added together, and 1d20+5 means one twenty-sided die plus five. The button on this page shows that code for whatever you have selected.
Is this dice roller fair?
Yes. Each die uses the Web Crypto random number generator built into your browser rather than the simpler Math.random function. On top of that, the tool uses a technique called rejection sampling: random values that would make some faces slightly more common than others are thrown away and drawn again. The result is that every face on every die has exactly the same chance of coming up, just like a perfectly balanced physical die. The tumbling animation is only for show; the result is decided the moment you press Roll.
Using modifiers and reading the result
Many role-playing games ask you to add a bonus or penalty to a roll. Type it into the Modifier box as a positive or negative whole number and it is added once to the total, not to each die. The result shows the grand total in large type, then a breakdown such as “4 + 2 + 6 = 12, +1 = 13” so you can check the math, plus a card for every die. Six-sided dice show classic pips so a quick glance is enough.
Handy uses beyond role-playing games
- Lost board game dice: roll 2d6 for Monopoly, Catan or backgammon when the real dice have gone missing.
- Classroom math: roll many times and look at the history to talk about probability and why 7 is the most common total on two dice.
- Quick decisions: assign options to numbers and let a die choose. For a list of names, the random name picker is quicker.
- Remote game nights: share your screen so everyone sees the same roll and history.
Need random characters instead of numbers? Try the password generator, which uses the same secure randomness.