Dice Roller
Roll virtual dice with customizable number of dice, sides, and modifiers. View statistics and history.
A dice roller simulates rolling any combination of polyhedral dice with optional modifiers, providing instant results and distribution statistics for tabletop games.
Examples
Standard 2d6
D&D attack roll (1d20+5)
Frequently Asked Questions
Are the rolls truly random?
What dice notation means
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.
A dice roller simulates rolling any combination of polyhedral dice with optional modifiers, providing instant results and distribution statistics for tabletop games.
How to Use This Calculator
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.
Understanding the Formula
Each die roll is a uniform random integer from 1 to N (number of sides). The total for one roll = sum of all dice + modifier. Expected average = NumberOfDice x (Sides + 1) / 2 + Modifier.
Examples
Standard 2d6
Rolling 2 six-sided dice: minimum 2, maximum 12, expected average 7. The most common result is 7 (6 out of 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.
Assumptions & Limitations
- Uses pseudo-random number generation, which is suitable for games but not for cryptographic or gambling purposes.
- Each die roll is independent; previous results do not influence future rolls.