Dice Roller
Roll virtual dice with animated results
How to Use
- Select how many dice you want to roll (1-6)
- Click the "Roll Dice" button
- Watch the dice roll with animation
- See individual results and the total sum
The sum distribution matters more than the single die
A fair d6 is uniform: each face at 1/6 ≈ 16.67%. The moment you roll more than one die, that uniformity disappears and a triangular (then bell-shaped) distribution takes over. For 2d6, the 36 equally likely outcomes collapse into sums with these probabilities: 2 → 1/36 (2.78%), 3 → 2/36, 4 → 3/36, 5 → 4/36, 6 → 5/36, 7 → 6/36 (16.67%), 8 → 5/36, 9 → 4/36, 10 → 3/36, 11 → 2/36, 12 → 1/36. That's why craps pays out the way it does — 7 is six times as likely as snake eyes. Expected value for 2d6 is 7; for 3d6 it's 10.5, and the distribution tightens toward the mean by the central limit theorem.
Two edge cases worth knowing. First, this tool returns each die independently, so if you sum six dice you're sampling a discrete near-normal with mean 21 and standard deviation ≈ 4.18 — a roll of 35 is ~3.3σ away and will look rigged even on a correct generator (expect one every ~1,000 rolls of 6d6). Second, D&D-style "advantage" (roll 2d20, keep higher) shifts the expected value from 10.5 to about 13.83, not 14 — a common rule-of-thumb mistake when people estimate character builds. The RNG here is Math.random(), fine for play; it's not the right choice if you're seeding a tournament bracket that needs to be auditable.