Skip to content

Dice roll odds

Counts from a million rolls of every die, d4 to d100, and of two d6 added together.

Guide and details

The numbers come from running the dice code, so anyone can repeat the run.

The counts below come from running the code of the tool a million times, not from a claim. They are in the HTML, and the run can be repeated. The p-value is the chance that a fair draw strays at least this far from the expected counts. Values above 0.05 are ordinary; a value near zero would point to bias.

Dice: 1,000,000 rolls of each die

Each die was rolled 1,000,000 times with the code behind the dice roller. For every die the table gives the face that came up least and the face that came up most, next to the count an even die gives. The p column comes from a chi-square test over all the faces.

DieExpected per faceFewestMostp
d4250,000face 1: 249,404face 2: 250,3630.544
d6166,667face 1: 166,329face 2: 167,2960.515
d8125,000face 8: 124,410face 4: 125,3450.567
d10100,000face 5: 99,592face 2: 100,5620.585
d1283,333face 9: 82,974face 5: 83,7510.809
d2050,000face 12: 49,653face 8: 50,2940.861
d10010,000face 25: 9,783face 4: 10,1940.687

Two six-sided dice added together are not even: 7 is six times as likely as 2 or 12. In 1,000,000 rolls of two d6, the sums came out as below (p = 0.250).

SumWays in 36ExpectedRolledShare
212.78%27,8172.78%
325.56%55,4315.54%
438.33%83,0218.30%
5411.11%111,09811.11%
6513.89%138,58113.86%
7616.67%167,59816.76%
8513.89%138,71313.87%
9411.11%111,46511.15%
1038.33%83,2838.33%
1125.56%55,5395.55%
1212.78%27,4542.75%

How the test was run

The test calls the same functions the buttons on this site call. The only change is the source of numbers: each spin reads a stream built from a numbered seed (SHA-256 in counter mode, as in the receipts) instead of crypto.getRandomValues, so anyone can repeat the run and get the same counts. It was run on 2026-12-03 with code fingerprint c6116527fd83, and the site’s own tests fail if the code changes and the numbers are not run again. A run this size cannot prove that a draw is free of bias. It shows that none appears at one million spins.

Why use Choose Tools

  • One source of randomness

    Every draw calls crypto.getRandomValues and throws away the values that would cause modulo bias. A test fails if Math.random ever appears in the source.

  • The result comes first

    The wheel, the coin and the dice pick the outcome before they move. The animation only shows what was drawn.

  • A slice is a chance

    Each option on the wheel is one slice, and the size of a slice is the chance of that option.

  • Lists stay on your device

    They are kept in this browser. Shared links carry the list after the #, a part the browser leaves out of requests to servers. There is no account.

  • Quiet by default

    Sound is off until you turn it on, and with “reduce motion” set in your system the result appears with no animation.

Questions and answers

Does a passing test prove the draw is random?

No. A test of this size shows that no bias appears over a million draws. It cannot show that there is none. What stands behind the result is the method: numbers from crypto.getRandomValues in your browser, with any value that would favour an outcome thrown away and drawn again.

Why numbered seeds instead of the browser’s generator?

So the run can be repeated. Each draw reads a stream built from a numbered seed, and anyone who runs the script gets the same counts. The code path is the one the buttons use.

What does the p-value in the tables mean?

It is the chance that an even draw strays at least as far from the expected counts as this run did. A value above 0.05 is ordinary, and one near zero would point to bias. For the dice it is computed over every face of each die.