Are the dice fair?
Yes. We rolled the site's own dice code 1,013,999,490 times and tested the results against exact probability. Every die, every rule and every independence check passed, and the same tests caught two deliberately loaded dice, so they're sensitive enough to notice real bias.
How d20s rolls dice
- Cryptographic randomness. Every roll uses your browser's
crypto.getRandomValues, the same random-number source used for encryption keys, not the predictableMath.random. - No modulo bias. A random 32-bit number doesn't divide evenly into 6 or 20 faces, and naive code makes low faces slightly more likely. d20s throws away the few numbers at the top of the range that would cause this (rejection sampling), so every face is exactly equally likely.
- Rolled on your device. Dice are rolled in your browser and never sent to or chosen by a server.
How we tested
We ran the real dice code from the site, not a copy, through four kinds of test. Each produces a p-value: how likely a result at least this uneven would be from perfectly fair dice. Fair dice give p-values spread evenly between 0 and 1. We count a test as failed if p falls below 0.001 (one in a thousand). With 38 tests, even perfect dice would trip one of them about 4% of the time, so one borderline result alone wouldn't mean much. None occurred.
- Uniformity: every die size the site uses, rolled millions of times, checked with a chi-square goodness-of-fit test.
- Independence: whether a roll tells you anything about the next one (all 400 possible pairs of consecutive d20 rolls, plus serial correlation up to five rolls apart).
- Game rules: advantage, 4d6-drop-lowest, exploding dice, Daggerheart's Hope and Fear, percentile dice and more, compared against their exact mathematical distributions.
- Controls: two dice we loaded on purpose, to prove the tests can actually detect bias.
A d20, face by face
50,000,000 d20 rolls. Each bar shows how far a face landed from its expected 2,500,000. The shaded band is the range random chance produces 99.9% of the time (±0.20%). Fair dice stay inside it.
Uniformity
| Test | Rolls | Largest deviation | Bias it would catch | p-value | Result |
|---|---|---|---|---|---|
| d2 | 15,000,000 | 0.039% | > 0.08% | 0.1338 | Pass |
| d3 | 15,000,000 | 0.042% | > 0.12% | 0.5125 | Pass |
| d4 | 15,000,000 | 0.048% | > 0.15% | 0.7022 | Pass |
| d5 | 15,000,000 | 0.076% | > 0.17% | 0.2792 | Pass |
| d6 | 50,000,000 | 0.054% | > 0.10% | 0.3159 | Pass |
| d7 | 15,000,000 | 0.115% | > 0.21% | 0.5237 | Pass |
| d8 | 15,000,000 | 0.118% | > 0.22% | 0.4495 | Pass |
| d10 | 15,000,000 | 0.141% | > 0.25% | 0.2587 | Pass |
| d12 | 15,000,000 | 0.113% | > 0.28% | 0.8142 | Pass |
| d14 | 15,000,000 | 0.118% | > 0.31% | 0.9028 | Pass |
| d16 | 15,000,000 | 0.183% | > 0.33% | 0.7945 | Pass |
| d20 | 50,000,000 | 0.092% | > 0.20% | 0.9271 | Pass |
| d24 | 15,000,000 | 0.327% | > 0.41% | 0.5501 | Pass |
| d30 | 15,000,000 | 0.372% | > 0.46% | 0.5377 | Pass |
| d100 | 50,000,000 | 0.397% | > 0.46% | 0.7595 | Pass |
| Fate die (dF: −, blank, +) | 15,000,000 | 0.027% | > 0.12% | 0.7652 | Pass |
Independence
| Test | Rolls | Largest deviation | Bias it would catch | p-value | Result |
|---|---|---|---|---|---|
| d6 consecutive pairs (6×6)Each roll should tell you nothing about the next. | 49,999,999 | 0.188% | > 0.28% | 0.5624 | Pass |
| d6 serial correlation, lag 1Correlation between a roll and the roll 1 later (reported as %). | 50,000,000 | 0.0062% | > 0.05% | 0.6608 | Pass |
| d6 serial correlation, lag 2Correlation between a roll and the roll 2 later (reported as %). | 50,000,000 | 0.0091% | > 0.05% | 0.5213 | Pass |
| d6 serial correlation, lag 3Correlation between a roll and the roll 3 later (reported as %). | 50,000,000 | 0.013% | > 0.05% | 0.3577 | Pass |
| d6 serial correlation, lag 4Correlation between a roll and the roll 4 later (reported as %). | 50,000,000 | 0.0052% | > 0.05% | 0.7114 | Pass |
| d6 serial correlation, lag 5Correlation between a roll and the roll 5 later (reported as %). | 50,000,000 | 0.021% | > 0.05% | 0.1304 | Pass |
| d20 consecutive pairs (20×20)Each roll should tell you nothing about the next. | 99,999,999 | 0.605% | > 0.66% | 0.5049 | Pass |
| d20 serial correlation, lag 1Correlation between a roll and the roll 1 later (reported as %). | 100,000,000 | 0.016% | > 0.03% | 0.1094 | Pass |
| d20 serial correlation, lag 2Correlation between a roll and the roll 2 later (reported as %). | 100,000,000 | 0.023% | > 0.03% | 0.0188 | Pass |
| d20 serial correlation, lag 3Correlation between a roll and the roll 3 later (reported as %). | 100,000,000 | 0.013% | > 0.03% | 0.1892 | Pass |
| d20 serial correlation, lag 4Correlation between a roll and the roll 4 later (reported as %). | 100,000,000 | 0.0086% | > 0.03% | 0.3919 | Pass |
| d20 serial correlation, lag 5Correlation between a roll and the roll 5 later (reported as %). | 100,000,000 | 0.0004% | > 0.03% | 0.9716 | Pass |
Game rules
| Test | Rolls | Largest deviation | Bias it would catch | p-value | Result |
|---|---|---|---|---|---|
| Advantage (2d20 keep highest)D&D 5e / 2024, Shadowdark. Exact P(k) = (2k − 1) / 400. | 20,000,000 | 0.433% | > 1.47% | 0.3820 | Pass |
| Disadvantage (2d20 keep lowest)Exact P(k) = (41 − 2k) / 400. | 20,000,000 | 0.237% | > 1.47% | 0.4949 | Pass |
| Ability scores (4d6 drop lowest)Exact distribution by enumerating all 1,296 outcomes. | 20,000,000 | 0.380% | > 2.65% | 0.7598 | Pass |
| 3d6Old-school ability scores, GURPS-style checks. | 20,000,000 | 0.261% | > 1.08% | 0.9452 | Pass |
| 2d6 (PbtA, Traveller)Miss 6−, weak hit 7–9, strong hit 10+. | 20,000,000 | 0.169% | > 0.44% | 0.3347 | Pass |
| Blades in the Dark (highest of 2d6)Exact P(highest = k) = (2k − 1) / 36. | 20,000,000 | 0.097% | > 0.44% | 0.2018 | Pass |
| Fate 4dFExact P from (x⁻¹ + 1 + x)⁴ / 81. | 20,000,000 | 0.112% | > 0.66% | 0.4405 | Pass |
| Exploding d6 (Savage Worlds aces)A 6 rolls again and adds. Totals of 6, 12, 18… are impossible. | 20,000,000 | 0.394% | > 1.08% | 0.3221 | Pass |
| Daggerheart Hope / Fear / CriticalDoubles 1/12, Hope higher 11/24, Fear higher 11/24. | 20,000,000 | 0.047% | > 0.24% | 0.1510 | Pass |
| Call of Cthulhu d100 (tens + units dice)Two d10s combined into 1–100. Every result equally likely. | 25,000,000 | 0.503% | > 0.65% | 0.6977 | Pass |
Controls: can the tests catch a loaded die?
These dice are biased on purpose. A good test must fail them. The first is a common programming mistake; the second is a d20 that rolls 20 just 1% more often than it should, far too little to ever notice at the table.
| Test | Rolls | Largest deviation | Bias it would catch | p-value | Result |
|---|---|---|---|---|---|
| Biased d6: random byte % 6Faces 1–4 are 2.3% more likely than 5–6. The test should FAIL this die. | 50,000,000 | 1.587% | – | 0.0e+0 | Caught |
| Loaded d20: 20 comes up 1% more oftenA bias far too small to notice at the table. The test should FAIL this die. | 50,000,000 | 0.969% | – | 2.1e-44 | Caught |
Every p-value at a glance
Each dot is one of the 38 fairness tests. Fair dice scatter their p-values across the whole line; a problem would pile up at the left, below the 0.001 failure line.
In a real browser
Your dice are rolled by your browser, so we also ran the site's dice algorithm inside Chromium 156 (Chrome/156.0.8078.100) on macOS: 25,000,000 rolls.
| Die | Rolls | Largest deviation | p-value | Result |
|---|---|---|---|---|
| d6 | 10,000,000 | 0.127% | 0.3515 | Pass |
| d20 | 10,000,000 | 0.253% | 0.5857 | Pass |
| d100 | 5,000,000 | 1.164% | 0.3569 | Pass |
What this does and doesn't prove
No finite test can prove dice are perfect. What it can do is rule out bias above a measurable size, and these samples are big enough to rule out any bias you could ever notice in play. The "bias it would catch" column shows how small a lean each test would have detected: for the d20, any face more than about 0.20% off its fair share. The loaded-d20 control shows that in practice: a 1% lean towards 20 was caught decisively. Together with how the dice are generated (a cryptographic source plus rejection sampling, which is exactly uniform by construction), that's as strong as evidence of fairness gets.
Run on 27 November 2026 with Node.js v27.0.0-alpha.0.0.0 (darwin arm64), 988,999,490 rolls in 537 seconds, plus the browser run above. Randomness: Web Crypto crypto.getRandomValues (CSPRNG) with rejection sampling. The test suite is in the site's source code as scripts/fairness.ts (npm run fairness), so it can be re-run at any time.