How the dice roller works
Pick a die, set how many you want and an optional modifier, and press Roll. You see every single die, which ones count, the total, and the lowest, highest and average total that roll can give. Every result also lands in the roll history below the dice, so nobody at the table has to remember what came up three turns ago.
The randomness comes from crypto.getRandomValues, the cryptographically strong random number generator built into your browser. A simple trick like "random number modulo 6" would favor some faces by a tiny amount, because 232 possible raw values do not split evenly into six groups. This roller throws away the few raw values at the top that would cause that imbalance and draws again, a method called rejection sampling. The result: every face of every die has exactly the same chance, like a perfectly balanced physical die.
Dice notation you can type
Dice notation is the shorthand used in role-playing games. "2d6" means two six-sided dice. The number before the d is how many dice, the number after it is how many sides. Here is everything this roller understands:
| Type | Meaning |
|---|---|
| d20 | One twenty-sided die (the count defaults to 1) |
| 2d6+3 | Two d6 plus a modifier of 3; use - to subtract |
| 3d8+2d6 | Several groups of dice added together |
| 4d6kh3 | Keep the highest 3 (k3 is short for kh3) |
| 4d6dl1 | Drop the lowest 1 (d1 is short for dl1) |
| 2d20kl1 | Keep the lowest 1: disadvantage |
| 5d10dh2 | Drop the highest 2 |
| d% | Percentile die, the same as d100 |
| 6x4d6dl1 | Roll the whole expression 6 times |
Spaces and capital letters do not matter. You can roll up to 100 dice in one group, dice with 2 to 1,000 sides, up to 300 dice at once, and repeat a roll up to 20 times.
Dice probabilities: what to expect from 2d6
One die is flat: each face of a d6 comes up one time in six. Add two dice together and the middle wins, because there are more ways to make a 7 (1 and 6, 2 and 5, 3 and 4, and the reverse of each) than to make a 2 (only double 1s). The guide dice and coin probability has the full tables for two and three dice, doubles, advantage and streaks. Out of the 36 equally likely combinations:
| Sum | Ways | Chance |
|---|---|---|
| 2 | 1 of 36 | 2.8% |
| 3 | 2 of 36 | 5.6% |
| 4 | 3 of 36 | 8.3% |
| 5 | 4 of 36 | 11.1% |
| 6 | 5 of 36 | 13.9% |
| 7 | 6 of 36 | 16.7% |
| 8 | 5 of 36 | 13.9% |
| 9 | 4 of 36 | 11.1% |
| 10 | 3 of 36 | 8.3% |
| 11 | 2 of 36 | 5.6% |
| 12 | 1 of 36 | 2.8% |
That is why rolling a 7 moves the robber in Catan, and why 7 is the most common roll in Monopoly and craps: it shows up one time in six. A 2 comes up only once in 36 rolls on average, and so does a 12. The more dice you add, the more the totals bunch up around the average, which is the number of dice times (sides + 1) / 2: 7 for 2d6, 10.5 for 3d6, 28 for 8d6.
Advantage and disadvantage on a d20
In D&D 5th edition, advantage means you roll two d20 and keep the higher; disadvantage means you keep the lower. If one d20 succeeds with chance p, advantage succeeds with 1 − (1 − p)², and disadvantage with p². The middle of the range moves the most:
| Need at least | Normal | Advantage | Disadvantage |
|---|---|---|---|
| 5 | 80% | 96% | 64% |
| 10 | 55% | 79.75% | 30.25% |
| 11 | 50% | 75% | 25% |
| 15 | 30% | 51% | 9% |
| 20 | 5% | 9.75% | 0.25% |
The average roll rises from 10.5 to about 13.8 with advantage and falls to about 7.2 with disadvantage. A natural 20 comes up 9.75% of the time with advantage instead of 5%. When you roll a single d20, or a d20 with advantage or disadvantage, the roller flags a natural 20 or a natural 1 for you.
Rolling D&D ability scores with 4d6 drop lowest
Random Generation, one of the three ways to get ability scores in the Player's Handbook rules: roll four d6, drop the lowest, add the other three, and do it six times. Press Ability scores to get all six sets at once, with each dropped die grayed out and the ability modifier next to each score. Dropping the lowest die pushes the results up compared with plain 3d6, as the exact numbers show:
| 3d6 | 4d6 drop lowest | |
|---|---|---|
| Average score | 10.5 | about 12.24 |
| Chance of 15 or more | 9.3% | 23.1% |
| Chance of an 18 | 0.46% | 1.62% |
If your table prefers the point cost method (point buy) or the standard array (15, 14, 13, 12, 10, 8), you will not need random scores at all, but the dice are more fun.
Dice for board games and the classroom
- Lost dice: Monopoly, Catan and backgammon use 2d6, Yahtzee uses 5d6. Set the number of dice and tap d6.
- Role-playing: attack rolls are 1d20 plus your bonus, damage might be 2d6+3 or 8d6 for a fireball.
- Teaching probability: roll 2d6 fifty times and compare the history with the table above. Small samples wander; large ones settle near the expected chances.
- Quick decisions: for a plain yes or no, the coin flip is faster. For any number range, use the random number generator, and to pick a name, spin the wheel spinner.
How to use the dice roller
- 1Tap a die from d4 to d100 to roll it right away, or set the number of dice and a modifier first.
- 2For a d20, choose Advantage or Disadvantage. For anything else, type dice notation like 3d8+2d6-1 and press Enter.
- 3Press Roll, or the R key, for each new roll. Copy the result or a link to the same roll, and find your last 50 rolls in the history.
Guides on this topic
- Dice and Coin Probability: Odds for 2d6, Doubles and Streaks
- How to Pick a Random Winner Fairly: Draws People Trust
Frequently asked questions
Is this dice roller really random and fair?
Yes. Every die uses crypto.getRandomValues, the cryptographic random number generator built into your browser. Raw values that would make the split uneven are thrown away and drawn again, so each face has exactly the same chance. Earlier rolls never affect the next one.
What does 4d6 drop lowest mean?
Roll four six-sided dice, set the lowest one aside and add up the other three. It is the Random Generation method for D&D ability scores in the Player's Handbook rules. Type 4d6dl1 or 4d6kh3 (keep highest 3), which mean the same thing, or press "Ability scores" to roll all six at once.
How do advantage and disadvantage work?
With advantage you roll two d20 and use the higher one; with disadvantage you use the lower one. Your modifier is added once, after picking. Choose Advantage or Disadvantage under the dice, or type 2d20kh1+5 or 2d20kl1+5.
How do I roll a d100 or percentile dice?
Tap d100, or type d100 or d%. You get a whole number from 1 to 100, each equally likely. That is the same result as rolling two ten-sided dice for the tens and the ones, where 00 and 0 together count as 100.
Can I roll different dice at once?
Yes. Join groups with plus or minus signs, like 3d8+2d6+4 for a weapon with extra damage, or 1d20+1d4+5 for an attack with a bonus die. Each group is shown separately and the total adds everything up.
Is my roll history saved?
Your last 50 rolls are listed below the dice while the page is open. They are not stored or sent anywhere, so they disappear when you close or reload the page. Copy a roll or the link first if you want to keep it.