Dice roller
Type a roll the way tabletop games write it, such as 2d6+3, 4d6 drop lowest or d20 advantage. You get every die, the total and the exact odds of what you rolled.
Type your dice and roll
- Rolls
- 0
- Running total
- 0
- Average
- –
- Highest
- –
- Lowest
- –
How to use the dice roller
- Type your roll in the box, for example 2d6+3, or tap one of the quick rolls.
- Tap Roll, or press Enter or the space bar. Each die is shown, with dropped dice faded out.
- Read the line under the buttons for the range, the average and how likely your total was.
- Your rolls are listed underneath with a running total, average, highest and lowest. Copy link gives you an address that opens the roller with the same dice.
Dice notation, with examples
Dice notation is the shorthand used in role-playing and war games. NdS means "roll N dice with S sides and add them up", so 3d6 is three ordinary dice. A number after a plus or minus is added to the total. Capital letters and spaces don't matter.
| You type | What it rolls | Range | Average |
|---|---|---|---|
| d20 | One twenty-sided die | 1 to 20 | 10.5 |
| 2d6+3 | Two six-sided dice, plus 3 | 5 to 15 | 10 |
| 12d10 | Twelve ten-sided dice | 12 to 120 | 66 |
| d28 or d3 | A die with any number of sides from 2 to 1000 | 1 to 28, or 1 to 3 | 14.5 or 2 |
| d% | Percentile dice, the same as d100 | 1 to 100 | 50.5 |
| 4d6 drop lowest | Four dice, the lowest one ignored | 3 to 18 | 12.24 |
| d20 advantage | Two d20s, keep the higher | 1 to 20 | 13.825 |
| d20 disadvantage +5 | Two d20s, keep the lower, plus 5 | 6 to 25 | 12.175 |
| 1d8+2d6+4 | Different dice added together | 7 to 24 | 15.5 |
| 5d10 keep highest 3 | Five d10s, only the best three count | 3 to 30 | 21.46 |
| 2d6-1d4 | Two d6 minus one d4 | -2 to 11 | 4.5 |
Keeping and dropping dice
Some rolls only count part of what you throw. You can write these in words (drop lowest, drop highest, keep highest 3, keep lowest 2) or in the short codes many virtual tabletops use:
- kh and kl keep the highest or lowest dice:
2d20kh1is a d20 with advantage,2d20kl1with disadvantage. - dl and dh drop the lowest or highest:
4d6dl1is the usual way to roll a D&D ability score. - A number after the code says how many dice; leave it out and it means one.
When two dice tie for lowest, only one of them is dropped, exactly as at the table. Dropped dice stay on screen, faded, and appear in brackets in the roll breakdown so everyone can see what was thrown.
Rolls people look up
A few rolls that come up again and again, with their ranges, averages and most likely totals. Tap the matching quick roll, or type it.
| Roll | Range | Average | Most likely |
|---|---|---|---|
| 2d6 (Monopoly, Catan, a greatsword in D&D) | 2 to 12 | 7 | 7 |
| 3d6 (GURPS checks, old-school ability scores) | 3 to 18 | 10.5 | 10 and 11 |
| 4d6 drop lowest (D&D ability scores) | 3 to 18 | 12.24 | 13 |
| 2d4+2 (D&D potion of healing) | 4 to 10 | 7 | 7 |
| 8d6 (D&D Fireball) | 8 to 48 | 28 | 28 |
| 12d10 (a big dice pool or damage roll) | 12 to 120 | 66 | 66 |
| d20 advantage | 1 to 20 | 13.83 | 20 |
| d20 disadvantage | 1 to 20 | 7.18 | 1 |
For full tables of every total, see the pages for 2 dice, 3 dice, 4 dice, 5 dice and the d20.
The odds under each roll
The line under the buttons is worked out exactly, by counting every way the dice can land, not by simulating thousands of rolls. For 2d6 that is 36 outcomes; for 12d10 it is a trillion (1012), counted with whole-number arithmetic so nothing is rounded until the last step. After you roll, it also tells you the chance of that exact total, of that total or more, and of that total or less.
Roll 2d6 and get a 10, for example, and it will show 8.33% for exactly 10 and 16.67% for 10 or more. Very large rolls (hundreds of sides on many dice at once) still roll instantly, but the odds line is left out.
Dice that don't exist: d3, d28, d30 and the rest
Only five shapes have identical regular faces all the way round, which is why the classic dice have 4, 6, 8, 12 and 20 sides. The ten-sided die is a different kind of shape with kite-shaped faces, and a d30 is a thirty-faced solid of diamond shapes. Other sizes are harder: a real d3 is normally a six-sided die read as 1-1-2-2-3-3, and most odd sizes are sold as rolling prisms, if at all.
A virtual die has none of those limits. Type d3, d7, d28 or d365 and every number from 1 to the top has exactly the same chance.
How the rolls are made
Each die is one draw from your browser's cryptographic random number generator (crypto.getRandomValues), the same source browsers use to make encryption keys. A raw random number is thrown away and drawn again whenever using it would favour some faces over others, a step called rejection sampling, so a d28 is as even as a d6. The result is fixed before the rolling animation starts; the animation is only for show.
Nothing you type is sent anywhere. The roller works out the dice on your own device and remembers only your last roll, in your browser, so it is there next time. The limits are 100 dice in one roll, 2 to 1000 sides, a modifier up to 9,999 and six groups of dice in one line.
Related guides
- Dice probability, explained: how to work out the odds of any roll yourself
Questions
How do I roll 12d10?
Type 12d10 and press Roll. You will see all twelve dice and their total, which can be anything from 12 to 120 and averages 66.
What does 4d6 drop lowest mean?
Roll four six-sided dice and add up the best three. It gives totals from 3 to 18 with an average of 12.24, and it is the standard way to roll ability scores in Dungeons & Dragons.
How do I roll with advantage or disadvantage?
Type "d20 advantage" or "d20 disadvantage" (or just adv or dis). Two d20s are rolled and the higher or lower one is kept. Add a modifier in the same line, for example "d20 advantage +5".
Can I roll a d28, a d30 or a d3?
Yes. Type d28, d30, d3 or any size from d2 to d1000. Every number is equally likely.
Can I add different dice together?
Yes. Join them with plus or minus signs, for example 1d8+2d6+4 or 2d6-1d4. Up to six groups and 100 dice in one line.
Does it keep a history of my rolls?
The last 30 rolls are listed under the roller with a running total, average, highest and lowest. They are kept only on the page: clear them with the button, or they go when you close the tab.