Roll a Dice
RG-29Choose the sides and number of dice and press Roll, or type notation such as 2d6+3. Each die is a separate fair draw, and totals are added for you.
Runs in your browser. Nothing is uploaded.
Optional: dice notation, such as d20, 2d6 or 3d8+2 (several groups with spaces). Empty uses the choices below.
Rolls
How to use it
- Pick the number of sides and the number of dice, or type notation such as d20 or 3d8+2 in the box.
- Choose how many times to roll.
- Keep Show each die ticked to see every die, or untick it for totals only.
- Press Roll and read the result.
Dice notation
Write NdS for N dice with S sides, with an optional bonus or penalty. d20 is one 20-sided die, 2d6 is two six-sided dice added together, and 3d8+2 is three eight-sided dice plus 2. Put several groups in the box with spaces, for example 2d6+3 d20; the groups are rolled together and followed by a grand total. A group can have up to 100 dice, with sides from 2 to 1,000,000, and up to 20 groups in total.
Fairness and what is missing
Each die is drawn from crypto.getRandomValues with rejection sampling, so every face has the same chance and earlier rolls do not influence later ones. When the box is empty, the Sides and Number of dice choices are used. The tool only rolls: it has no keep-highest or drop-lowest rules, no re-rolls and no exploding dice, and it has no animation or sound. Results are not stored or shared.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
Roll between 1 and 100 dice in one group. | A group asks for 0 dice or more than 100. | Use 1 to 100 dice per group. |
A die needs between 2 and 1,000,000 sides. | The number of sides is 0, 1 or above one million. | Use 2 to 1,000,000 sides. |
The bonus or penalty must be 1,000,000 or less. | The number after + or - is above one million. | Use a smaller number. |
Use at most 20 dice groups. | The box holds more than 20 groups. | Remove some groups. |
Questions people ask
How do I roll a d20?
Choose 20 under Sides and 1 under Number of dice, then press Roll. You can also type d20 in the box. The result is a whole number from 1 to 20, each equally likely.
Is the dice roll fair?
Yes, as far as a computer can be. Each roll uses your browser secure random source and rejection sampling, so every face has exactly the same chance. Past rolls do not change the next roll.
What does 2d6+3 mean?
It means roll two six-sided dice, add them, then add 3. The result runs from 5 to 15. The tool shows each die, the bonus and the sum, for example 4 + 2 + 3 = 9.
Can I roll several different dice at once?
Yes. Type groups separated by spaces, such as 2d6 d20 3d4. Each group gets its own line, and a Total line adds them all. You can use up to 20 groups, with up to 100 dice in each.
Can I roll more than once?
Yes. Pick 2, 5, 10 or 20 under Rolls. Each roll is shown as its own numbered block. This is handy for building a table of results or testing an expected average.
What dice sizes are available?
The menu offers 2, 3, 4, 5, 6, 7, 8, 10, 12, 20, 30 and 100 sides, and the box accepts any number from 2 to 1,000,000 in notation like d1000. A 2-sided die works as a coin flip.
About this tool
Values are made in your browser with crypto.getRandomValues and rejection sampling, so no value is favored, and nothing is sent anywhere or stored. Each die is a separate, fair draw from 1 up to its number of sides. When the box is empty the Sides and Number of dice choices are used. Notation is NdS with an optional bonus or penalty: d20, 2d6, 4d6-1. Up to 100 dice per group, 20 groups and sides up to 1,000,000. When several groups are rolled, the lines are followed by a grand total. It rolls only, and does not drop the lowest die, re-roll or explode dice, and has no sounds or animation. Results are not stored.