A dice roller rolls virtual dice for you, showing each result and the total for any number of dice with any number of sides. With two six-sided dice, 7 is the most likely total, coming up 6 times in 36.
On this page

How to use the dice roller
- Enter the number of sides on each die.
- Enter how many dice to roll.
- Roll and read each result and the total.
How the dice roller works
The dice roller generates a random whole number from 1 to the number of sides for each die, lists every result and adds them up. You can roll any number of dice with any number of sides, such as a single d20, 2d6 for a board game or 4d6 for a tabletop role-playing character.
- Each roll = 1 + floor(random × sides)
- Total = sum of all rolls
- Dice notation: NdS means N dice with S sides, so 3d8 is three eight-sided dice
Dice roller odds for two six-sided dice
A fair die gives every face the same chance, 1 in the number of sides. With two dice, totals are not equally likely, because more combinations add up to the middle values. Two six-sided dice have 6 × 6 = 36 equally likely outcomes. Six of them total 7, so 7 is the most common total at 1 in 6. Only one combination makes 2 or 12, so each has a 1 in 36 chance.
| Total | Ways | Probability |
|---|---|---|
| 2 | 1/36 | 2.8% |
| 3 | 2/36 | 5.6% |
| 4 | 3/36 | 8.3% |
| 5 | 4/36 | 11.1% |
| 6 | 5/36 | 13.9% |
| 7 | 6/36 | 16.7% |
| 8 | 5/36 | 13.9% |
| 9 | 4/36 | 11.1% |
| 10 | 3/36 | 8.3% |
| 11 | 2/36 | 5.6% |
| 12 | 1/36 | 2.8% |
With three six-sided dice there are 216 outcomes; 10 and 11 are the most common totals at 27 ways each, or 12.5%. The more dice you roll, the more the totals cluster around the average.
Average rolls
The average of one die with S sides is (S + 1) ÷ 2: 3.5 for a d6, 10.5 for a d20. For several dice, multiply by the number of dice. 2d6 averages 7, 3d6 averages 10.5 and 8d6 averages 28. The dice roller result for any single throw can be far from the average, but over many throws the totals approach it.
Common dice
- d4, d6, d8, d10, d12, d20: the standard tabletop gaming set, plus d100 (percentile) made from two d10s.
- d6: used in most board games, such as Monopoly and Yahtzee.
- d2: works as a coin flip.
Is an online dice roller fair?
This dice roller draws from the browser’s cryptographic random number generator (crypto.getRandomValues) and discards values that would favor some faces, so each face has an exactly equal chance on every roll. You can roll up to 100 dice with up to 1,000 sides each. It is ideal for games, classroom probability lessons and quick decisions. Previous rolls do not affect the next one, so a streak of low numbers does not make a high number more likely. That is a common misunderstanding called the gambler’s fallacy. For regulated gambling or lotteries, use a certified random source instead. Besides each roll and the total, the result shows the possible range and the average total.
Try a probability experiment
Roll 2d6 thirty or more times with the dice roller and tally the totals. Your counts will roughly follow the table above, with 6, 7 and 8 most frequent, though small samples vary a lot. The more rolls you record, the closer your percentages get to the theoretical ones, which illustrates the law of large numbers.
Using dice in games and lessons
Many tabletop games call for rolls such as 1d20 plus a modifier, 2d6 for damage, or 4d6 drop the lowest when creating character ability scores. Roll the dice, then apply the game’s rule to the listed results. For percentile rolls, roll two ten-sided dice, reading one as tens and one as ones, or simply roll a single 100-sided die.
Teachers use dice to show probability: the chance of rolling a 6 on one die is 1/6, about 16.7%, and the chance of not rolling a 6 in four rolls is (5/6)4, about 48%, so there is a 52% chance of at least one 6. These quick calculations can be checked by rolling many times and comparing the counts with the expected results. Rolling a pair and recording doubles should give doubles about 1 time in 6, since 6 of the 36 outcomes are doubles.
Related converters and calculators
Related calculators:
- Random number generator: random numbers
- Probability calculator: probability
- Scientific calculator: math
- LCM calculator: multiples
Sources
NIST CSRC: Random bit generation; MDN Web Docs: Crypto.getRandomValues().
Formula and method
Each die: 1 + floor(random × sides). Total = sum of rolls.
Uniform rolls from crypto.getRandomValues with rejection sampling (no modulo bias). For games and lessons, not certified gambling RNG.
Questions about this calculator
What is the most likely total with 2d6?
7, with a probability of 6/36 or about 16.7%.
What is the average of a d20?
10.5.
What does 3d8 mean?
Three eight-sided dice.
Does a bad streak make a good roll more likely?
No, each roll is independent.
Is this roller fair?
Each face has an equal chance; use certified sources for gambling or security.
Check the assumptions and units before relying on a result. Financial, tax and health estimates do not replace advice for your individual circumstances.
Report a calculation issue