🎲 Dice Roller
Set the number of dice and enjoy a realistic roll!
📜 History
No history yet
📊 Statistics
Five Thousand Years of Rolling
Dice are among humanity's oldest gaming artifacts — four-sided knucklebones turn up in Mesopotamian sites from 3000 BCE, and cubic dice remarkably like today's were found in the Indus Valley. The Romans were obsessive dice gamblers (Julius Caesar's "alea iacta est" — the die is cast), and standardization eventually settled on the arrangement we still use: opposite faces sum to seven (1–6, 2–5, 3–4). Check the 3D dice above — they follow the rule.
Modern casino dice take fairness to extremes: machined to half-thousandth-of-an-inch tolerance with paint of the same density as the removed material, so every face weighs the same. This tool takes the software equivalent — results come from the browser's cryptographically secure random source (crypto.getRandomValues), not the predictable Math.random(), and the animation merely performs an outcome that's already decided.
Why Seven Rules Everything: 2d6 Math
One die is flat — each face exactly 1/6. Two dice summed form a triangle peaking at 7, which has six ways to occur (1+6 through 6+1) against a single way for 2 or 12:
| Sum | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Ways | 1 | 2 | 3 | 4 | 5 | 6 | 5 | 4 | 3 | 2 | 1 |
| Odds | 2.8% | 5.6% | 8.3% | 11.1% | 13.9% | 16.7% | 13.9% | 11.1% | 8.3% | 5.6% | 2.8% |
This one table explains half of tabletop gaming: why craps builds its entire structure around 7, why Catan's 6 and 8 hexes are prime real estate (and the robber lives on 7), and why Monopoly properties 7 squares past Jail get landed on so often. Add more dice and the sum's distribution smooths toward a bell curve — the central limit theorem in miniature. Try 10 dice above and watch the totals cluster near 35.
Reading Dice Notation
Tabletop games write dice rolls as XdY(+Z): X dice with Y faces each, plus modifier Z. So 2d6 is two six-sided dice summed; 3d6+2 adds two to the total of three. This roller is a d6 simulator — set the dice count to X and the total is computed for you. A few d6-flavored classics to try with it:
- Liar's Dice — each player rolls five dice secretly (everyone uses their own phone) and bids on how many of a face exist across all cups.
- Ship, Captain & Crew — five dice, three rolls, hunting a 6-5-4 sequence before counting cargo.
- Pig / 10,000 — press-your-luck accumulation where the history panel doubles as a scorekeeper.
- Yahtzee-style — five dice; the per-face statistics make disputes over "how many threes so far" moot.
The Stats Panel as a Probability Lab
The distribution tracker below the dice accumulates every face rolled. In the short run it looks noisy — 20% ones against 10% sixes after a few rolls is perfectly normal. Keep rolling and every face grinds toward 16.7%: the law of large numbers, live. Note what does not happen: no face "catches up" by becoming more likely. After five straight sixes, the next six is still exactly 1/6 — dice have no memory, and the ratios converge without any compensation. That distinction is the entire content of the gambler's fallacy, and watching it play out here is more convincing than any lecture.
Frequently Asked Questions
Is the roll decided by the animation?
No — the outcome is drawn from the cryptographically secure random source first, and the 3D tumble animates toward that predetermined face. Every roll is independent and unbiased.
Can it roll d20s for D&D?
This is a six-sided (d6) simulator — up to 100 of them at once with automatic totals. For polyhedral sets (d4/d8/d10/d12/d20), use a dedicated TRPG dice roller.
Does it work on phones at game night?
Yes — responsive layout, no install, opens in any mobile browser. When the real die rolls under the couch, this page is the backup.
Is anything tracked or uploaded?
No. Rolling, history, and statistics all run in your browser; refresh the page and the slate is clean.