Random Number Between 1 and 6

Generate a random whole number from 1 to 6, for rolling a standard six-sided die.

Press Generate for a random number between 1 and 6, ends included.

Odds for numbers between 1 and 6

Possible numbers6
Chance of any one number1 in 6 (16.7%)
Average result over many picks3.5
Even / odd numbers3 even, 3 odd

The d6 at the table and beyond

This is a standard six-sided die, the one used in Monopoly, Yahtzee, backgammon and most board games. Use it when the die goes missing, or press Generate with two numbers and repeats allowed for games that roll a pair. The totals table below shows why 7 is the most common total.

With two dice, snake eyes (two 1s) and boxcars (two 6s) each come up 1 time in 36. Roll five dice at once, as in Yahtzee, and all five match only 6 times in 7,776, or 1 in 1,296. On a real die the opposite faces add up to 7 (1 and 6, 2 and 5, 3 and 4), a detail that doesn't matter here since every number is drawn directly.

Matching faces on several d6

Dice rolledChance of a repeat (repeats allowed)Different sets (no repeats)
216.7%15
344.4%20
590.7%6
698.5%1

Roll 4 d6 and two of them probably match (72.2%). Collecting every face from 1 to 6 is slower: it takes 14.7 rolls on average.

Totals of two numbers from 1 to 6

Generate two numbers with repeats allowed and add them, as you would with a pair of dice. There are 36 equally likely pairs, but the totals aren't equally likely: the middle total, 7, can be made 6 ways, while 2 and 12 can each be made only one way.

TotalWays to make itChance
212.8%
325.6%
438.3%
5411.1%
6513.9%
7616.7%
8513.9%
9411.1%
1038.3%
1125.6%
1212.8%

Rolling several d6

To roll more than one d6, set How many numbers to the number of dice, untick No repeats and add the results. The average total is the number of dice times 3.5, which helps when you want a quick estimate instead of a roll.

DiceLowest totalHighest totalAverage total
1d6163.5
2d62127
3d631810.5
4d642414
6d663621
8d684828

Waiting for a 6

Chance of having seen itRolls needed
50%4
90%13
99%26

A 6 turns up once every 6 rolls on average, yet a few unlucky rollers go 26 rolls without one (under 1% of them). A dry spell doesn't make it due: after 6 misses, the average wait is still 6 more.

Does the d6 look fair? Tally a batch

Ask for 1,000 rolls with repeats allowed and count each face. Every face should land about 166.67 times. Anything from 144 to 190 is inside the normal spread for one face. A fair die still won't give you a flat line. If you're testing a physical die the same way, a face far outside that range is worth a second look.

Keeping the best (or worst) of several d6

Some rules roll several dice and keep only the highest or lowest. The averages:

DiceAverage highestAverage lowest
2d64.472.53
3d64.962.04
5d65.431.57
10d65.821.18

One D&D method for ability scores rolls four d6 and keeps the highest three. Its average is 12.24, against 10.5 for a straight 3d6, and the result ranges from 3 to 18.

Five dice in one roll

Ask for 5 numbers with repeats allowed and you've rolled the five dice used in Yahtzee. Out of all 7,776 possible rolls:

PatternRollsChance
All five the same60.08%
Four of a kind1501.93%
Full house (three and a pair)3003.86%
Five in a row (1–5 or 2–6)2403.09%
Three of a kind, other two different1,20015.43%
Two pairs1,80023.15%
One pair3,60046.30%
No match and no run4806.17%

In Monopoly, rolling doubles three times in a row sends you to jail: a 1 in 216 chance on any turn. A 17th-century gambling puzzle often credited to the Chevalier de Méré compares two bets. At least one 6 in four rolls of one die wins 51.77% of the time, while at least one double 6 in 24 rolls of two dice wins only 49.14%.

How the number is picked

Your browser's Web Crypto API supplies a 32-bit random value (4,294,967,296 possibilities). Dividing by 6 leaves 4 spare values that would tilt the odds toward the lowest 4 numbers, so the generator discards them and draws again (1 time in 1,073,741,824).

Frequently asked questions

What is the most common total with two dice?

7. Six of the 36 combinations add up to 7 (16.7%), against a single combination each for 2 and 12 (2.8%).

What are the odds of rolling a 6?

16.7%, or 1 in 6, on one roll. In four rolls at least one 6 turns up 51.8% of the time, just better than even.