Dice Roller
Roll one die or many, from d4 to d100, with an optional modifier.
How a roll is produced
For each die, the page asks the browser's secure random generator (crypto.getRandomValues) for a 32-bit number. To avoid the slight bias that appears when a range does not divide evenly, values from the uneven leftover slice at the top of the range are discarded and redrawn. The rest is mapped onto the faces of the die, so a d20 is exactly as likely to show 20 as 1. The total is the sum of the dice plus your modifier.
The roller supports d4, d6, d8, d10, d12, d20 and d100, with one to twenty dice per roll. The modifier box accepts a whole number from -999 to 999, and each entry in the history is labelled with what was rolled, such as 2d8+3.
Reading dice notation
Tabletop games write a roll as NdS+M: N is how many dice, S is how many sides each has, and M is a number added at the end. So 3d6+2 means "roll three six-sided dice, add them up, then add 2". A d100 is a hundred-sided die, often read as a percentage. A negative modifier subtracts.
What the totals look like
One die is flat: every face is equally likely. Add dice and the totals bunch up around the middle.
- 1d6 gives 1 to 6, each with a 1 in 6 chance.
- 2d6 gives 2 to 12. Seven is the most common total (6 of 36 combinations, about 17%), while 2 and 12 each come up only 1 time in 36.
- 3d6 gives 3 to 18 and clusters around 10 and 11, which is why it suits results that should usually be average.
- 1d20 is flat again: a 20 and a 1 are each a 5% event.
Ideas for using it
- Board games with a lost die. Roll 2d6 and read the individual dice and the total from the display.
- Role-playing sessions. Use the quick buttons for common rolls, add your character's modifier, and let the history remind you of the last ten results.
- Random numbers for a class or party. A d100 gives a number from 1 to 100, and a d10 can pick among ten items.
- Teaching probability. Ask students to predict the most common total for 2d6, roll it a few dozen times and compare with the list above.
- Solo games and prompts. Assign result ranges to different prompts, such as 1 to 2 for one outcome and 3 to 6 for another, then roll a d6.
Questions people ask
Can I roll a die that is not in the list?
Not directly. The die types are fixed. For a random choice among any number of options, the wheel is a better fit, and for two outcomes there is a coin flip.
Does it drop the lowest die for 4d6?
No. It shows every die and the full total, so you can apply a drop-lowest rule yourself by looking at the individual dice.
Are some dice luckier than others?
No. Each roll is independent. A streak of low numbers does not make a high number more likely next time.
Where is the roll history kept?
Only in the page, for your last ten rolls. Reloading clears it.
Related tools
- Coin flip for a single heads-or-tails decision.
- Spin the wheel to choose between named options.
- Team generator for splitting players into groups before the game.
How the dice roller works
Choose how many dice, the type of die, and an optional modifier, then press Roll. Each die is an independent draw from your browser's cryptographic random number generator, so every face has exactly the same chance and earlier rolls never affect later ones.
The result shows each die, the total including the modifier, and a short history of your last ten rolls. Notation like 3d6+2 means roll three six-sided dice and add two.
Which die for what?
- d6: the standard board-game die. Use 2d6 for games that ask for two dice.
- d20: the main die in many tabletop role-playing games, used for attack rolls, checks and saves.
- d4, d8, d10, d12: commonly used for damage and other game effects.
- d100 (percentile): a roll from 1 to 100 for chance tables and percentage rolls.
- 4d6: a common way to generate a character stat in some role-playing games, usually dropping the lowest die.
Need only two outcomes? Use the coin flip. To choose between named options, use the wheel.
Frequently asked questions
Are the rolls fair?
Yes. Every face of every die has an equal chance, using an unbiased draw from the browser's secure random number generator.
How many dice can I roll at once?
Up to 20 dice in a single roll, from any of the die types shown.
Can I add or subtract a number?
Yes. Use the modifier box, for example +2 or -1. The total includes it.
Are my rolls stored?
No. The history lives only on this page and disappears when you reload it.