This free dice roller handles every die on the table: d4, d6, d8, d10, d12, d20 and d100, plus any custom number of sides. Roll up to 100 dice at once, add a modifier, drop the highest or lowest, and see each die, the exact odds of your total and a running history.
A dice roller is a random number generator wearing a game's clothes. You say how many dice to roll and how many sides each one has, and it hands back a result with exactly the same odds as shaking the physical dice in a cup: every face of every die is equally likely, and no roll has any memory of the one before it.
People reach for a virtual dice roller for the same reasons they reach for real dice, with a few bonuses. A board game works when the dice are missing from the box. A tabletop role-playing session continues when the group plays online. A teacher can roll 100 six-sided dice at once to show a class what a bell curve looks like, which nobody wants to clean up afterwards. And a probability question such as "how likely is a 7 on 2d6?" gets an exact answer in the Odds card instead of a hand-waved guess.
This page uses two six-sided dice, written 2d6, as its running example. Every number quoted in the guide can be checked against the roller above.
Dice are described in a compact shorthand that grew up around tabletop games. Once you know the pattern you can read any roll at a glance, and the calculator uses the same shorthand in its results.
3d6 + 2
3 how many dice to roll · d6 six-sided dice · + 2 a flat modifier added once at the end
So 3d6 + 2 means roll three six-sided dice, add them together, then add 2. The number after the letter d is the number of sides. The letter d stands for die or dice, and nothing else. A bare d20 means a single twenty-sided die with nothing added.
| Dice | Shape | Chance of each face | Typical use |
|---|---|---|---|
| d4 | Tetrahedron | 25% | Small damage rolls in fantasy games |
| d6 | Cube | 16.67% | Board games, craps, Yahtzee |
| d8 | Octahedron | 12.5% | Medium damage rolls |
| d10 | Pentagonal trapezohedron | 10% | Percentile rolls, rolled in pairs |
| d12 | Dodecahedron | 8.33% | Large weapons and random tables |
| d20 | Icosahedron | 5% | Attack rolls and skill checks |
| d100 | Roll of two d10s | 1% | Random tables and events |
Two more pieces of shorthand appear on this page. A modifier is a plain number added after the dice are summed, and dropping a die means it is rolled but not counted. "2d20, drop the lowest" is the familiar roll-with-advantage from modern role-playing games.
The roller works in four steps, in a fixed order. The order matters, because adding a modifier before dropping a die would change which die is lowest.
Every die is drawn separately from a uniform list of whole numbers from 1 up to the number of sides. On a d6 that is the list 1, 2, 3, 4, 5, 6 with each entry equally likely. The numbers come from your browser's cryptographic random number generator, the same source a browser uses when it creates security keys, so a 6 is never "due" and never "cold".
If a drop option is on, the lowest or highest dice are set aside after they are rolled. Dropping the lowest of 2d6 and rolling a 5 and a 2 keeps only the 5. Dropped dice still appear in the tray, greyed out, so the roll stays honest and easy to check.
total = (sum of kept dice) + modifier
With "to every die" the modifier is multiplied by the number of dice first, dropped dice included
On the working example, a roll of 4 and 3 with no modifier totals 7. With +1 it totals 8. The lowest possible 2d6 roll is 1 + 1 = 2 and the highest is 6 + 6 = 12, so a plain 2d6 can only land on eleven different totals.
The expected value is the average of every possible roll, weighted by how likely each one is. For dice with no drops it has a tidy closed form:
expected = dice × (sides + 1) / 2 + modifier
One d6 averages (6 + 1) / 2 = 3.5, so the average of many d6 rolls hovers around 3.5
For 2d6 that is 2 × 3.5 = 7. For 3d6 it is 10.5, and for 1d20 + 5 it is 10.5 + 5 = 15.5, on a scale that runs from 6 to 25. When dice are dropped the tidy formula no longer applies, so the roller averages every possible outcome exactly instead: 4d6 with the lowest dropped averages 12.24, against a plain 14 for 4d6, and 2d20 with the lowest dropped averages 13.83 against 10.5 for a single d20.
The results column has five cards, each answering a different question about the same roll.
One die is flat: every face has the same chance. Two or more dice are not, and that is the whole reason dice games feel the way they do. With 2d6 there are 6 × 6 = 36 equally likely outcomes, but ten possible totals, and they are not equally likely because several outcomes add up to the same total. Only 1 + 1 makes a 2, while six different outcomes make a 7.
The table below lists every 2d6 total. The ways column is a count of outcomes, and the probability is ways divided by 36.
| 2d6 total | Ways to roll it | Out of 36 | Probability |
|---|---|---|---|
| 2 | 1 + 1 | 1 | 2.78% |
| 3 | 1 + 2, 2 + 1 | 2 | 5.56% |
| 4 | 1 + 3, 2 + 2, 3 + 1 | 3 | 8.33% |
| 5 | 1 + 4, 2 + 3, 3 + 2, 4 + 1 | 4 | 11.11% |
| 6 | 5 ways | 5 | 13.89% |
| 7 | 1 + 6 through 6 + 1 | 6 | 16.67% |
| 8 | 5 ways | 5 | 13.89% |
| 9 | 4 ways | 4 | 11.11% |
| 10 | 3 ways | 3 | 8.33% |
| 11 | 2 ways | 2 | 5.56% |
| 12 | 6 + 6 | 1 | 2.78% |
Read off the table, a 7 turns up 6 ÷ 36 = 16.67% of the time, making it the most likely total. Rolling a 7 or more covers 6 + 5 + 4 + 3 + 2 + 1 = 21 outcomes, or 58.33%, and a 6 or less covers the other 15, 41.67%. The shape is a triangle that peaks at 7.
Three dice round the triangle into a bell. 3d6 has 216 equally likely outcomes and the middle totals 10 and 11 are the most likely with 27 ways each, 12.5% apiece. By 100d6 the bell is narrow: the average is 350, and roughly 95% of rolls land between 316 and 384, even though anything from 100 to 600 is possible.
Dice are older than writing. The earliest known dice come from a 5,000-year-old backgammon set excavated at Shahr-e Sukhteh in southeastern Iran, a site known as the Burnt City. Egyptian tombs have yielded throwing sticks used the same way, and square dice whose opposite faces were numbered in sequence. The Rigveda, composed in India more than 3,000 years ago, devotes a whole hymn to a gambler who cannot put the dice down.
The Romans standardized the cube. Their dice put the opposite faces in pairs that add to 7, 1 opposite 6, 2 opposite 5, 3 opposite 4, and that layout has been the default ever since. They also gambled with knucklebones, the ankle bones of sheep or goats, which land on four sides with very unequal odds.
The many-sided dice are both far older and far newer than most players assume. A twenty-sided die carved from rock crystal and marked with Greek letters survives from Roman-era Egypt. But the modern set of polyhedral dice begins in 1974, when Dungeons & Dragons asked players to track down the five Platonic solids, and a small teaching-supply company sold the first sets. The ten-sided die came later, once players wanted a clean way to roll percentages.
Randomness went digital in the second half of the twentieth century. The website Random.org, launched in 1998, used atmospheric noise to produce genuinely random numbers online. Today's browsers carry a cryptographic generator built in, which is what rolls the dice on this page.
Before rolling, read the notation shown by the calculator. In a roll of 3d6 + 2, the first number is dice count and the second is sides per die. Applying the modifier once raises the total by 2, while applying it to each kept die changes the result by more.
When you drop dice, compare the marked dice with the kept total. Use the probability panel to answer questions such as how often the selected rules can meet a target. The roll history can help compare a session's settings with its outcomes without assuming that one roll influences the next.
Yes, as far as any practical test can tell. This roller uses your browser's cryptographic random number generator, the same source browsers trust for security keys, and draws each die with rejection sampling so every face has exactly the same chance. Rolls are independent, so nothing in the history affects the next one.
Roll two six-sided dice, add them, then add 1. The number before the d is how many dice to roll, the number after it is the number of sides on each die, and anything after a plus or minus is a flat modifier applied once to the total. A bare d20 is a single twenty-sided die with nothing added.
Exactly 16.67%, which is 6 of the 36 equally likely outcomes on two six-sided dice. Six different pairs add to 7 (1 and 6, 2 and 5, 3 and 4, and the reverse of each), more than for any other total, which is why 7 is the most common craps number.
Choose d20, set the number of dice to 2, then pick "Drop the lowest 1" for advantage or "Drop the highest 1" for disadvantage. With advantage a natural 20 comes up 9.75% of the time instead of 5%, and the average roll rises from 10.5 to 13.83. With disadvantage the average falls to 7.18.
Percentile rolls, meaning a random whole number from 1 to 100 where each number has a 1% chance. Tabletop games use them for random tables, weather and unusual events. At a table, players usually build the number from two ten-sided dice, one for the tens digit and one for the units, because a round hundred-sided die is famously hard to bring to a stop.
Not in one go on this page. The limit is 100 dice, which keeps the tray readable and the probability figures quick to compute. If you need more, roll in batches of 100 and add the totals, or use the history card, which keeps the last 20 rolls with a running total.
Because short runs swing wildly and people remember the swings. On 2d6 a 7 is due 16.67% of the time, yet twenty rolls in a row with no 7 still happens about 2.6% of the time. Over hundreds of rolls the averages settle exactly where the odds card says, but a single session is always a small sample.
Only inside the open page. The history card keeps your last 20 rolls in the page's memory, and they disappear when you close or refresh the tab. Nothing is written to disk or sent to any server.