The Dice Roller simulates rolling any number of standard or custom dice โ d4, d6, d8, d10, d12, d20, d100, or any sided die you specify โ with an optional modifier for RPG and tabletop gaming.
Dice Roller
Roll any number of dice with any number of sides.
How to Use This Calculator
- Enter the Number of Dice to roll (1โ20).
- Select the Sides per Die or choose “Custom” to enter any number.
- Enter a Modifier to add or subtract from the total (e.g., +3 for a stat bonus).
- Click ๐ฒ Roll Dice.
Common Dice in Tabletop Gaming (D&D, Pathfinder)
- d4: Small weapons, minor healing (daggers, cure minor wounds)
- d6: Short swords, fireballs (the most common die in games)
- d8: Longswords, ranger hit dice
- d10: Heavy weapons, glaives
- d12: Great axes, barbarian hit dice
- d20: Ability checks, attack rolls, saving throws โ the iconic D&D die
- d100 (d%): Percentile tables, wild magic surges
Dice Notation
Tabletop games use shorthand like “2d6+3” โ this means roll 2 six-sided dice and add 3 to the total. This calculator supports that exact format: set dice count to 2, sides to 6, modifier to +3.
Frequently Asked Questions
How is the random roll generated?
Each die roll uses Math.floor(Math.random() ร sides) + 1, producing a uniformly distributed integer from 1 to the number of sides.
Can I roll more than 20 dice?
The maximum is 20 dice per roll to keep the interface clean. For very large rolls (e.g., 100d6 for a fireball area), consider rolling in batches and summing the totals.
How it works
Each die roll uses Math.floor(Math.random() ร sides) + 1 to produce a uniformly distributed integer in [1, sides]. All dice are summed and the modifier is added. Results are displayed as individual die faces plus the running total.Formula
Roll = Math.floor(Math.random() ร sides) + 1, for each die. Total = ฮฃ(rolls) + modifier