N
NJHTools

Random Number Generator 1 to 6 (Dice Roll)

Generate cryptographically random numbers or pick random items from a list. Uses crypto.getRandomValues() — cryptographically secure, not Math.random().

Optional. Commas between values, dashes for ranges.

Tip: press Space or Enter to generate again.

About random numbers from 1 to 6

A random number from 1 to 6 is a standard six-sided die (d6), so this page works as an online dice roller for board games, Yahtzee, Ludo, Monopoly or any game where the dice went missing. Each face has a 1 in 6 chance — about 16.7% — and results come from crypto.getRandomValues(), so there is no weighted side or lucky throwing technique.

Over many rolls the average result is 3.5, which is why games are balanced around it. Rolling a 6 is less common than people feel: the chance of at least one 6 in four rolls is about 52%, the famous bet that made 17th-century gamblers ask mathematicians for help. If you need two dice, roll twice — or use Multiple numbers with Count 2 — and add the results; a total of 7 is the most likely sum, with a 1 in 6 chance.

Teachers use a d6 to demonstrate probability: roll 60 times and each face should appear around 10 times, but rarely exactly. Repeats are frequent — after 4 rolls there is about a 72% chance two match. For dice-based turn order with no repeats, Draw mode deals 1 through 6 once each.

Frequently Asked Questions

Is this a fair dice roll?↓

Yes. Each number from 1 to 6 has exactly a 1 in 6 chance, generated with crypto.getRandomValues() and rejection sampling so no face is favoured.

How do I roll two dice?↓

Use Multiple numbers with Min 1, Max 6 and Count 2, then add the two results. For tabletop dice like d4, d8, d12 or d20, try the dedicated dice roller.

What is the probability of rolling a 6?↓

1 in 6 (about 16.7%) on each roll. The chance of at least one 6 in four rolls is about 52%, and in six rolls about 67%.

Last updated: