Dice Roller (d4 to d100)

Roll virtual dice with a customizable number of dice, sides, and modifiers. See the sum, average and distribution, plus 2d6 odds.

Result

Fill in the fields above, then press Roll.

A dice roller simulates rolling any combination of polyhedral dice (d4, d6, d8, d10, d12, d20 and d100) with optional modifiers, providing instant results and distribution statistics for tabletop games. A 2d6 probability table and d20 odds are below.

2d6 probability

Two six-sided dice have 36 equally likely outcomes. A total of 7 is the most likely, with 6/36 (16.67%); 2 and 12 are the least likely.

2d6 probability
TotalFractionPercent
21/362.78%
32/365.56%
43/368.33%
54/3611.11%
65/3613.89%
76/3616.67%
85/3613.89%
94/3611.11%
103/368.33%
112/365.56%
121/362.78%

d20 odds

A d20 has 20 equally likely faces, so each face has a 1 in 20 (5%) chance. The chance of 15 or higher is 30% (6 of the 20 faces).

Select the number of dice, the number of sides per die, an optional modifier, and how many times to roll. Click Roll to simulate all rolls; each result and the distribution statistics are shown.

Examples

Standard 2d6

Rolling 2 six-sided dice: minimum 2, maximum 12, expected average 7. The most common result is 7 (6/36 combinations).

D&D attack roll (1d20+5)

Rolling 1 twenty-sided die with +5 modifier: range 6 to 25, expected average 15.5.

Frequently Asked Questions

Are the rolls truly random?
The rolls use JavaScript's Math.random() pseudo-random number generator, which is suitable for games and simulations but not for cryptographic purposes.
What dice notation means
NdS+M means N dice with S sides each, plus modifier M. For example, 3d8+2 means roll three 8-sided dice and add 2 to the total.
What are the odds of rolling a 7 with two dice?
6/36, or 16.67%: of the 36 combinations of two six-sided dice, 6 add up to 7.
What are the odds of rolling 15 or higher on a d20?
30%: 6 of the 20 faces (15 to 20) qualify. Each single face has a 1 in 20 (5%) chance.

Quick Tips

  • •Use dice notation: "2d6+3" means 2 six-sided dice plus 3.
  • •Roll multiple times to see how the distribution converges toward the expected average.
  • •Common RPG dice are d4, d6, d8, d10, d12, d20, and d100.