Dice Roller
This dice roller rolls virtual dice with any number of sides, from a standard six-sided die to a d20 for tabletop games. Choose how many dice to roll, see each result and the total, and keep a short history of recent rolls in standard notation like 3d6.
Dice Roller tool
Recent rolls
How to use it
- Set how many dice and how many sides each has.
- Click Roll.
- Read each die and the total, with recent rolls listed below.
What is a dice roller?
A dice roller is a virtual dice tool: it simulates one or more dice by drawing each result from crypto.getRandomValues, the browser’s secure random source. Every face of a fair die has the same chance, no matter what came before:
P(any face) = 1 / sides
d6: 1/6 ≈ 16.7% d20: 1/20 = 5%
Roll several dice together and the total stops being flat. Middle sums can be made in more ways, so they come up more often, which is why 7 rules the board in dice games. This dice roller shows each die and the sum, handles 4 to 100 sides, and keeps notation like 3d6 in the history, so it stands in for any physical set.
Worked example
2d6 sum probabilities
| Sum | Ways out of 36 | Probability |
|---|---|---|
| 2 | 1 | 2.8% |
| 3 | 2 | 5.6% |
| 4 | 3 | 8.3% |
| 5 | 4 | 11.1% |
| 6 | 5 | 13.9% |
| 7 | 6 | 16.7% |
| 8 | 5 | 13.9% |
| 9 | 4 | 11.1% |
| 10 | 3 | 8.3% |
| 11 | 2 | 5.6% |
| 12 | 1 | 2.8% |
Dice for any game
A standard die has six sides, but tabletop and role-playing games use a whole family of dice named by their side count: d4, d6, d8, d10, d12 and d20, plus a percentile d100. A roll is written as the number of dice followed by the type, so 2d6 means two six-sided dice added together and 1d20 is a single twenty-sided die. This roller handles any of them, up to 50 dice at a time, showing each die and the total so you do not have to add them up.
Why totals bunch in the middle
Every die uses crypto.getRandomValues, the browser's secure random source, so results are fair and independent. Rolling two dice is not the same as picking one number from 2 to 12. With 2d6 there are 36 possible combinations. Only one of them makes a 2 (1 and 1) and only one makes a 12, but six of them make a 7, so a 7 comes up about 17 percent of the time and a 2 or a 12 under 3 percent. Add more dice and the curve gets steeper. Physical dice behave exactly the same way, which is why games like Catan and Monopoly are built around the middle numbers.
Reading the results
Each die is shown as its own tile, with the sum underneath. The history keeps your last eight rolls in standard notation, for instance 3d6: 4 + 2 + 5 = 11, which is handy when you need to look back at a damage roll or check a stat you rolled a minute ago. For a d100 the roller gives a number from 1 to 100 directly, so there is no need to pair two d10s. Nothing is stored between visits and nothing is sent to a server.
Common uses
- Board games and tabletop RPGs like D&D and Pathfinder
- Replacing lost or forgotten physical dice
- Rolling character stats with 3d6 or 4d6
- Teaching probability with real rolls
- Random picks and quick games
When to use it
- You need a dice roller for D&D when the d20 stayed home: attack rolls, saves and 4d6 character stats.
- Board game night is missing its dice and an online dice roller keeps the game going.
- A teacher wants the class to roll two dice many times and compare results with the 2d6 table above.
- Your set never included the odd die a game asks for, like a d100 for percentile rolls.
- Quick random picks: assign options to numbers and roll a single die.
Related tools
Coin Flip handles the two-outcome case with one tap instead of a d2.
Random Number Generator draws from any range, including ranges no die matches, and can pull thousands at once.
Wheel of Names picks among named options when a number needs a lookup table anyway.