Dice Roller
Fair Dice for Games, RPGs & Classrooms
Lost the dice again? Roll up to ten at once — standard six-siders with real pip faces, or any polyhedral die from d4 to d100 — with totals, averages and a roll history.
8Total of 2d6 · average 4.0 per die · expected average for a d6 is 3.5
Rolls use your browser's cryptographic random source — the same grade of randomness as a fair physical die, with no server involved.
Done-for-you
Want a tool like this on your own website?
WebStore Pro builds fast Full Stack websites and custom tools that rank — designed, built and SEO-ready from day one.
Prefer email? neilsonsmarry@gmail.com · Or browse our services and free tools.
How it works
Crypto-grade randomness, checked against the maths
Every face exactly as likely as the others — and a way to prove a roll was good, bad or ordinary.
Each die is drawn from your browser's cryptographic random source, crypto.getRandomValues — not the ordinary Math.random. The roller fills a 32-bit unsigned integer, rejects any value at or above the largest multiple of the die size that fits in 32 bits, then takes the remainder modulo the sides and adds one. That rejection step matters: without it, low faces would be very slightly more likely than high ones. With it, every face of a d6 has exactly a 1-in-6 chance, every face of a d20 exactly 1-in-20, and no die influences the next.
Worked example: reading a roll, and pricing a target
Roll 3d6 and land on 4, 2 and 6: the total is 12 and the average is 12 ÷ 3 = 4.0 per die — above the d6 expected average of 3.5, so a good roll, not a suspicious one. Targets price the same way, by counting combinations. Needing 11 or more on 2d6: a total of 11 comes from 5-6 and 6-5 (2 combinations) and 12 from 6-6 alone (1) — so 3 of the 36 combinations succeed, an 8.3% chance however confident the player feels.
Three ways players misread the dice
- The gambler's fallacy. Five low rolls in a row do not make a high roll due — each roll is independent, and the history list here is a record, not a pattern.
- Comparing totals across different dice. A total of 12 is strong on 3d6 but poor on 3d20; judge every roll against its own expected average, printed under the dice.
- Expecting the average every time. 2d6 averages 7 over many rolls, yet a single roll lands exactly 7 only 16.7% of the time — the average describes the long run, not the next throw.
FAQ
Dice questions, answered
How do I roll multiple dice at once?+
Set the 'Number of dice' slider (1 to 10), pick a die type, and press Roll. The total and the per-die average are shown under the dice, and each roll is saved to the history list on the page.
What does 2d6 or 1d20 mean?+
It is dice notation from tabletop games: the number before the 'd' is how many dice, the number after is the sides. 2d6 means roll two six-sided dice and add them; 1d20 is a single twenty-sided die. This roller shows your current setup in exactly that notation.
Is an online dice roller really random?+
This one draws from your browser's cryptographic random source with rejection sampling, which produces uniformly distributed results — every face exactly as likely as the others, with no server able to influence the outcome. That is at least as fair as a physical die, which can be slightly biased by manufacturing.
What is the average roll of a die?+
For a fair die, the expected average is (sides + 1) ÷ 2: 3.5 for a d6, 10.5 for a d20, 50.5 for a d100. Two six-sided dice therefore average 7 in total. The roller displays the expected average next to your actual one so long streaks of luck stand out.
What are the odds of rolling a specific total with two dice?+
With 2d6 there are 36 equally likely combinations. 7 is the most likely total (6 combinations, 16.7%), followed by 6 and 8 (5 each, 13.9%). The extremes are rare: 2 and 12 each have exactly one combination (2.8%).
Is the Dice Roller free?+
Yes, completely free with no sign-up. Rolls happen in your browser; nothing is stored on a server.
What are the odds of rolling doubles with two dice?+
With two six-sided dice, six of the 36 equally likely combinations are doubles — 1-1 through 6-6 — so the chance is 6 ÷ 36 = 16.7%, or one roll in six. The same logic works for any die size: doubles are always 1 in the number of sides, so 1 in 20 on two d20s.
What is a d100 or percentile roll used for?+
A d100 rolls a number from 1 to 100, so the result reads directly as a percentage — roll 37 and you have landed the 37% outcome. RPG systems use it for percentile skills ('roll under your 65% chance'), and teachers use it for probability demonstrations. Its expected average is 50.5, exactly halfway.
