Skip to content
thecalculatorstudio

Dice Roller: Roll Any Dice Online, With the Odds

Choose how many dice, how many sides and any modifier, then roll. You also get the exact odds of every total, so you can see how likely the roll you need really is.

Last reviewed

Press Roll to throw the dice. Each press is a fresh throw.

Lowest
2
Highest
12
Average
7
Typical spread (SD)
2.42
Chance of each total
TotalWaysExactlyThis or more
212.78%100%
325.56%97.22%
438.33%91.67%
5411.11%83.33%
6513.89%72.22%
7616.67%58.33%
8513.89%41.67%
9411.11%27.78%
1038.33%16.67%
1125.56%8.33%
1212.78%2.78%

Rolled with your browser's cryptographic random source, so every face is equally likely. For games and decisions, not for gambling.

How to use the dice roller

Choose the number of dice, the number of sides on each, and any number to add or subtract, then press Roll. Each press throws the dice again. You get each die, the sum, and the total with the modifier applied, and your last ten totals stay on the screen.

The notation is the one tabletop games use: 2d6 is two six-sided dice added together, 1d20+3 is one twenty-sided die with 3 added, and 4d8−2 is four eight-sided dice with 2 taken off. The calculator shows it on the Roll button.

Why the roll is fair

Each die is drawn from your browser’s cryptographic random source. A random byte can not map evenly onto six faces, so the draw is checked and thrown away when it falls in the uneven slice at the top. This is called rejection sampling, and it makes every face exactly equally likely. Nothing is stored or sent, and the dice are thrown only when you press the button.

The odds of every total

Below the dice, the calculator shows the exact chance of each total, with no simulation. The number of ways to make each total is counted one die at a time, and the chance is that count divided by the number of equally likely rolls, which is the number of sides to the power of the number of dice.

Two six-sided dice have 6 × 6 = 36 equally likely rolls:

Total Ways Chance
2 1 2.78%
3 2 5.56%
4 3 8.33%
5 4 11.11%
6 5 13.89%
7 6 16.67%
8 5 13.89%
9 4 11.11%
10 3 8.33%
11 2 5.56%
12 1 2.78%

A 7 is the most likely total because it can be made in 6 ways: 1+6, 2+5, 3+4, 4+3, 5+2 and 6+1. A 2 can only be made one way, 1+1.

Three six-sided dice have 216 rolls and totals from 3 to 18. The most likely totals, 10 and 11, each have 27 ways (12.5%). The chance of 15 or more is 20 ways in 216, which is 9.26%.

At least one six

The chance of at least one six when you roll several six-sided dice is one minus the chance that none shows a six: 1 − (5/6)ⁿ.

Dice rolled Chance of at least one six
1 16.67%
2 30.56%
3 42.13%
4 51.77%
5 59.81%
6 66.51%

It takes four dice before a six is more likely than not.

Average and spread

For n dice with s sides the average of the sum is n × (s + 1) ÷ 2, and the standard deviation, a measure of how far totals typically fall from it, is the square root of n × (s² − 1) ÷ 12. One d20 averages 10.5 with a standard deviation of 5.77. Two d6 average 7 with a standard deviation of 2.42. Adding more dice makes the spread narrow compared to the range, so the totals bunch toward the middle.

For large rolls the table of chances is left out, because it would have hundreds of rows, and the calculator shows the lowest, highest, average and spread only.

Using the results

Past rolls never change the odds of the next one: after five sixes the chance of another is still one in six. The roller is for games, classroom probability and settling who goes first. It is not certified for gambling. For picking numbers from a range use the random number generator. To count arrangements and combinations see the permutation and combination calculator, and the probability calculator combines the chances of several events.

Frequently asked questions

Is the dice roller fair?

Yes. Each die is drawn from your browser's cryptographic random source, with any biased draws thrown away, so every face is exactly equally likely. Past rolls do not affect the next one.

What does 2d6 mean?

Dice notation: the number before the d is how many dice, and the number after is how many sides each has. 2d6 is two six-sided dice added together, and 1d20+3 is one twenty-sided die plus 3.

What are the odds of rolling a 7 with two dice?

There are 6 ways to make 7 out of 36 equally likely rolls of two six-sided dice, so the chance is 6 in 36, or 16.67 per cent. It is the most likely total. A 2 or a 12 can be made only one way each, 1 in 36.

What is the chance of at least one six when I roll several dice?

One minus the chance of no sixes: 1 − (5/6)^n. With 1 die it is 16.67 per cent, with 2 dice 30.56, with 3 dice 42.13, and with 4 dice 51.77, so four dice are needed before a six is more likely than not.

Why do the totals of several dice bunch around the middle?

Because there are more ways to make a middle total than an extreme one. Three six-sided dice make 10 or 11 in 27 ways each, but 3 or 18 in only one way. The table shows the number of ways for every total.

Can I use it for gambling?

It is for games and decisions. The random source is good, but this is a free tool with no guarantees, and no part of it is certified for gambling.

Related calculators

Sources