How to roll dice online
- Choose how many dice to roll (1 to 12) with the − and + buttons.
- Pick the die type: d4, d6, d8, d10, d12, d20 or d100. Or tap a preset such as 2d6 or 1d20.
- Press Roll or the space bar. The dice tumble for about a second and show the total.
- Tap a die to hold it between rolls. Check the history and face counts below, or use Projector mode for the class.
What is a dice roller?
A dice roller is a virtual version of real dice. It picks a random whole number for each die, from 1 up to the number of sides, and adds them up. This one uses your browser's cryptographic random numbers, so every face is equally likely and nobody can predict the next roll. It is handy when real dice go missing, roll off the desk, or are too small for the back row to see.
Dice are named by their number of sides: a d6 is the normal cube with dots, a d20 has 20 faces, and so on. The notation NdS means roll N dice with S sides and add them, so 3d6 is three normal dice.
chance of one face = 1 ÷ number of sides (d6: 1/6 ≈ 16.7%, d20: 1/20 = 5%) What are the odds of each total with 2 dice?
With two six-sided dice there are 6 × 6 = 36 equally likely outcomes. Totals in the middle can be made in more ways, so they come up more often. Seven is the most likely total (6 ways, 16.7%), while 2 and 12 can each only be made one way.
| Total (2d6) | Ways | Probability | Percent | Chart |
|---|---|---|---|---|
| 2 | 1 | 1/36 | 2.8% | |
| 3 | 2 | 1/18 | 5.6% | |
| 4 | 3 | 1/12 | 8.3% | |
| 5 | 4 | 1/9 | 11.1% | |
| 6 | 5 | 5/36 | 13.9% | |
| 7 | 6 | 1/6 | 16.7% | |
| 8 | 5 | 5/36 | 13.9% | |
| 9 | 4 | 1/9 | 11.1% | |
| 10 | 3 | 1/12 | 8.3% | |
| 11 | 2 | 1/18 | 5.6% | |
| 12 | 1 | 1/36 | 2.8% |
With three dice (3d6) there are 6³ = 216 outcomes. The most likely totals are 10 and 11, with 27 ways each (12.5% each). The more dice you add, the more the totals bunch up in the middle, which is a nice first look at the bell curve.
Try it: a probability experiment
Roll 2d6 thirty times and watch the face counts and history. Then compare how often you got 7 with the expected 16.7%. Small samples wobble a lot, so pool the whole class's results. The more rolls you add, the closer the results usually get to the table above (this is the law of large numbers). Work out exact chances with the probability calculator.
Classroom uses for virtual dice
- Maths warm-ups: roll 2d6 and multiply the numbers, or roll 3 dice and make the biggest number you can with the digits.
- Place value and addition: roll 4d6 and add them, or use a d10 for each digit of a number.
- Board games and review games: roll to move, choose a question category, or score points. Pair it with the random group generator to make teams.
- Story dice: give each face a character, setting or event and roll to build a story.
- Tabletop games: d4, d8, d10, d12, d20 and d100 cover the dice used in most role-playing games.
Common mistakes
- Thinking a number is "due". Dice have no memory. If you have not rolled a 6 for a while, the chance on the next roll is still 1 in 6.
- Treating all totals as equally likely. On one die every face is equal, but with two or more dice the middle totals are much more common.
- Mixing up 2d6 and 1d12. Both go up to 12, but 1d12 gives every number from 1 to 12 the same chance, while 2d6 can never roll a 1 and rolls 7 six times as often as 12.
Need a quick yes or no instead? Flip a coin. For any range of numbers, use the random number generator.
Frequently asked questions
How do I roll a die online?
Press Roll (or the space bar) and the dice tumble for about a second, then land on fair random numbers. Choose 1 to 12 dice and a die type from d4 to d100, and the total and each value are shown.
Is this dice roller fair?
Yes. Each die uses your browser's cryptographic random number generator (crypto.getRandomValues) with rejection sampling, so every face has exactly the same chance, for example 1 in 6 on a d6 and 1 in 20 on a d20. The tumbling animation is just for show.
What does 2d6 mean?
2d6 means "roll two six-sided dice and add them". The first number is how many dice, and the number after the d is how many sides each die has, so 1d20 is one 20-sided die and 4d6 is four six-sided dice.
What is the most likely total with two dice?
7. There are 6 ways to make 7 out of 36 equally likely outcomes, so the chance is 1/6 (about 16.7%). Totals of 2 and 12 are the least likely, with 1 way each (1/36, about 2.8%).
How do I hold or lock a die?
Tap or click a die to hold it. Held dice are outlined, marked "Held" and keep their value when you roll again, which is handy for games like Yahtzee. Tap a held die again to release it.
Can I show the dice on a projector or smartboard?
Yes. Press Projector mode to fill the screen with huge dice and the total. Press the space bar to roll and Esc to exit. Your settings and history are saved in this browser.
What is a d100?
A d100 gives a number from 1 to 100, with each number equally likely (a 1% chance). Tabletop players often roll it as two ten-sided dice, one for the tens and one for the ones. Here it rolls in one go.
Last reviewed November 27, 2026 by the ChalkStation team.