Dice Roller

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.

What you get
  • Any die, 2 to 1000 sidesThe seven standard dice plus custom dice, 1 to 100 at a time.
  • Exact odds for your rollEvery total, its probability and the chance of beating it.
  • Modifiers, drops and historyAdd or subtract, drop dice for advantage, keep the last 20 rolls.

Set up your roll

A new roll every time you change a value

The cube everyone knows. Each face comes up 1 time in 6, and opposite faces add up to 7.

Dropped dice still roll, but do not count toward the total.

Runs entirely in your browser. Nothing you type is sent or saved

Dice roller guide

What a dice roller does

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.

How dice notation works

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.

DiceShapeChance of each faceTypical use
d4Tetrahedron25%Small damage rolls in fantasy games
d6Cube16.67%Board games, craps, Yahtzee
d8Octahedron12.5%Medium damage rolls
d10Pentagonal trapezohedron10%Percentile rolls, rolled in pairs
d12Dodecahedron8.33%Large weapons and random tables
d20Icosahedron5%Attack rolls and skill checks
d100Roll of two d10s1%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.

How the total is calculated

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.

Step 1: roll each die on its own

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".

Step 2: drop what you chose to drop

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.

Step 3: add the kept dice and the modifier

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.

Step 4: compare the roll with the average

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.

What is in the result

The results column has five cards, each answering a different question about the same roll.

  • Total panel: the big number, the dice behind it, the expected value, the lowest and highest totals possible, and the full working in one line.
  • Tray: every die drawn to shape, a triangle for d4, pips on d6, a hexagon for d20, with dropped dice greyed out.
  • Breakdown: dice rolled, kept and dropped, the sum of kept dice, the modifier, the average per kept die, the range and the expected value.
  • Odds: the chance of rolling exactly your total, your total or more, and your total or less, plus a full probability table for every total when there is room for one.
  • History: the last 20 rolls of this visit, with a running total and average.

The odds behind the 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 totalWays to roll itOut of 36Probability
21 + 112.78%
31 + 2, 2 + 125.56%
41 + 3, 2 + 2, 3 + 138.33%
51 + 4, 2 + 3, 3 + 2, 4 + 1411.11%
65 ways513.89%
71 + 6 through 6 + 1616.67%
85 ways513.89%
94 ways411.11%
103 ways38.33%
112 ways25.56%
126 + 612.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.

What to know before you trust a roll

  • Each face is exactly equally likely: this roller has no loaded dice. On a d20 every number is a 5% chance, the 20 included.
  • Rolls do not remember: the generator produces independent results, so a run of low rolls does not make a high one more likely. Twenty 2d6 rolls with no 7 at all happens about 2.6% of the time, roughly once in every 38 tries.
  • Virtual dice are usually fairer than physical ones: mass-produced dice are never perfectly balanced, and twenty-sided and eight-sided dice in particular often favor some faces. A good random generator has no such bias, and every roll on this page is independent of the one before it.
  • Drops change the shape of the odds: with 2d20, drop the lowest, a natural 20 comes up 9.75% of the time instead of 5%, and the average climbs from 10.5 to 13.83.
  • It is a game tool, not a betting system: the odds shown describe fair dice. They say nothing about a casino's edge, and no pattern of past rolls predicts the next one.

Using the dice roller well

  • Type the dice like you say them: pick the die type, then set the number of dice and the modifier. 3d6 + 2 is three d6 dice with a modifier of 2.
  • Use the drop menu for advantage: for roll-with-advantage on a d20, choose d20, set 2 dice and drop the lowest. Disadvantage is the same with the highest dropped.
  • Roll the dice with the button: every press is a brand new roll with the current settings, and changing any value rolls again automatically.
  • Read the range before the total: the lowest and highest possible totals tell you how much room a roll had. A 12 on 2d6 is the top of the range, while a 12 on 3d6 is an ordinary roll a little above the average.
  • Check the odds card when a roll surprises you: it gives the exact chance of your total or better, which is the number that matters in most games.
  • Use custom dice for lists: a d12 with a numbered list of twelve options is a fair picker. So is a d5 for five chores, a d8 for eight restaurants, and any count up to 1000.

A short history of dice

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.

Calculate a roll and verify the setup

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.

Common questions

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.

The whole dice bag, in one roll.

Browse all calculators