Skip to content
🎲

Dice Roller

Roll one or more dice with random results.

Runs in your browser

Updated

One to six dice, one click

A select sets how many dice to throw, from one to six. Each die is generated separately as a random whole number from one to six, so no die is influenced by the ones before it. Results appear as numerals in white rounded squares, and a total is printed only when more than one die is rolled, which means a single throw shows the face and nothing else.

A worked example

Two dice have 36 equally likely outcomes. The total runs from 2 to 12, seven is the most common at 6 in 36, or 16.7%, and 2 or 12 at 1 in 36, or 2.8% each. Three dice have 216 outcomes and a mean of 10.5; 10 and 11 are 27 in 216 each, so together they cover a quarter of all throws. Six dice have 46,656 outcomes, a mean of 21, and the chance that all six match is 6 in 46,656, about 1 in 7,776.

A pip layout that is never drawn

The script assembles the nine-cell dot pattern for every face before rendering, then draws the digit instead. A throw of four therefore shows the numeral 4 rather than four dots, and the pattern arrays are unused weight. Nothing in the result depends on them.

Where it stops

  • Six dice is the ceiling, and every die has six sides: no four, eight, ten or twenty-sided dice.
  • No flat bonuses, keep-highest, re-rolls or success counting.
  • No history, no seed and no way to repeat a sequence.
  • Individual dice cannot be thrown again; the whole set is rolled afresh.

Questions people ask

Is every total equally likely?

No. With two dice, 7 is six times as likely as 12, because six combinations make seven and only one makes twelve.

Can it stand in for a board game?

For casual play, yes. To count the possible outcomes first, see the permutation and combination calculator, and for a single binary decision the coin flip is quicker.