General
Dice Roller
Roll any combination of dice with true cryptographic randomness. Perfect for tabletop RPGs, board games, and probability experiments.
Press Space to re-roll
Click Roll or press Space
Rolls
0
Average
—
Min
—
Max
—
Roll History
No rolls yet
Probability Reference
| Die | Each Face | Avg Roll | Min | Max |
|---|---|---|---|---|
| d4 | 25% | 2.5 | 1 | 4 |
| d6 | 16.67% | 3.5 | 1 | 6 |
| d8 | 12.5% | 4.5 | 1 | 8 |
| d10 | 10% | 5.5 | 1 | 10 |
| d12 | 8.33% | 6.5 | 1 | 12 |
| d20 | 5% | 10.5 | 1 | 20 |
| d100 | 1% | 50.5 | 1 | 100 |
How does randomness work?
// Cryptographic random integer [1, faces]
const array = new Uint32Array(1);
crypto.getRandomValues(array);
result = (array[0] % faces) + 1;
Expected value of dN = (N + 1) / 2
Probability of any face = 1 / N FAQ
Frequently asked questions about dice rolling
Is this dice roller truly random?
Yes! We use crypto.getRandomValues(), a cryptographically secure random number generator built into your browser. This provides true randomness, far superior to Math.random().
What dice types are available?
We support d4, d6, d8, d10, d12, d20, and d100 (percentile). You can roll 1-10 dice of any type simultaneously and add a modifier (+/-) to the total.
Can I use this for D&D?
Absolutely! This roller is perfect for Dungeons & Dragons and other tabletop RPGs. Roll any combination of dice, add modifiers, and track your roll history for the session.
What are the odds of rolling a natural 20?
On a d20, each face has an equal 1/20 (5%) probability. The odds of rolling any specific number on a fair die are always 1 divided by the number of faces.
How do I use keyboard shortcuts?
Press Spacebar to re-roll the last dice configuration. This makes it fast to repeat rolls during gameplay without clicking.
Does this roller track statistics?
Yes, during your session we track total rolls, average result, minimum, and maximum. Roll history shows your last 20 rolls with timestamps. Data resets when you close the page.