Works on this device
Dice Roller
Roll dice on your screen. Choose the kind of dice and how many, then choose Roll. You see every die and the total. The dice are made on your device with the secure random generator of your browser.
Choose your dice
Check these values
The dice are rolled in this browser. Nothing is sent to a server.
Your roll will show here
Choose Roll to throw the dice.
Your roll
How it was worked out
How to roll dice here
- Choose the kind of dice, for example d6 (6 sides) or d20 (20 sides). For other dice choose Another number of sides and enter a number from 2 to 1,000.
- Enter how many dice you want, from 1 to 100.
- Choose Roll. The page shows every die, the total, the lowest and the highest die.
- Choose Roll again for a new roll. Use Copy rolls, Download CSV or Print to keep a record.
- Under More options you can add a number to the total or number the sides from 0. To roll many times at once, change How many times to roll.
What each option does
- Dice of one kind rolls 1 to 100 dice with the same number of sides. Six-sided dice also show the face with dots in the table.
- Dice formula reads the short form that game books use, such as
1d20+5or2d8+1d6+3. - Six ability scores for a character rolls six scores, for example with four six-sided dice where the lowest die is dropped.
- Dice pool rolls a handful of dice and counts each die that shows a set number or more.
- Dice with my own faces rolls a die with the words, letters or numbers that you type.
How to write a dice formula
3d6means three dice with six sides.d20means one die with 20 sides. Capital letters and spaces do not matter.- Join parts with
+or-:2d8+1d6+3,1d20-1. You can use up to 20 parts and up to 100 dice. d%is a die with 100 sides.dFis a Fate die that shows -1, 0 or +1.khkeeps the highest dice andklkeeps the lowest:2d20kh1rolls two d20 and keeps the higher one.dldrops the lowest dice anddhdrops the highest:4d6dl1rolls four dice and drops the lowest one. The short formskanddmeankhanddl.!makes dice explode: with3d6!, a die that shows 6 is rolled again and the new number is added to that die.- The page also shows the smallest and largest possible total and the average over many rolls.
What fair means here
Each side of a die has the same chance on every roll. A roll does not depend on the rolls before it. After three low rolls, a high roll is not due.
The tool asks your browser for random bytes from its secure generator (the Web Crypto function crypto.getRandomValues). To roll a die with 6 sides, it takes one byte and keeps 3 bits, which is a number from 0 to 7. The values 6 and 7 are thrown away and drawn again. The values 0 to 5 give the sides 1 to 6. So every side has a chance of exactly 1 in 6. The tool never uses Math.random.
Dice with typed faces work the same way. If you type a face twice, that face has twice the chance. The page shows the chance of each face.
Worked examples
Two six-sided dice can land in 6 × 6 = 36 ways. Six of them give a total of 7, so 7 is the most likely total with a chance of 6 in 36. Only one way gives 2 and only one way gives 12.
3d6+2 gives totals from 5 to 20. The average of one six-sided die is 3.5, so the average total is 3 × 3.5 + 2 = 12.5.
4d6dl1 gives scores from 3 to 18. The average score is 15,869 ÷ 1,296, which is about 12.24. With plain 3d6 the average is 10.5.
2d20kh1 (keep the higher of two d20) has an average of 13.825. One d20 has an average of 10.5.
A dice pool of five six-sided dice where 5 and 6 count: each die has a chance of 2 in 6, so the average is 5 × 2 ÷ 6, about 1.67 successes.
An ability score of 15 gives a modifier of +2, because (15 − 10) ÷ 2 = 2.5, rounded down to 2. A score of 9 gives −1.
Limits you should know
- A die can have 2 to 1,000 sides. One roll can use up to 100 dice. You can make up to 1,000 rolls at once. The table on the page shows the first 500 rows, and the copied text and the CSV file hold every roll.
- The result is shown as numbers and text. There are no 3D dice, no animation and no sound.
- An exploding die is rolled again at most 100 more times. Exploding dice cannot be mixed with keep or drop in the same group.
- The dice pool is a plain count. Rules of single games, such as a 1 that takes away a success, are not applied. Dice with special symbols are not built in. You can type their faces yourself.
- The ability modifier follows the fifth edition of Dungeons & Dragons. Check the rules of your own game.
- You cannot hold some dice and roll the others again in one step. Roll again with fewer dice instead.
- Rolls are not shared with other people and are not saved. This page is not a witnessed roll for prizes or bets.