🎲 Dice Roller
Roll any number of dice with any number of sides — classic d6, tabletop-RPG dice (d4, d8, d10, d12, d20), or anything else.
Reading the notation and the average
The three boxes build standard dice notation, which the result card echoes
back: 3 dice, 6 sides and a modifier of 2 rolls 3d6+2. The
modifier is added once to the total, not to each die - so 3d6+2 spans 5 to 20,
not 9 to 24. The expected total is:
average = n × (s + 1) / 2 + modifier
A d6 averages 3.5, so 2d6 averages 7 and 3d6+2 averages 12.5. The two smaller tiles report the lowest and highest single die, before the modifier, which is what you want when a rule cares about a natural 1 or a natural 20.
More dice means a hill, not a flat line
One die is flat: every face is equally likely. Add a second and the totals bunch in the middle, because 7 can be made six ways while 2 can be made only one.
| 2d6 total | Ways | Chance |
|---|---|---|
| 2 or 12 | 1 | 2.78% |
| 6 or 8 | 5 | 13.89% |
| 7 | 6 | 16.67% |
crypto.getRandomValues with a rejection
loop: values that would not divide evenly across the faces are thrown away and
redrawn. That removes the small bias a plain remainder leaves behind, so every
face is exactly equally likely - closer to fair than most physical dice.Frequently asked questions
What are the odds of rolling a 20 on a d20?
5%, or 1 in 20. Two natural 20s in a row is 1 in 400, and rolling with advantage - two d20s, keep the higher - lifts the chance of at least one 20 to 9.75%.
Why is 7 the most common roll with two dice?
It has the most combinations: 1+6, 2+5, 3+4 and their reverses make six of the 36 equally likely pairs. A 12 needs 6+6 and has just one.
How many dice can I roll at once?
Up to 1,000, with anywhere from 2 to 1,000 sides each. Individual results are listed for 200 dice or fewer; beyond that you get the total, lowest and highest only.