Skip to contentSkip to the inputSkip to the result

Roll dice

Generate independent rolls for dice with a chosen number of sides.

Loading tool

Instructions

Roll dice

How to use

  1. Set the number of dice and sides or pick d4–d20, add a bonus as in 2d6+3, roll and read the individual results.

Supported input

  • Web Crypto randomness.
  • Numeric limits are validated before rolling.

Input example

2 six-sided dice

Result example

For example: 3 and 5; total 8

Troubleshooting

  • Check required inputs, numeric ranges and the selected conversion direction.

How it works

  • Generate independent rolls for dice with a chosen number of sides.

Adding up dice: how the number of dice and sides shape the odds

What people use it for

  • Tabletop role-playing checks with a d20, or damage rolls such as 2d6+3
  • Board games when a die has gone missing or there are not enough to go round
  • Showing a class how the total of several dice bunches up in the middle
  • Rolling d4, d8 or d12 when the only dice in the house are six-sided

One die is flat; a sum is peaked

Each die is rolled on its own, as a whole number from 1 to the number of sides. The numbers come from the browser’s Web Crypto source, and the small bias a plain remainder would cause is removed by discarding out-of-range draws and drawing again. Looked at alone, every face of every die is exactly as likely as the others.

Add several together and the picture changes. Three six-sided dice (3d6) have 216 combinations: totals of 10 and 11 each come from 27 of them (12.5%), while 3 and 18 come from just one each (about 0.46%). A total of 7 has 15 ways (about 6.9%), and so does 14. Same range of 3 to 18, but a 3 or an 18 is 27 times harder to get than a 10 or an 11.

Even a single die can take longer than expected. Seeing all six faces of a d6 at least once takes 14.7 rolls on average, because the last missing face has only a 1 in 6 chance each time and waiting for it alone takes six rolls on average. For a d20 the average is about 72 rolls.

Same range, different odds

  • 1d12 versus 2d6: both top out at 12, but 1d12 gives each value from 1 to 12 about 8.3% of the time, while 2d6 can never show 1 and strongly favours the middle.
  • d20 versus 2d10: a d20 gives 5% to every value from 1 to 20. Two d10s give 2 to 20, with 11 most likely at 10% and 2 or 20 at 1% each.
  • The 100-sided die here is a single die giving 1 to 100 evenly. That matches the range and odds of percentile dice, where one d10 reads as tens and another as units, but you get one number rather than two digits.
  • More dice means a tighter spread relative to the total. 2d6 averages 7 with a standard deviation of about 2.42; 10d6 averages 35 with about 5.40; 100d6 averages 350 with about 17.08. Compared with its average, the 100-dice total is far more predictable.

The modifier is added once

  1. 1Two six-sided dice with a modifier of 3 came up 1 and 2 in one roll, and the total read 6, shown as 3 + 3: the dice add to 3 and the modifier is added once. 2d6+3 ranges from 5 to 15.
  2. 2One d20 with a modifier of −2 came up 17 for a total of 15, with 17 − 2 shown in brackets. Modifiers are whole numbers from −1,000 to 1,000.
  3. 3There is no per-die modifier. If a rule says +1 on each of 3d6, put 3 in the modifier: the total comes out the same.
  4. 4Rules that choose among the dice, such as 4d6 drop the lowest or exploding dice, are not calculated for you. Every individual result is listed, so you can pick and add them yourself.

Rolling with advantage by hand

Advantage, rolling twice and keeping the higher result, works here by rolling two 20-sided dice and taking the larger number. It shifts the odds a lot. A single d20 reaches 15 or more 30% of the time; with advantage it is 1 − 0.7 × 0.7 = 51%. With disadvantage, keeping the lower roll, it drops to 9%.

In that case ignore the total line, which adds the two dice, and read the individual results. Nothing is stored after the roll, so copy the result text if your group keeps a record of checks.

Checked

Frequently asked questions

What is the chance of rolling 7 with two dice?

Of the 36 combinations of two six-sided dice, 6 add up to 7, so it is 1/6 (about 16.7%), the most likely total. Totals of 2 and 12 are 1/36 each.

Can I roll a 20-sided die?

Yes. Sides can be 2–100, so d4, d8, d10, d12 and d20 all work. Roll 1–100 dice at once and see each result and the total.

Is it normal to get the same number repeatedly?

Yes. Each die is rolled independently with Web Crypto randomness, so earlier results do not affect later ones.